예제 #1
0
            public SIQ(byte[] asduBytes, int offset)
            {
                byte b = asduBytes[offset];

                this.spi = (b & 0x01) == 0x01;
                this.qd  = new QualityDescriptorNibble(asduBytes, offset);
            }
예제 #2
0
            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);
            }
예제 #3
0
 public QDS(byte[] asduBytes, int offset)
 {
     this.ov = (asduBytes[offset] & 0x01) == 0x01;
     this.qd = new QualityDescriptorNibble(asduBytes, offset);
 }