From d48de59b57bce614e17e91f1845789c071930a2f Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期二, 16 九月 2025 08:01:35 +0800
Subject: [PATCH] 1、大理片进片报表添加连续工作时间统计

---
 hangzhoumesParent/common/servicebase/src/main/java/com/mes/common/config/Const.java |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 100 insertions(+), 4 deletions(-)

diff --git a/hangzhoumesParent/common/servicebase/src/main/java/com/mes/common/config/Const.java b/hangzhoumesParent/common/servicebase/src/main/java/com/mes/common/config/Const.java
index 6b9a1de..731b871 100644
--- a/hangzhoumesParent/common/servicebase/src/main/java/com/mes/common/config/Const.java
+++ b/hangzhoumesParent/common/servicebase/src/main/java/com/mes/common/config/Const.java
@@ -32,6 +32,16 @@
      */
     public static final Integer TEMPERING_OUT_TARGET_POSITION = 3001;
     public static final Integer ARTIFICIAL_OUT_TARGET_POSITION = 3002;
+    public static final List<Integer> OUT_TARGET_POSITION_ALL = Arrays.asList(3001, 3002);
+
+//    /**
+//     * 涔変箤纾ㄨ竟绾�
+//     * A09鍑虹墖鐩爣浣嶇疆  d02鍗ц浆绔� 閽㈠寲鍑虹墖    930
+//     * A10鍑虹墖鐩爣浣嶇疆  d05鍗ц浆绔� 浜哄伐鍑虹墖    931
+//     */
+//    public static final Integer TEMPERING_OUT_TARGET_POSITION = 930;
+//    public static final Integer ARTIFICIAL_OUT_TARGET_POSITION = 931;
+//    public static final List<Integer> OUT_TARGET_POSITION_ALL = Arrays.asList(930, 931);
 
     /**
      * 鍗у紡鐞嗙墖绗艰鎯呰〃鐜荤拑鐘舵��
@@ -57,13 +67,22 @@
     public static final List<Integer> GLASS_STATE_IN_ALL_ZERO = Arrays.asList(0, 100, 102, 103, 104);
 
     /**
-     * 鍗у紡鐞嗙墖绗艰鎯呰〃鐜荤拑鐘舵��
-     * 杩涚墖浠诲姟1
-     * 鍑虹墖浠诲姟2
+     * 鍗х浠诲姟绫诲瀷
+     * 绌轰换鍔� 0
+     * 杩涚墖浠诲姟 1
+     * 鍑虹墖浠诲姟 2
+     * 鐩撮�氫换鍔� 3
+     * 杩涜涓� 4
+     * 缁撴潫 5
+     * 鍏朵粬 6
      */
+    public static final Integer GLASS_CACHE_TYPE_EMPTY = 0;
     public static final Integer GLASS_CACHE_TYPE_IN = 1;
     public static final Integer GLASS_CACHE_TYPE_OUT = 2;
     public static final Integer GLASS_CACHE_TYPE_THROUGH = 3;
+    public static final Integer GLASS_CACHE_TYPE_RUNNING = 4;
+    public static final Integer GLASS_CACHE_TYPE_FINISH = 5;
+    public static final Integer GLASS_CACHE_TYPE_OTHER = 6;
     public static final List<Integer> GLASS_CACHE_TYPE_OUT_ALL = Arrays.asList(2, 3);
 
     /**
@@ -76,7 +95,7 @@
     public static final Integer EDG_GLASS_SUCCESS = 2;
 
     /**
-     * 纾ㄨ竟浠诲姟鐜荤拑鐘舵��
+     * 澶х悊鐗囩鐘舵��
      * 1鍗曟満鑷姩鐘舵��
      * 2鑱旀満鑷姩鐘舵��
      * 3鎵嬪姩鐘舵��
@@ -84,6 +103,20 @@
     public static final Integer BIG_STORAGE_STAND_ALONE = 1;
     public static final Integer BIG_STORAGE_ONLINE = 2;
     public static final Integer BIG_STORAGE_MT = 3;
+
+    /**
+     * 澶х悊鐗囩浠诲姟绫诲瀷
+     * 1銆侀挗鍖栧墠杩涚墖
+     * 2銆侀挗鍖栧墠鍑虹墖
+     * 3銆侀挗鍖栧悗杩涚墖
+     * 4銆侀挗鍖栧悗鍑虹墖
+     */
+    public static final Integer BIG_STORAGE_BEFORE_IN = 1;
+    public static final Integer BIG_STORAGE_BEFORE_OUT = 2;
+    public static final Integer BIG_STORAGE_BEFORE_DISPATCH = 3;
+    public static final Integer BIG_STORAGE_AFTER_IN = 4;
+    public static final Integer BIG_STORAGE_AFTER_OUT = 5;
+    public static final Integer BIG_STORAGE_AFTER_DISPATCH = 6;
 
     /**
      * 澶х悊鐗囩璇锋眰
@@ -180,4 +213,67 @@
     public static final Integer UNLOAD_GLASS_OUT = 1;
     public static final Integer UNLOAD_GLASS_DOWN = 2;
 
+
+    /**
+     * 鍘熺墖浠撳偍浠诲姟绫诲瀷
+     * 杩涚墖浠诲姟1
+     * 鍑虹墖浠诲姟2
+     * 璋冨害浠诲姟3
+     * 杩涚墖璇锋眰4
+     * 鍑虹墖璇锋眰5
+     */
+    public static final Integer RAW_GLASS_TASK_TYPE_IN = 1;
+    public static final Integer RAW_GLASS_TASK_TYPE_OUT = 2;
+    public static final Integer RAW_GLASS_TASK_TYPE_DISPATCH = 3;
+    public static final Integer RAW_GLASS_TASK_TYPE_IN_REQUEST = 4;
+    public static final Integer RAW_GLASS_TASK_TYPE_OUT_REQUEST = 5;
+
+    /**
+     * 鍘熺墖浠撳偍浠诲姟鐘舵��
+     * 鏂板缓0
+     * 宸插畬鎴�1
+     */
+    public static final Integer ENGINEERING_NEW = 0;
+    public static final Integer ENGINEERING_RUNNING = 1;
+
+    /**
+     * 鍘熺墖浠撳偍浠诲姟绫诲瀷
+     * 鍦ㄧ鍐�100
+     * 鍑虹101
+     * 鍑嗗鍑虹102
+     * 鎵ц涓�103
+     * 鍦ㄨ溅涓�104
+     */
+    public static final Integer RAW_GLASS_STATE_IN = 100;
+    public static final Integer RAW_GLASS_STATE_OUT = 101;
+    public static final Integer RAW_GLASS_STATE_WAIT_OUT = 102;
+    public static final Integer RAW_GLASS_STATE_RUNNING = 103;
+    public static final Integer RAW_GLASS_STATE_CAR = 104;
+    public static final List<Integer> RAW_GLASS_STATE_IN_ALL = Arrays.asList(100, 102, 103);
+
+    public static final Integer RAW_GLASS_TASK_NEW = 0;
+    public static final Integer RAW_GLASS_TASK_SUCCESS = 1;
+    public static final Integer RAW_GLASS_TASK_FAILURE = 2;
+
+    /**
+     * 璁惧鍙�
+     */
+    public static final List<Integer> RAW_GLASS_DEVICE = Arrays.asList(1, 2, 3);
+
+    /**
+     * 鍘熺墖涓婄墖鐘舵��
+     * 0 鏂板
+     * 100 宸插畬鎴�
+     */
+    public static final Integer LOAD_RAW_GLASS_NEW = 0;
+    public static final Integer LOAD_RAW_GLASS_SUCCESS = 100;
+
+    /**
+     * 澶х悊鐗囩浠诲姟鍚姩淇″彿
+     * 0 绌轰换鍔�
+     * 1 鍚姩
+     */
+    public static final Integer BIG_STORAGE_TASK_EMPTY = 0;
+    public static final Integer BIG_STORAGE_TASK_RUNNING = 1;
+
 }

--
Gitblit v1.8.0