公開方法(Public Methods) | |
MgmtMsg () | |
MgmtMsg (String mgmtMsg) | |
所有從完整管理/JSON 訊息中創建的欄位。 更多... | |
String | toString () |
這是命令結構的 JSON 格式等價物。 更多... | |
公開屬性 | |
String | Command = "" |
發送到印表機的管理命令或從印表機接收的回應。 更多... | |
String | From = "" |
用於識別訊息的發送者。如果印表機發送回應,這將在回應的 To 欄位中。 更多... | |
String | To = "" |
用於識別預期的訊息接收者。如果這是回應,則這是原始訊息中的 From 欄位。 更多... | |
String | TrackNo = "" |
這可以設置為任何值,但為了區分發送給同一接收者的訊息,每個訊息的值應該是唯一的。 更多... | |
String | Content = "" |
這是依賴於命令的內容/數據。呼叫者負責創建/解析正確的 JSON 格式。 更多... | |
com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg | ( | ) |
com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg | ( | String | mgmtMsg | ) |
String com.UniPRT.Sdk.Mgmt.MgmtMsg.toString | ( | ) |
String com.UniPRT.Sdk.Mgmt.MgmtMsg.Command = "" |
發送到印表機的管理命令或從印表機接收的回應。
被參考於 com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), 及 com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.Content = "" |
這是依賴於命令的內容/數據。呼叫者負責創建/解析正確的 JSON 格式。
被參考於 com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), 及 com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.From = "" |
用於識別訊息的發送者。如果印表機發送回應,這將在回應的 To 欄位中。
被參考於 com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), 及 com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.To = "" |
用於識別預期的訊息接收者。如果這是回應,則這是原始訊息中的 From 欄位。
被參考於 com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), 及 com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.TrackNo = "" |
這可以設置為任何值,但為了區分發送給同一接收者的訊息,每個訊息的值應該是唯一的。
被參考於 com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), com.UniPRT.Sdk.Mgmt.Messenger.SendMsgAndWaitForResponse(), 及 com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().