public SIQ(byte[] asduBytes, int offset) { byte b = asduBytes[offset]; this.spi = (b & 0x01) == 0x01; this.qd = new QualityDescriptorNibble(asduBytes, offset); }
public DIQ(byte[] asduBytes, int offset) { byte b = asduBytes[offset]; this.dpi = (DpiState)(b & 0x03);//2 bytes //skip 2 bytes this.qd = new QualityDescriptorNibble(asduBytes, offset); }
public QDS(byte[] asduBytes, int offset) { this.ov = (asduBytes[offset] & 0x01) == 0x01; this.qd = new QualityDescriptorNibble(asduBytes, offset); }