UniPRT SDK  v1.0.0.0
UniPRT.Sdk.LabelMaker.Interfaces.IMaxicodeMsgStructured 介面 參考文件

Maxicode 條碼數據。Maxicode 自由格式載體訊息。僅適用於模式 2 和 3。 更多...

類別UniPRT.Sdk.LabelMaker.Interfaces.IMaxicodeMsgStructured的繼承圖:
UniPRT.Sdk.LabelMaker.Interfaces.IMaxicodeData UniPRT.Sdk.LabelMaker.Interfaces.AMaxicodeMsgStructured UniPRT.Sdk.LabelMaker.PGL.MaxicodeMsgStructured UniPRT.Sdk.LabelMaker.TSPL.MaxicodeMsgStructured

屬性(properties)

string CountryCode [get, set]
 
string Data [get]
 條碼數據,包括將編碼到條碼中的主要訊息和次要訊息。
 
Enum Mode [get, set]
 用於說明條碼數據格式的模式。請參閱 MaxicodeModeEnum 以了解可能支援的模式。
 
string PostalCode [get, set]
 
string RemainingMsg [get, set]
 
string ServiceClass [get, set]
 

詳細描述

Maxicode 條碼數據。Maxicode 自由格式載體訊息。僅適用於模式 2 和 3。

模式 2、3 的「結構化載體訊息」需要郵政編碼、國家代碼和服務類別的欄位。

  • 訊息格式通常編碼如下:
    • <primaryMsg><secondaryMsg> = <postalCode>Gs<countryCode>Gs<serviceClass>Gs<secondaryMsg>EOT
  • 郵政編碼(6-9 個字元)、國家代碼(3 個數字)、服務類別(3 個數字)
    • 模式 2 = 美國:最多 9 位數字的郵政編碼(全部為數字)
    • 模式 3 = 加拿大:6 位數字的郵政編碼(字母數字) 其中:

Gs: 群組分隔符(0x1D)

  • EOT: 傳輸結束(0x04)