2using System.Collections.Generic;
 
   47        public byte Type { 
get; 
set; }
 
   90            List<Field> Fields = 
new List<Field>();
 
   92            return Fields.ToArray();
 
  105                this.
Class.ToString(
"X2") + 
" " + 
this.Type.ToString(
"X2") + 
", Raw",
 
  106                Convert.ToBase64String(
this.RawValue), 
FieldType.Identity,
 
  115            return Convert.ToBase64String(this.
RawValue);
 
  122        public void Append(StringBuilder SnifferOutput)
 
  124            SnifferOutput.Append(
"Class ");
 
  125            SnifferOutput.Append(this.
Class.ToString());
 
  126            SnifferOutput.Append(
", Type ");
 
  127            SnifferOutput.Append(this.
Type.ToString());
 
  128            SnifferOutput.Append(
", ");
 
Contains methods for simple hash calculations.
static string BinaryToString(byte[] Data)
Converts an array of bytes to a string with their hexadecimal representations (in lower case).
IEEE 1451.0 Binary object
Contains parsing information.
Represents one record in a TEDS
TedsRecord(byte Class, byte Type, byte[] Raw)
Represents one record in a TEDS
virtual TedsRecord Parse(ClassTypePair RecordTypeId, Binary RawValue, ParsingState State)
Parses a TEDS record.
byte[] RawValue
TEDS Raw Record value
virtual void AddFields(ThingReference Thing, DateTime Timestamp, List< Field > Fields, Teds Teds)
Adds fields to a collection of fields.
virtual Grade Supports(ClassTypePair RecordTypeId)
How well the class supports a specific TEDS field type.
byte Type
TEDS Record Type
TedsRecord()
Represents one record in a TEDS
Field[] GetFields(ThingReference Thing, DateTime Timestamp, Teds Teds)
Gets the information in the record, as an array of fields.
override string ToString()
Object.ToString()
virtual void AppendDetails(StringBuilder SnifferOutput)
Appends record details to sniffer output.
void Append(StringBuilder SnifferOutput)
Appends record to sniffer output.
byte Class
This field identifies the TEDS being accessed. The value is the TEDS access code found in Table 72.
Base class for all sensor data fields.
Represents a string value.
Contains a reference to a thing
Basic interface for TEDS field types.
FieldQoS
Field Quality of Service flags
FieldType
Field Type flags
Identifies a Field Type in a TEDS.
byte Type
Field Type in class.