浏览代码

【MQ执行方法】AGV调度

lxb 2 年之前
父节点
当前提交
2a48b93b5d

+ 11 - 0
imcs-admin-boot/imcs-common/src/main/java/com/github/zuihou/common/constant/DictionaryKey.java

@@ -1,5 +1,7 @@
 package com.github.zuihou.common.constant;
 
+import com.google.common.collect.Lists;
+
 import java.util.*;
 
 
@@ -189,4 +191,13 @@ public interface DictionaryKey {
             put("R", "374");
         }
     };
+
+    Map<String, List<String>> YJ_ZONE = new HashMap<String, List<String>>(){
+        {
+            // 云箭保障中心,框体线,舱体线对应优先级关系
+            put("safeguard", Lists.newArrayList("framework","capsule")); //保障中心 =》 框体线,舱体线
+            put("framework", Lists.newArrayList("capsule","safeguard")); //框体线 =》 舱体线,保障中心
+            put("capsule", Lists.newArrayList("framework","safeguard")); //舱体线 =》 框体线,保障中心
+        }
+    };
 }