瀏覽代碼

[Bug fixed][DW30][LCM]: For dual connector charger, if there is only one PSU, LCM should not show the Select gun/RFID/QR_code/App icons.

2020.06.08 / TC Hsu

Action: Modify the icons display method, for multi-charging connector without AC charger, if the IsAlternativeConf flag of SysInfo is YES, setup Select gun/RFID/QR_Code/App icons to disappear.

Image version    : N/A
Image checksum   : N/A

Hardware PWB P/N : N/A
Hardware Version : N/A

Files:

	modified:   EVSE/Projects/DM30/Apps/Module_LcmControl.c
	modified:   EVSE/Projects/DW30/Apps/Module_LcmControl.c
TC_Hsu 4 年之前
父節點
當前提交
ac59145065
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 3 1
      EVSE/Projects/DM30/Apps/Module_LcmControl.c
  2. 3 1
      EVSE/Projects/DW30/Apps/Module_LcmControl.c

+ 3 - 1
EVSE/Projects/DM30/Apps/Module_LcmControl.c

@@ -861,7 +861,8 @@ void ProcessPageInfo()
         case _LCM_CHARGING:
         case _LCM_COMPLETE:
         {
-            if (_totalCount + acgunCount >= 2)
+            if ((_totalCount >= 1 && acgunCount >= 1) ||
+                (_totalCount >= 2 && ShmSysConfigAndInfo->SysInfo.IsAlternatvieConf == NO))
             {
                 ChangeDisplay2Value(__sel_gun_btn, _sel_gun_btn);
 
@@ -890,6 +891,7 @@ void ProcessPageInfo()
                 ChangeDisplay2Value(__side_mid, _disappear);
                 ChangeDisplay2Value(__side_down, _disappear);
                 ChangeDisplay2Value(__sel_gun_btn, _disappear);
+                ChangeDisplay2Value(__qr_code_pre, _disappear);
             }
 
             bool isShowAc = false;

+ 3 - 1
EVSE/Projects/DW30/Apps/Module_LcmControl.c

@@ -861,7 +861,8 @@ void ProcessPageInfo()
         case _LCM_CHARGING:
         case _LCM_COMPLETE:
         {
-            if (_totalCount + acgunCount >= 2)
+            if ((_totalCount >= 1 && acgunCount >= 1) ||
+                (_totalCount >= 2 && ShmSysConfigAndInfo->SysInfo.IsAlternatvieConf == NO))
             {
                 ChangeDisplay2Value(__sel_gun_btn, _sel_gun_btn);
 
@@ -890,6 +891,7 @@ void ProcessPageInfo()
                 ChangeDisplay2Value(__side_mid, _disappear);
                 ChangeDisplay2Value(__side_down, _disappear);
                 ChangeDisplay2Value(__sel_gun_btn, _disappear);
+                ChangeDisplay2Value(__qr_code_pre, _disappear);
             }
 
             bool isShowAc = false;