Add ERR and popup
This commit is contained in:
parent
01a523d214
commit
8b72015e2f
28 changed files with 5162 additions and 622 deletions
|
|
@ -144,15 +144,38 @@
|
|||
out_xml( '\t\tVar PD_STAGE_2 = ' + pd_stage2 + '\r\n')
|
||||
out_xml( '\t\tVar PD_STAGE_3 = ' + pd_stage3 + '\r\n')
|
||||
|
||||
|
||||
out_xml( '\t\tVar SelectCountDrinkType = 0\r\n')
|
||||
out_xml( '\t\tVar DefaultDrinkType = 0\r\n')
|
||||
|
||||
out_xml( '\t\tIf PD_STAGE_1 = "Enable" Then\r\n')
|
||||
out_xml( '\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\r\n')
|
||||
out_xml( '\t\t\tVar DefaultDrinkType = 1\r\n')
|
||||
out_xml( '\t\tEndIf\r\n')
|
||||
|
||||
|
||||
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
|
||||
out_xml( '\t\t\tVar PD_STAGE_2 = "PressForever"\r\n')
|
||||
out_xml( '\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\r\n')
|
||||
out_xml( '\t\t\tVar DefaultDrinkType = 2\r\n')
|
||||
out_xml( '\t\tEndIf\r\n')
|
||||
|
||||
|
||||
out_xml( '\t\tIf PD_STAGE_3 = "Enable" Then\r\n')
|
||||
out_xml( '\t\t\tVar SelectCountDrinkType = SelectCountDrinkType + 1\r\n')
|
||||
out_xml( '\t\t\tVar DefaultDrinkType = 3\r\n')
|
||||
out_xml( '\t\tEndIf\r\n')
|
||||
|
||||
|
||||
|
||||
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
|
||||
#out_xml( '\t\t\tVar PD_STAGE_2 = "Enable"\r\n')
|
||||
out_xml( '\t\t\tTopping "Load" "'+ spl[5] +'"\r\n')
|
||||
out_xml( '\t\tElse\r\n')
|
||||
out_xml( '\t\t\tIf PD_STAGE_1 = "Enable" Then\r\n')
|
||||
out_xml( '\t\t\t\tVar PD_STAGE_1 = "PressForever"\r\n')
|
||||
#out_xml( '\t\t\t\tVar PD_STAGE_1 = "Enable"\r\n')
|
||||
out_xml( '\t\t\tTopping "Load" "'+ spl[4] +'"\r\n')
|
||||
out_xml( '\t\t\tElse\r\n')
|
||||
out_xml( '\t\t\t\tVar PD_STAGE_3 = "PressForever"\r\n')
|
||||
#out_xml( '\t\t\t\tVar PD_STAGE_3 = "Enable"\r\n')
|
||||
out_xml( '\t\t\tTopping "Load" "'+ spl[6] +'"\r\n')
|
||||
out_xml( '\t\t\tEndIf\r\n')
|
||||
out_xml( '\t\tEndIf\r\n')
|
||||
|
|
@ -366,6 +389,23 @@
|
|||
out_xml( '\t<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>\r\n')
|
||||
out_xml( '\t<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>\r\n')
|
||||
out_xml( '\t</Image>\r\n')
|
||||
|
||||
out_xml( '\t<Image>\r\n')
|
||||
out_xml( '\t<X> 49 </X>\r\n')
|
||||
out_xml( '\t<Y> 117 </Y>\r\n')
|
||||
out_xml( '\t<State> \r\n')
|
||||
out_xml( '\t\teval( \r\n')
|
||||
out_xml( '\t\t\tSTRCONTAIN "ERR" $' + pd_code_1 + '.TAG tag_is_disable\r\n')
|
||||
out_xml( '\t\t\tIf tag_is_disable = "true" Then\r\n')
|
||||
out_xml( '\t\t\t\tVar return = "Enable"\r\n')
|
||||
out_xml( '\t\t\tElse\r\n')
|
||||
out_xml( '\t\t\t\tVar return = "Invisible"\r\n')
|
||||
out_xml( '\t\t\tEndIf\r\n')
|
||||
out_xml( '\t\t)\r\n')
|
||||
out_xml( '\t</State>\r\n')
|
||||
out_xml( '\t<Filename> "ROOT/taobin_project/image//img_menu_err.png" </Filename>\r\n')
|
||||
out_xml( '\t</Image>\r\n')
|
||||
|
||||
out_xml( '\t<Text>\r\n')
|
||||
out_xml( '\t<X> 84 </X>\r\n')
|
||||
out_xml( '\t<Y> 266 </Y>\r\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue