GBR: Changed UKB member id length from 6 to 5 - 6

This commit is contained in:
Kenta420 2025-06-25 17:17:06 +07:00
parent 03156fcdc5
commit f59f17817a
3 changed files with 29 additions and 21 deletions

View file

@ -17,6 +17,7 @@
Var ErrorCause = ""
Var MAX_UKB_CODE = 6
Var MIN_UKB_CODE = 5
Var PreScaleCanculate = 100
@ -1454,7 +1455,14 @@
DEBUGVAR textLen
If textLen = MAX_UKB_CODE Then
Var validTextLength = "false"
If textLen >= MIN_UKB_CODE Then
If textLen <= MAX_UKB_CODE Then
Var validTextLength = "true"
EndIf
EndIf
If validTextLength = "true" Then
Var UKBMemberID = scanmsg