From 57053e5720e66837c3a50c01dc6683032f5917d6 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 14 一月 2021 13:56:09 +0800 Subject: [PATCH] 20200114-签名问题,安卓控件坐标异常 --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs index 14836b0..c14acb6 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -72,7 +72,7 @@ try { //閫昏緫浣胯兘鐨勫懡浠� - Send.switchLogic(currLogic); + Send.SwitchLogic(currLogic); } catch { } @@ -233,7 +233,6 @@ /// </summary> public static void GetLogicList() { - if (Logic.LogicList.Count != 0) { //鑷姩鍖栧垪琛ㄤ负0鎵嶅幓鑾峰彇鑷姩鍖栧垪琛紱 @@ -241,7 +240,7 @@ } List<string> logicIdList = new List<string>(); //鑾峰彇閫昏緫ID鍒楄〃 - var idStr = Send.getLogicIdList(); + var idStr = Send.GetLogicIdList(); if (idStr.Code == "0" && idStr.Data != null && idStr.Data.ToString() != "") { var date = Newtonsoft.Json.JsonConvert.SerializeObject(idStr.Data); @@ -253,7 +252,7 @@ } } //鑾峰彇鑷姩鍖栧垪琛� - var logicStr = Send.getLogic(logicIdList); + var logicStr = Send.GetLogic(logicIdList); if (logicStr.Code == "0" && logicStr.Data != null && logicStr.Data.ToString() != "") { //鑾峰彇閫昏緫璇︾粏杩斿洖鏄竴涓暟缁�(object绫诲瀷杞崲涓烘暟缁�); @@ -312,7 +311,7 @@ //2-鍔熻兘鍥炬爣 for (int i = 0; i < logic.input.Count; i++) { - if (logic.input[i] == null) + if (logic.input[i] == null || logic.input[i].ToString() == "") { //闃叉鏈夌殑绌哄璞★紱 //姝e父鎯呭喌涓嬩笉浼氳鐜拌薄锛� -- Gitblit v1.8.0