QCPLCBit.Type0
, QCPLCBit.Type12
, QCPLCBit.Type4
, QCPLCBit.Type8
public abstract class QCPLCBit extends QCBit
Modifier and Type | Class | Description |
---|---|---|
static class |
QCPLCBit.Type0 |
Type 0 seem to be somewhat rare.
|
static class |
QCPLCBit.Type12 |
Type 12 holds hyperlinks, and is very complex.
|
static class |
QCPLCBit.Type4 |
Type 4 is quite common.
|
static class |
QCPLCBit.Type8 |
Type 8 is quite common.
|
Modifier and Type | Field | Description |
---|---|---|
protected int |
numberOfPLCs |
|
protected long[] |
plcValA |
The first value of each PLC, normally 4 bytes
|
protected long[] |
plcValB |
The second value of each PLC, normally 4 bytes
|
protected int[] |
preData |
The data which goes before the main PLC entries.
|
protected int |
typeOfPLCS |
Modifier and Type | Method | Description |
---|---|---|
static QCPLCBit |
createQCPLCBit(java.lang.String thingType,
java.lang.String bitType,
byte[] data) |
|
int |
getNumberOfPLCs() |
|
long[] |
getPlcValA() |
|
long[] |
getPlcValB() |
|
int[] |
getPreData() |
|
int |
getTypeOfPLCS() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBitType, getData, getDataOffset, getLength, getOptA, getOptB, getOptC, getThingType, setDataOffset, setOptA, setOptB, setOptC
protected int numberOfPLCs
protected int typeOfPLCS
protected int[] preData
protected long[] plcValA
protected long[] plcValB
public int getNumberOfPLCs()
public int getTypeOfPLCS()
public int[] getPreData()
public long[] getPlcValA()
public long[] getPlcValB()
public static QCPLCBit createQCPLCBit(java.lang.String thingType, java.lang.String bitType, byte[] data)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.