From b51cfdec1dde066a1afbec0fa816347031ca6d25 Mon Sep 17 00:00:00 2001
From: zhanghonglin <zhanghonglin@hnkhzn.com>
Date: 星期三, 23 七月 2025 14:32:56 +0800
Subject: [PATCH] 前端

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ZXJ/ZXJJob.cs |   64 +++++++++++++++++++++----------
 1 files changed, 43 insertions(+), 21 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ZXJ/ZXJJob.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ZXJ/ZXJJob.cs"
index 8973d07..b1227ee 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ZXJ/ZXJJob.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ZXJ/ZXJJob.cs"
@@ -161,32 +161,54 @@
                             dt_thickness.centreright = tz6;
                             dt_thickness.bottomleft = tz7;
                             dt_thickness.bottomright = tz8;
+
+                            int a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0, h = 0;
                             //鍒ゆ柇鍚堟牸
                             if (tz1 < tza2 && tz1 > tza1)
                             {
-                                dt_thickness.qualified = 1;
-                            }else if (tz2 < tzb2 && tz1 > tzb1)
+                                a = 1;
+                            }
+
+                            if (tz2 < tzb2 && tz2 > tzb1)
+                            {
+                                b = 1;
+                            }
+
+                            if (tz3 < tzc2 && tz3 > tzc1)
+                            {
+                                c = 1;
+                            }
+
+                            if (tz4 < tzd2 && tz4 > tzd1)
+                            {
+                                d = 1;
+                            }
+
+                            if (tz5 < tze2 && tz5 > tze1)
+                            {
+                                e = 1;
+                            }
+
+                            if (tz6 < tzf2 && tz6 > tzf1)
+                            {
+                                f = 1;
+                            }
+
+                            if (tz7 < tzg2 && tz7 > tzg1)
+                            {
+                                g = 1;
+                            }
+
+                            if (tz8 < tzh2 && tz8 > tzh1)
+                            {
+                                h = 1;
+                            }
+
+                            if (a == 1 && b == 1 && c == 1 && d == 1 && e == 1 && f == 1 && g == 1 && h == 1)
                             {
                                 dt_thickness.qualified = 1;
-                            }else if (tz3 < tzc2 && tz1 > tzc1)
-                            {
-                                dt_thickness.qualified = 1;
-                            }else if (tz4 < tzd2 && tz1 > tzd1)
-                            {
-                                dt_thickness.qualified = 1;
-                            }else if (tz5 < tze2 && tz1 > tze1)
-                            {
-                                dt_thickness.qualified = 1;
-                            }else if (tz6 < tzf2 && tz1 > tzf1)
-                            {
-                                dt_thickness.qualified = 1;
-                            }else if (tz7 < tzg2 && tz1 > tzg1)
-                            {
-                                dt_thickness.qualified = 1;
-                            }else if (tz8 < tzh2 && tz1 > tzh1)
-                            {
-                                dt_thickness.qualified = 1;
-                            }else
+                            }
+                            else
                             {
                                 dt_thickness.qualified = 0;
                             }

--
Gitblit v1.9.3