From 4f966da6047cdcd9c53e254c1f1c7bdd70af0b34 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期一, 21 四月 2025 10:08:18 +0800
Subject: [PATCH] 1、卧式理片笼配置参数由配置yml文件改为数据库配置表获取 2、磨边后参数改造,解决plc查询数据异常问题 3、大理片笼配置参数由配置yml文件改为数据库配置表获取 4、钢化配置参数由配置yml文件改为数据库配置表获取 5、配置参数常量类配置修改,提供获取配置参数的方法
---
hangzhoumesParent/common/servicebase/src/main/java/com/mes/common/config/Const.java | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 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 22ec5d2..419a29e 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
@@ -25,6 +25,22 @@
public static final Integer A09_OUT_TARGET_POSITION = 2001;
public static final Integer A10_OUT_TARGET_POSITION = 2002;
+ /**
+ * 鍗у紡鐞嗙墖鍑虹墖鐩爣鏂瑰悜
+ */
+ public static final Integer ONE_OUT_TARGET_POSITION = 1;
+ public static final Integer TWO_OUT_TARGET_POSITION = 2;
+ /**
+ * 鍗у紡鐞嗙墖 纾ㄨ竟鍓嶇墖鍙扮姸鎬�
+ * 绌洪棽 0
+ * 蹇欑 1
+ * 绂佺敤 2
+ */
+ public static final String OUT_FREE = "0";
+ public static final String OUT_BUSY = "1";
+ public static final String OUT_DISABLE = "2";
+ public static final List<String> OUT_DISABLE_ALL = Arrays.asList("1", "2");
+
/**
* A09鍑虹墖鐩爣浣嶇疆 d02鍗ц浆绔� 閽㈠寲鍑虹墖 3001
@@ -109,8 +125,10 @@
* 澶х悊鐗囩浠诲姟绫诲瀷
* 1銆侀挗鍖栧墠杩涚墖
* 2銆侀挗鍖栧墠鍑虹墖
- * 3銆侀挗鍖栧悗杩涚墖
- * 4銆侀挗鍖栧悗鍑虹墖
+ * 3銆佽皟搴︿换鍔�
+ * 4銆侀挗鍖栧悗杩涚墖
+ * 5銆侀挗鍖栧悗鍑虹墖
+ * 6銆佽皟搴︿换鍔�
*/
public static final Integer BIG_STORAGE_BEFORE_IN = 1;
public static final Integer BIG_STORAGE_BEFORE_OUT = 2;
--
Gitblit v1.8.0