Helper state
This commit is contained in:
parent
eb8f09734f
commit
02eca5bd5b
8 changed files with 258 additions and 105 deletions
|
|
@ -18,6 +18,8 @@
|
|||
DEBUGVAR FromSmoothieProcess
|
||||
DEBUGVAR FromBrewingProcess
|
||||
|
||||
Var ChooseProblem = ""
|
||||
|
||||
Var show_btn_next_help = "Invisible"
|
||||
|
||||
Var Problem_Cash_State[0] = "Enable"
|
||||
|
|
@ -117,23 +119,20 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
If Seeker = "next" Then
|
||||
RootLayoutVisible 3 "hide"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
If BaseOnPageBoard = 1 Then
|
||||
Var BaseOnPageBoard = 0
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
Else
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
If BaseOnPageBoard = 1 Then
|
||||
Var BaseOnPageBoard = 0
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
Else
|
||||
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
@ -199,6 +198,8 @@
|
|||
Var Problem_Cash_State[2] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Inserted money, amount unchanged"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -220,6 +221,8 @@
|
|||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Bill was rejected by the machine"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -240,6 +243,8 @@
|
|||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Other"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -306,6 +311,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Found a foreign object"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -332,6 +339,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Some ingredients missing"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -358,6 +367,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Under-filled cup"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -384,6 +395,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Wrong item received"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -410,6 +423,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Drink wasn’t blended"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -436,6 +451,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Drink didn’t dissolve properly"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -462,6 +479,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Cup is messy/dirty"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -488,6 +507,8 @@
|
|||
Var Problem_Brewing_State[8] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "The cup tipped over / drink spilled"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -514,6 +535,8 @@
|
|||
Var Problem_Brewing_State[8] = "PressForever"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Other"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
|
|
@ -625,28 +648,30 @@
|
|||
<Height> "auto" </Height>
|
||||
<State> FromSmoothieProcess </State>
|
||||
|
||||
;<Button>
|
||||
;<X> 0 </X>
|
||||
;<Y> 0 </Y>
|
||||
;<State> Problem_Process_State[0] </State>
|
||||
;<Filename> "ROOT/taobin_project/image/page_help_center/cb_uncheck_problem.png" </Filename>
|
||||
;<FilenamePress> "ROOT/taobin_project/image/page_help_center/cb_checked_problem.png" </FilenamePress>
|
||||
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
;<Volume> SoundVolume </Volume>
|
||||
;<EventClick>
|
||||
|
||||
;Var Problem_Process_State[0] = "PressForever"
|
||||
;Var Problem_Process_State[1] = "Enable"
|
||||
|
||||
;Var show_btn_next_help = "Enable"
|
||||
|
||||
;Var ChooseProblem = "Item not received"
|
||||
|
||||
;Refresh
|
||||
;</EventClick>
|
||||
;</Button>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<State> Problem_Process_State[0] </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_help_center/cb_uncheck_problem.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_help_center/cb_checked_problem.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var Problem_Process_State[0] = "PressForever"
|
||||
Var Problem_Process_State[1] = "Enable"
|
||||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
<X> 0 </X>
|
||||
<Y> 100 </Y>
|
||||
<State> Problem_Process_State[1] </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_help_center/cb_uncheck_problem.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_help_center/cb_checked_problem.png" </FilenamePress>
|
||||
|
|
@ -659,24 +684,26 @@
|
|||
|
||||
Var show_btn_next_help = "Enable"
|
||||
|
||||
Var ChooseProblem = "Other"
|
||||
|
||||
Refresh
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> 100 </X>
|
||||
<Y> 0 </Y>
|
||||
<Width> 500 </Width>
|
||||
<Height> 75 </Height>
|
||||
<State> Problem_Process_State[0] </State>
|
||||
<Language>
|
||||
<ID> 002312 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
;<Text>
|
||||
;<X> 100 </X>
|
||||
;<Y> 0 </Y>
|
||||
;<Width> 500 </Width>
|
||||
;<Height> 75 </Height>
|
||||
;<State> Problem_Process_State[0] </State>
|
||||
;<Language>
|
||||
;<ID> 002312 </ID>
|
||||
;</Language>
|
||||
;</Text>
|
||||
|
||||
<Text>
|
||||
<X> 100 </X>
|
||||
<Y> 100 </Y>
|
||||
<Y> 0 </Y>
|
||||
<Width> 500 </Width>
|
||||
<Height> 75 </Height>
|
||||
<State> Problem_Process_State[1] </State>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue