Denso BHT-200QW Specifikace Strana 129

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 377
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 128
- 127 -
GetChkDigit
Calculates the check digit for the barcode data based on the specified calculation algorithm.
Syntax
[VB]
Public Shared Function GetChkDigit(ByVal bardata As String, _
ByVal type As Char) As Integer
[C#]
public static int GetChkDigit(string bardata, char type)
Parameters
bardata
[in] Barcode data
type
[in] Check digit type
Code Type Type
Calculation Method
EAN(JAN), UPC 'A' MOD10
ITF 'I' MOD10
STF (BHT-200B only) 'H' MOD10
CODABAR (NW-7) 'N' MOD16
CODE-39 'M' MOD43
MSI (BHT-200B only) 'P' MOD10
Return value
Calculated check digit
Exceptions
Name of Exception Meaning
ArgumentException
The barcode data is invalid, or
the specified check digit type is invalid.
Zobrazit stránku 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 376 377

Komentáře k této Příručce

Žádné komentáře