Documentation ¶
Index ¶
Constants ¶
View Source
const ( FELICA_POLLING_NICEPASS = uint16(C.FELICA_POLLING_NICEPASS) // nice-passシステムコード FELICA_SC_NICEPASS_ATTR = uint16(C.FELICA_SC_NICEPASS_ATTR) // nice-pass属性情報・サービスコード FELICA_SC_NICEPASS_VALUE = uint16(C.FELICA_SC_NICEPASS_VALUE) // nice-pass利用履歴データ・サービスコード )
Variables ¶
View Source
var SystemCodes = map[uint16]string{ FELICA_POLLING_NICEPASS: "nice-pass", }
システムコード・リスト
Functions ¶
This section is empty.
Types ¶
type Nicepass ¶
type Nicepass struct { Attr NicepassAttr // 属性情報 Hist []*NicepassValue // 利用履歴 // contains filtered or unexported fields }
nice-pass/遠州鉄道
type NicepassAmount ¶
type NicepassAmount struct { Charge int // チャージ金額残額 Premium struct { Kind int // プレミアム残額種別 Amount int // プレミアム残額 } }
nice-pass残額
type NicepassAttr ¶
type NicepassAttr struct { Amounts []NicepassAmount // 残額1~4 Date time.Time // 利用日 InTime time.Time // 乗車時刻 OutTime time.Time // 降車時刻 Type int // 端末種 Proc int // 処理 Use int // 直近利用金額(支払いはマイナス) Balance int // 直近残額 InStation int // 乗車駅 OutStation int // 降車駅 No int // 取引通番 Raw [][]byte // Rawデータ }
nice-pass属性情報データ
Click to show internal directories.
Click to hide internal directories.