public class DataChannelDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
kByteLength |
static int |
kChannelID |
static int |
kMemoryRegister |
Constructor and Description |
---|
DataChannelDescriptor(int channelID)
standard constructor for the DeviceOperator class
|
DataChannelDescriptor(int channelID,
int memReg,
int byteLen)
standard constructor for the DeviceOperator class
|
Modifier and Type | Method and Description |
---|---|
int |
getByteLength() |
int |
getChannelID()
returns its channel
|
int |
getMemoryRegister()
returns a specific memory register
|
void |
list()
list the record
|
void |
setByteLength(int itsByteLength) |
void |
setChannelID(int channelID)
sets a channel
|
void |
setMemoryRegister(int memoryRegister)
specifies a memory register
|
java.lang.String |
toString()
report the record as a string
|
public static final int kChannelID
public static final int kMemoryRegister
public static final int kByteLength
public DataChannelDescriptor(int channelID)
public DataChannelDescriptor(int channelID, int memReg, int byteLen)
public int getChannelID()
public void setChannelID(int channelID)
channelID
- the channel to usepublic int getMemoryRegister()
public void setMemoryRegister(int memoryRegister)
memoryRegister
- memory register to usepublic java.lang.String toString()
toString
in class java.lang.Object
public void list()
public int getByteLength()
public void setByteLength(int itsByteLength)
RH, 2017