0
我試圖創建使用openiso8583 library創建ISO 8583消息
它不具有場17號(日,捕獲),所以我需要擴展類的ISO 8583的消息。有一個在維基頁面引用用於擴展消息
https://code.google.com/p/openiso8583net/wiki/ExtendingIso8583
Protected Overrides Function CreateField(fieldid As Integer) As IField
If fieldid = 17 Then
Return New Field(fieldid, New Field(fieldid, New FieldDescriptor(4, FieldValidator.FieldValidators.Numeric, Formatter.Formatters.Bcd,adjuster)
Else
Return MyBase.CreateField(fieldid)
End If
End Function
去除不需要的信息; – Rizier123 2015-03-06 10:05:38