支持读取和写入印表机配置。 更多...
Public 成员函数 | |
Configs (IComm connection) | |
必须传递一个已打开的 comm 连接,当监听来自印表机的非请求讯息时,可以保持打开状态。 更多... | |
Configs (JsonComm mgmtComm) | |
当已有的 mgmt comm 对象存在以监听管理讯息时调用此构造函数。 更多... | |
Configs (String commDescriptor) | |
当由 SDK 管理的连接被创建时调用此构造函数。 更多... | |
void | close () |
void | Dispose () |
List< Config > | GetAllConfig () |
继承自 IConfigs.GetAllConfig | |
Config | GetConfig (int cfgNumber) |
继承自 IConfigs.GetConfig | |
boolean | SetConfig (Config Cfg) |
继承自 IConfigs.SetConfig | |
Protected 成员函数 | |
void | Dispose (boolean disposing) |
void | finalize () throws Throwable |
Configs | ( | String | commDescriptor | ) |
当由 SDK 管理的连接被创建时调用此构造函数。
commDescriptor 是用于连接印表机的通信描述符。
TCP 描述符格式为:"ip" 或 "ip:port"
例如:"127.0.0.1" 或 "127.0.0.1:3007"
如果未提供端口,则使用默认值。