From f1b334ba320250708dcb47a8e2c97015fc07cc27 Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期一, 18 八月 2025 16:05:08 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Controllers/CellWidthController.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/CellWidthController.cs b/WebAPI/Controllers/CellWidthController.cs index d91b945..95484a2 100644 --- a/WebAPI/Controllers/CellWidthController.cs +++ b/WebAPI/Controllers/CellWidthController.cs @@ -15,7 +15,8 @@ { public class CellWidthController : ApiController { - private json objJsonResult = new json(); + + private json objJsonResult = new json(); public DataSet ds = new DataSet(); public WebServer webserver = new WebServer(); @@ -135,8 +136,11 @@ { num = colNum; } + for (int i = 0; i < num; i++) { + // 鍙栨暣鏁伴儴鍒� 鍚﹀垯杞琁nt16鍙兘浼氭姤閿� 杩斿洖鍊间负0 + array[i] = array[i].Split('.')[0]; bool flag3 = ClsPub.isInt(array[i]) > 500; if (flag3) { -- Gitblit v1.9.1