public abstract class QCPLCBit extends QCBit
Modifier and Type | Class and 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 and 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 and Description |
---|---|
static QCPLCBit |
createQCPLCBit(java.lang.String thingType,
java.lang.String bitType,
byte[] data) |
int |
getNumberOfPLCs() |
long[] |
getPlcValA() |
long[] |
getPlcValB() |
int[] |
getPreData() |
int |
getTypeOfPLCS() |
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 © 2005-2010 Potix Corporation. All Rights Reserved.