diff --git a/HMI/US/landscape/nspanel_US_L.HMI b/HMI/US/landscape/nspanel_US_L.HMI index 9933a497..cdced43a 100644 Binary files a/HMI/US/landscape/nspanel_US_L.HMI and b/HMI/US/landscape/nspanel_US_L.HMI differ diff --git a/HMI/US/landscape/nspanel_US_L.tft b/HMI/US/landscape/nspanel_US_L.tft index 2c8df16a..7e38b7f4 100644 Binary files a/HMI/US/landscape/nspanel_US_L.tft and b/HMI/US/landscape/nspanel_US_L.tft differ diff --git a/HMI/US/portrait/nspanel_US_P.HMI b/HMI/US/portrait/nspanel_US_P.HMI index 5ecd7707..f5992903 100644 Binary files a/HMI/US/portrait/nspanel_US_P.HMI and b/HMI/US/portrait/nspanel_US_P.HMI differ diff --git a/HMI/US/portrait/nspanel_US_P.tft b/HMI/US/portrait/nspanel_US_P.tft index 8762255f..293b0ed9 100644 Binary files a/HMI/US/portrait/nspanel_US_P.tft and b/HMI/US/portrait/nspanel_US_P.tft differ diff --git a/HMI/code_gen/pages/cardEntitiesSerial.py b/HMI/code_gen/pages/cardEntitiesSerial.py index 35864780..9656cc45 100644 --- a/HMI/code_gen/pages/cardEntitiesSerial.py +++ b/HMI/code_gen/pages/cardEntitiesSerial.py @@ -7,7 +7,7 @@ head = sharedhead + """ """ + navigation print(head) start = 3 -for i in range(1,6): +for i in range(1,5): idxstart = start + (i-1)*6 item = f""" // get Type @@ -57,7 +57,7 @@ for i in range(1,6): bUp{i}.pco=65535 tsw bUp{i},1 }} - else if(tTmp.txt!="disable") + else if(tTmp.txt=="disable") {{ bUp{i}.pco=27501 tsw bUp{i},0 @@ -70,7 +70,7 @@ for i in range(1,6): bStop{i}.txt=tTmp.txt tsw bStop{i},1 }} - else if(tTmp.txt!="disable") + else if(tTmp.txt=="disable") {{ bStop{i}.pco=27501 tsw bStop{i},0 @@ -83,7 +83,7 @@ for i in range(1,6): bDown{i}.txt=tTmp.txt tsw bDown{i},1 }} - else if(tTmp.txt!="disable") + else if(tTmp.txt=="disable") {{ bDown{i}.pco=27501 tsw bDown{i},0 diff --git a/HMI/code_gen/pages/out.txt b/HMI/code_gen/pages/out.txt deleted file mode 100644 index 0d56cb46..00000000 --- a/HMI/code_gen/pages/out.txt +++ /dev/null @@ -1,1014 +0,0 @@ - -// data available -if(usize>1) -{ - bufferPos=0 - while(bufferPos