Do
This commit is contained in:
parent
59eeaa2f74
commit
e3aa755924
9 changed files with 604 additions and 10 deletions
|
|
@ -241,6 +241,9 @@
|
|||
DEBUGVAR DrinkImageOnArm[DrinkArmCupID]
|
||||
DEBUGVAR DrinkNameOnArm[DrinkArmCupID]
|
||||
|
||||
Var TextDoorJamStage = "Invisible"
|
||||
Var CountUpDoorJamAlert = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 500 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
@ -407,9 +410,38 @@
|
|||
If txtDrinkOKState = "Enable" Then
|
||||
Var TextBottomShow = "Invisible"
|
||||
Else
|
||||
Var TextBottomShow = "Enable"
|
||||
;Var TextBottomShow = "Enable"
|
||||
EndIf
|
||||
|
||||
If DOOR_CUP_OPEN_ERROR = "true" Then
|
||||
Var CountUpDoorJamAlert = CountUpDoorJamAlert + 1
|
||||
EndIf
|
||||
If DOOR_CUP_CLOSE_ERROR = "true" Then
|
||||
Var CountUpDoorJamAlert = CountUpDoorJamAlert + 1
|
||||
EndIf
|
||||
If CountUpDoorJamAlert > 0 Then
|
||||
DEBUGVAR CountUpDoorJamAlert
|
||||
EndIf
|
||||
|
||||
If CountUpDoorJamAlert > 8 Then
|
||||
DEBUGVAR DOOR_CUP_OPEN_ERROR
|
||||
DEBUGVAR DOOR_CUP_CLOSE_ERROR
|
||||
Var TextBottomShow = "Invisible"
|
||||
Var TextDoorJamStage = "Enable"
|
||||
EndIf
|
||||
|
||||
If CountUpDoorJamAlert > 50 Then
|
||||
Var CountUpDoorJamAlert = 1
|
||||
Var TextBottomShow = "Enable"
|
||||
Var TextDoorJamStage = "Invisible"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var TextDoorJamString = " Door Error. "
|
||||
Else
|
||||
Var TextDoorJamString = " ประตูมีปัญหา "
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
TimerReset
|
||||
|
|
@ -485,6 +517,18 @@
|
|||
<Filename> text_bottom </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1418 </Y>
|
||||
<Size> 87 </Size>
|
||||
<Align> Center </Align>
|
||||
<Color> 0xff0303 </Color>
|
||||
<Font> KanitLightTTF </Font>
|
||||
<State> TextDoorJamStage </State>
|
||||
<Value> TextDoorJamString </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
||||
<Text>
|
||||
<X> 757 </X>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue