1080 1312 "ROOT/image/BG_Menu_Point_Page2.bmp" SoundVolume
; On open
Var Timeout = 0
Var Point1_State = "Disable"
Var Point2_State = "Disable"
Var Point3_State = "Disable"
Var Point4_State = "Disable"
Var Point5_State = "Disable"
Var Point6_State = "Disable"
Var Point7_State = "Disable"
Var Point8_State = "Disable"
Var Point9_State = "Disable"
Var Point10_State = "Disable"
If CoffeePoint >= 1 Then
Var Point1_State = "Enable"
EndIf
If CoffeePoint >= 2 Then
Var Point2_State = "Enable"
EndIf
If CoffeePoint >= 3 Then
Var Point3_State = "Enable"
EndIf
If CoffeePoint >= 4 Then
Var Point4_State = "Enable"
EndIf
If CoffeePoint >= 5 Then
Var Point5_State = "Enable"
EndIf
If CoffeePoint >= 6 Then
Var Point6_State = "Enable"
EndIf
If CoffeePoint >= 7 Then
Var Point7_State = "Enable"
EndIf
If CoffeePoint >= 8 Then
Var Point8_State = "Enable"
EndIf
If CoffeePoint >= 9 Then
Var Point9_State = "Enable"
EndIf
If CoffeePoint >= 10 Then
Var Point10_State = "Enable"
EndIf
Var BmiYear = "0/0/0/1/0/0"
Var PointCrm = "pdpa1"
Var GetScore = ""
AddData 4 TelephoneNumber BmiYear PointCrm GetScore
Var CoffeePointStr = CoffeePoint
1000
;Open "ROOT/xml/menu_board.xml"
Var Timeout = Timeout + 1
If Timeout > 20 Then
Open "ROOT/xml/menu_page5.xml"
EndIf
TimerReset
Refresh
310 315 474 Center 50
fontType1
0xF0E000 TelephoneNumber Telnum 500 410 50 Center 35
fontType1
0x000000 CoffeePointStr
Open "/media/bt/xml/security_alarm.xml"
If MachineStage = "drink-success" Then
Var MachineState_Result = 1
EndIf
If MachineStage = "drink-failed" Then
Var MachineState_Result = 1
EndIf