|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectonbon.bx06.cmd.tcp.SetupAddressCmd
public final class SetupAddressCmd
设定网路位址与运行方式。
Constructor Summary | |
---|---|
SetupAddressCmd()
建构子。 |
Method Summary | |
---|---|
Bx6GResponseCmd<onbon.bx06.message.global.ACK> |
accept(Bx6GController controller)
利用指定控制器进行请求发送与回应处理。 |
int |
getMode()
取得控制器连接模式。 0:单机直连(PC 与控制器直接连接)。 1:自动获取(DHCP)。 2:手动设置(Static IP)。 3:服务器模式(动态IP)。 |
onbon.bx06.message.tcp.EthernetSetIP.ServerSetting |
getServerSetting()
取得服务器模式位址组态。 |
onbon.bx06.message.tcp.EthernetSetIP.StaticSetting |
getStaticSetting()
取得静态位址组态。 |
void |
setMode(int mode)
设置控制器连接模式。 0:单机直连(PC 与控制器直接连接)。 1:自动获取(DHCP)。 2:手动设置(Static IP)。 3:服务器模式(动态IP)。 |
void |
setServerSetting(onbon.bx06.message.tcp.EthernetSetIP.ServerSetting serverSetting)
设定服务器模式位址组态。 |
void |
setStaticSetting(onbon.bx06.message.tcp.EthernetSetIP.StaticSetting staticSetting)
设定静态位址组态。 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetupAddressCmd()
Method Detail |
---|
public int getMode()
public void setMode(int mode)
mode
- 控制器连接模式。public onbon.bx06.message.tcp.EthernetSetIP.StaticSetting getStaticSetting()
public void setStaticSetting(onbon.bx06.message.tcp.EthernetSetIP.StaticSetting staticSetting)
staticSetting
- 静态位址组态。public onbon.bx06.message.tcp.EthernetSetIP.ServerSetting getServerSetting()
public void setServerSetting(onbon.bx06.message.tcp.EthernetSetIP.ServerSetting serverSetting)
serverSetting
- 服务器模式位址组态。public Bx6GResponseCmd<onbon.bx06.message.global.ACK> accept(Bx6GController controller)
Bx6GRequestCmd
accept
in interface Bx6GRequestCmd<onbon.bx06.message.global.ACK>
controller
- 控制器。
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |