Пример #1
0
 public CemiFrame(MessageCodes messageCode, Control1Flags control1, Control2Flags control2, IndividualAddress sourceAddress, GroupAddress destinationAddress, byte dataLength, ushort apdu, ArraySegment <byte> data)
 {
     MessageCode        = messageCode;
     Control1           = control1;
     Control2           = control2;
     SourceAddress      = sourceAddress;
     DestinationAddress = destinationAddress;
     DataLength         = dataLength;
     Apdu = apdu;
     Data = data;
 }
Пример #2
0
 public CemiFrame(MessageCodes messageCode, Control1Flags control1, Control2Flags control2, IndividualAddress sourceAddress, GroupAddress destinationAddress, byte dataLength, ushort apdu)
     : this(messageCode, control1, control2, sourceAddress, destinationAddress, dataLength, apdu, new ArraySegment <byte>())
 {
 }