|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectonbon.bx06.Bx6GController
onbon.bx06.Bx6GControllerRS
public final class Bx6GControllerRS
BX5G RS232 控制器。
| 嵌套类摘要 |
|---|
| 从类 onbon.bx06.Bx6GController 继承的嵌套类/接口 |
|---|
Bx6GController.RunMode |
| 字段摘要 |
|---|
| 从类 onbon.bx06.Bx6GController 继承的字段 |
|---|
bx6Card, header, pingStatus, screenProfile, series, TIMEOUT |
| 构造方法摘要 | |
|---|---|
Bx6GControllerRS(String aliasName,
Bx6Card bx6Card)
建构子。 |
|
| 方法摘要 | |
|---|---|
boolean |
connect(String comName,
int baudrate,
int dataBits,
int stopBits,
int parity)
連線。 |
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)
执行命令。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public Bx6GControllerRS(String aliasName,
Bx6Card bx6Card)
aliasName - 别名。bx6Card - BX6 系列控制器。| 方法详细信息 |
|---|
public boolean connect(String comName,
int baudrate,
int dataBits,
int stopBits,
int parity)
throws Bx6GException
comName - COM 名稱。baudrate - 波特率。dataBits - 位元数。stopBits - 停止位元。parity - 同位檢查。
Bx6GCommException - 连线发生错误。
Bx6GExceptionpublic String getName()
Bx6GController 复制的描述
Bx6GController 中的 getNamepublic Bx6GController.RunMode getRunMode()
Bx6GController 复制的描述
Bx6GController 中的 getRunModepublic boolean isConnected()
Bx6GController 复制的描述
Bx6GController 中的 isConnectedpublic void disconnect()
Bx6GController 复制的描述
Bx6GController 中的 disconnect
public byte[] send(onbon.bx06.message.Bx06MessageHeader header,
onbon.bx06.message.Request req,
String uiaID)
Bx6GController 复制的描述
Bx6GController 中的 sendheader - 讯息表头。req - 命令。uiaID - 命令编号。
public byte[] send(onbon.bx06.message.Request req,
String uiaID)
Bx6GController 复制的描述
Bx6GController 中的 sendreq - 命令。uiaID - 命令编号。
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||