FIX ice tab
This commit is contained in:
parent
7c15e0c9ec
commit
ae59eb36ab
9 changed files with 752 additions and 742 deletions
|
|
@ -88,15 +88,26 @@
|
|||
out_xml('\t<Width> 225 </Width>\r\n')
|
||||
out_xml('\t<Height> 296 </Height>\r\n')
|
||||
str_con = ""
|
||||
str_con_var = ""
|
||||
if spl[4] != '-':
|
||||
str_con += spl[4] + '.Button,'
|
||||
if spl[5] != '-':
|
||||
str_con += spl[5] + '.Button,'
|
||||
if spl[6] != '-':
|
||||
str_con += spl[6] + '.Button,'
|
||||
|
||||
|
||||
if spl[4] != '-':
|
||||
str_con_var += spl[4] + '-'
|
||||
if spl[5] != '-':
|
||||
str_con_var += spl[5] + '-'
|
||||
if spl[6] != '-':
|
||||
str_con_var += spl[6] + '-'
|
||||
|
||||
str_con_var = str_con_var.replace("-", "")
|
||||
if touch_less_gen == True:
|
||||
str_con += "Disable=Invisible"
|
||||
str_con += "Disable=Invisible,"
|
||||
|
||||
str_con += "$Sum" + str_con_var
|
||||
|
||||
out_xml( '\t<State> Flag( '+ str_con + ') </State> \r\n')
|
||||
|
||||
|
|
@ -122,7 +133,7 @@
|
|||
|
||||
|
||||
out_xml( '\t<Button>\r\n')
|
||||
out_xml( '\t<State> Flag( '+ str_con + ') </State> \r\n')
|
||||
out_xml( '\t<State> $Sum' + str_con_var +' </State> \r\n')
|
||||
out_xml( '\t<Filename> "' + new_default_dir + '/'+ menu_img +'" </Filename>\r\n')
|
||||
out_xml( '\t<FilenamePress> "' + new_default_dir_press + '/'+ menu_img +'" </FilenamePress>\r\n')
|
||||
out_xml( '\t<FilenameDisable> "' + new_default_dir_disable + '/'+ menu_img +'" </FilenameDisable>\r\n')
|
||||
|
|
@ -379,14 +390,16 @@
|
|||
out_xml( '\t\tIf ICE_PROCESS_STATUS = 2 Then\r\n')
|
||||
out_xml( '\t\t\r\n')
|
||||
if ice_tab_hot_show == True:
|
||||
out_xml( '\t\t\tSTRCONTAIN "LOW" $' + pd_code_1 + '.TAG tag_is_low\r\n')
|
||||
out_xml( '\t\t\tIf tag_is_low = "true" Then\r\n')
|
||||
|
||||
#out_xml( '\t\t\tDEBUGVAR $Sum' + str_con_var +'\r\n')
|
||||
out_xml( '\t\t\tIf $Sum' + str_con_var +' = "Disable" Then\r\n')
|
||||
out_xml( '\t\t\t\tVar ice_tab_process_show = "Disable"\r\n')
|
||||
out_xml( '\t\t\rElse\n')
|
||||
out_xml( '\t\t\tElse\r\n')
|
||||
out_xml( '\t\t\t\tVar ice_tab_process_show = "Enable"\r\n')
|
||||
out_xml( '\t\t\tEndIf\r\n')
|
||||
else:
|
||||
out_xml( '\t\t\tVar ice_tab_process_show = "Disable"\r\n')
|
||||
out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n')
|
||||
|
||||
out_xml( '\t\t\r\n')
|
||||
out_xml( '\t\tElse\r\n')
|
||||
out_xml( '\t\t\tVar ice_tab_process_show = "Invisible"\r\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue