UniPRT SDK  v1.0.0.0
IMaxicodeMsgStructuredOpenSystemStandard 介面 參考文件

Maxicode 條碼數據。Maxicode 開放系統標準承載讯息。僅適用於模式 2 和 3。 更多...

類別IMaxicodeMsgStructuredOpenSystemStandard的繼承圖:
IMaxicodeData AMaxicodeMsgStructuredOpenSystemStandard MaxicodeMsgStructuredOpenSystemStandard MaxicodeMsgStructuredOpenSystemStandard

公開方法(Public Methods)

String GetCountryCode ()
 
String GetData ()
 條碼數據,包括要編碼在條碼中的主要讯息和次要讯息。
 
MaxicodeModeEnum GetMode ()
 用於說明條碼數據格式的模式。請參見MaxicodeModeEnum以獲取支持的模式。
 
String GetPostalCode ()
 
String GetRemainingMsg ()
 
String GetServiceClass ()
 
String GetYear ()
 
void SetCountryCode (String countryCode)
 
void SetMode (MaxicodeModeEnum mode)
 
void SetPostalCode (String postalCode)
 
void SetRemainingMsg (String remainingMsg)
 
void SetServiceClass (String serviceClass)
 
void SetYear (String year)
 

詳細描述

Maxicode 條碼數據。Maxicode 開放系統標準承載讯息。僅適用於模式 2 和 3。

開放系統標準承載讯息格式通常以 "[)><Rs>01<Gs>" 前綴編碼到條碼中,如下所示:
"[)>"<Rs>"01"<Gs><yy><PostalCode><Gs><CountryCode><Gs><ServiceClass><Gs><RemainingMsg><Rs><EOT>
說明:

  • yy:2 位年份(數字)
  • Rs:記錄分隔符(0x1E)
  • Gs:組分隔符(0x1D)
  • EOT:傳輸結束(0x04)