2using System.Collections.Generic;
35 return RecordTypeId.Class == 3 && RecordTypeId.Type == 41 ? Grade.Perfect :
Grade.NotAtAll;
47 State.SampleDefinition.DataModelLength =
RawValue.NextUInt8(
null);
78 SnifferOutput.Append(
"DataModelLength=");
79 SnifferOutput.AppendLine(this.DataModelLength.ToString());
IEEE 1451.0 Binary object
Contains parsing information.
SampleDefinition SampleDefinition
Sample Definition
TEDS Sample definition data model length (§6.5.2.25)
override void AppendDetails(StringBuilder SnifferOutput)
Appends record details to sniffer output.
override Grade Supports(ClassTypePair RecordTypeId)
How well the class supports a specific TEDS field type.
byte DataModelLength
Sample definition Data model length.
SampleDefinitionDataModelLength()
TEDS Sample definition data model length (§6.5.2.25)
override TedsRecord Parse(ClassTypePair RecordTypeId, Binary RawValue, ParsingState State)
Parses a TEDS record.
override void AddFields(ThingReference Thing, DateTime Timestamp, List< Field > Fields, Teds Teds)
Adds fields to a collection of fields.
Represents one record in a TEDS
byte[] RawValue
TEDS Raw Record value
byte Type
TEDS Record Type
byte Class
This field identifies the TEDS being accessed. The value is the TEDS access code found in Table 72.
Contains a reference to a thing
byte DataModelLength
Data model length. (§6.5.2.25)
Identifies a Field Type in a TEDS.
byte Type
Field Type in class.