|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.Bx6GController
onbon.bx06.Bx6GControllerClient
public final class Bx6GControllerClient
BX6G TCP 控制器。
Nested Class Summary |
---|
Nested classes/interfaces inherited from class onbon.bx06.Bx6GController |
---|
Bx6GController.RunMode |
Field Summary |
---|
Fields inherited from class onbon.bx06.Bx6GController |
---|
bx6Card, header, pingStatus, screenProfile, series, TIMEOUT |
Constructor Summary | |
---|---|
Bx6GControllerClient(String aliasName,
Bx6Card bx6Card)
建构子。 |
Method Summary | |
---|---|
boolean |
connect(String address,
int port)
启动。 |
void |
disconnect()
中断连线。 |
String |
getName()
取得名称。 |
Bx6GController.RunMode |
getRunMode()
取得运行模式。 |
boolean |
isConnected()
取得是否连线。 |
byte[] |
send(onbon.bx06.message.Bx06MessageHeader header,
onbon.bx06.message.Request req,
String uiaID)
执行命令。 |
byte[] |
send(onbon.bx06.message.Request req,
String uiaID)
执行命令。 |
Methods inherited from class onbon.bx06.Bx6GController |
---|
createFileReader, createFileReader, createFileWriter, createFileWriter, execute, execute, genTxId, getControllerAddress, getHeader, getOutputBuffer, getScreenProfile, getSeries, isConfigured, ping, setControllerAddress, toString, updatePingStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Bx6GControllerClient(String aliasName, Bx6Card bx6Card)
aliasName
- 别名。bx6Card
- BX6 系列控制器。Method Detail |
---|
public boolean connect(String address, int port) throws Bx6GException
address
- 位址。port
- 通讯埠。
Bx6GCommException
- 通讯異常。
Bx6GException
public String getName()
Bx6GController
getName
in class Bx6GController
public Bx6GController.RunMode getRunMode()
Bx6GController
getRunMode
in class Bx6GController
public boolean isConnected()
Bx6GController
isConnected
in class Bx6GController
public void disconnect()
Bx6GController
disconnect
in class Bx6GController
public byte[] send(onbon.bx06.message.Bx06MessageHeader header, onbon.bx06.message.Request req, String uiaID)
Bx6GController
send
in class Bx6GController
header
- 讯息表头。req
- 命令。uiaID
- 命令编号。
public byte[] send(onbon.bx06.message.Request req, String uiaID)
Bx6GController
send
in class Bx6GController
req
- 命令。uiaID
- 命令编号。
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |