Jonvy

导航

条码规则中的YEAR与SHORTYEAR

以下YEAR_VW Computing base,

value

symbol

"0"
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"A"
"B"
"C"
"D"
"E"
"F"
"G"
"H"
"I"
"J"
"K"
"L"
"M"
"N"
"O"
"P"
"Q"
"R"
"S"
"T"
"U"

"0"
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"A"
"B"
"C"
"D"
"E"
"F"
"G"
"H"
"J"
"K"
"L"
"M"
"N"
"P"
"Q"
"R"
"S"
"T"
"V"
"W"
"Y"

场景1.

选用如下规则:

FAMPF|#T|SHORTYEAR,1,YEAR_VW|MONTH,1,13ABC|DAYMONTH,2,10|SERIALDAY,4,10

SHORTYEAR:按照年的后两位计数Symbol,如2022年,用22进行查表,得出Symbol未"N"

场景2.

选用如下规则:

FAMPF|#T|YEAR,1,YEAR_VW|MONTH,1,13ABC|DAYMONTH,2,10|SERIALDAY,4,10

YEAR:按照4位年计数Symbol,如2022年,用2022 mod 31,余数为7,得出Symbol未"7"

 

posted on 2022-06-13 14:51  不亮  阅读(41)  评论(0编辑  收藏  举报