diff --git a/HMI/code_gen/pages/cardPower.py b/HMI/code_gen/pages/cardPower.py index 14f98de1..a77c639a 100644 --- a/HMI/code_gen/pages/cardPower.py +++ b/HMI/code_gen/pages/cardPower.py @@ -10,9 +10,11 @@ head = sharedhead + """ covx tTmp.txt,t1.pco,0,0 // icon home spstr strCommand.txt,t1.txt,"~",4 + // text home + spstr strCommand.txt,tHome.txt,"~",5 """ print(head) -start = 5 +start = 6 for i in range(0,6): idxstart = start + (i)*5 item = f""" @@ -24,21 +26,17 @@ for i in range(0,6): // speed spstr strCommand.txt,tTmp.txt,"~",{idxstart+2} covx tTmp.txt,t{i}Speed.val,0,0 - // upper text - spstr strCommand.txt,t{i}o.txt,"~",{idxstart+3} // lower text - spstr strCommand.txt,t{i}u.txt,"~",{idxstart+4} + spstr strCommand.txt,t{i}u.txt,"~",{idxstart+3} if(t{i}Icon.txt!="") {{ vis t{i}Icon,1 - vis t{i}o,1 vis t{i}u,1 vis h{i},1 }}else {{ vis t{i}Icon,0 - vis t{i}o,0 vis t{i}u,0 vis h{i},0 }} diff --git a/HMI/nspanel.HMI b/HMI/nspanel.HMI index 79920c14..8b0a9ba8 100644 Binary files a/HMI/nspanel.HMI and b/HMI/nspanel.HMI differ diff --git a/HMI/nspanel.tft b/HMI/nspanel.tft index 91716046..e671becd 100644 Binary files a/HMI/nspanel.tft and b/HMI/nspanel.tft differ