|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessImageImplementation
Interface defining implementation specific details of the ProcessImage, adding mechanisms for creating and modifying the actual "process image".
| Field Summary | |
|---|---|
static byte |
DIG_FALSE
Defines the unset state (i.e. |
static byte |
DIG_INVALID
Defines the invalid state of a digital input or output. |
static byte |
DIG_TRUE
Defines the set state (i.e. |
| Method Summary | |
|---|---|
void |
addDigitalIn(DigitalIn di)
Adds a new DigitalIn instance. |
void |
addDigitalOut(DigitalOut _do)
Adds a new DigitalOut instance. |
void |
addInputRegister(InputRegister reg)
Adds a new InputRegister instance. |
void |
addRegister(Register reg)
Adds a new Register instance. |
void |
removeDigitalIn(DigitalIn di)
Removes a given DigitalIn instance. |
void |
removeDigitalOut(DigitalOut _do)
Removes a given DigitalOut instance. |
void |
removeInputRegister(InputRegister reg)
Removes a given InputRegister instance. |
void |
removeRegister(Register reg)
Removes a given Register instance. |
void |
setDigitalIn(int ref,
DigitalIn di)
Sets a new DigitalIn instance at the given reference. |
void |
setDigitalOut(int ref,
DigitalOut _do)
Sets a new DigitalOut instance at the given reference. |
void |
setInputRegister(int ref,
InputRegister reg)
Sets a new InputRegister instance at the given reference. |
void |
setRegister(int ref,
Register reg)
Sets a new Register instance at the given reference. |
| Methods inherited from interface net.wimpi.modbus.procimg.ProcessImage |
|---|
getDigitalIn, getDigitalInCount, getDigitalInRange, getDigitalOut, getDigitalOutCount, getDigitalOutRange, getInputRegister, getInputRegisterCount, getInputRegisterRange, getRegister, getRegisterCount, getRegisterRange |
| Field Detail |
|---|
static final byte DIG_TRUE
static final byte DIG_FALSE
static final byte DIG_INVALID
| Method Detail |
|---|
void setDigitalOut(int ref,
DigitalOut _do)
throws IllegalAddressException
ref - the reference as int._do - the new DigitalOut instance to be
set.
IllegalAddressException - if the reference is invalid.void addDigitalOut(DigitalOut _do)
_do - the DigitalOut instance to be
added.void removeDigitalOut(DigitalOut _do)
_do - the DigitalOut instance to be
removed.
void setDigitalIn(int ref,
DigitalIn di)
throws IllegalAddressException
ref - the reference as int.di - the new DigitalIn instance to be
set.
IllegalAddressException - if the reference is invalid.void addDigitalIn(DigitalIn di)
di - the DigitalIn instance to be
added.void removeDigitalIn(DigitalIn di)
di - the DigitalIn instance to be
removed.
void setInputRegister(int ref,
InputRegister reg)
throws IllegalAddressException
ref - the reference as int.reg - the new InputRegister instance to be
set.
IllegalAddressException - if the reference is invalid.void addInputRegister(InputRegister reg)
reg - the InputRegister instance to be
added.void removeInputRegister(InputRegister reg)
reg - the InputRegister instance to be
removed.
void setRegister(int ref,
Register reg)
throws IllegalAddressException
ref - the reference as int.reg - the new Register instance to be
set.
IllegalAddressException - if the reference is invalid.void addRegister(Register reg)
reg - the Register instance to be
added.void removeRegister(Register reg)
reg - the Register instance to be
removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||