From 8bc743f9c49aca301bb673fbbe3194b07ed99078 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 25 十月 2024 13:48:27 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/map/constants.js | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/zy-acs-flow/src/map/constants.js b/zy-acs-flow/src/map/constants.js
index ca72c8a..192090a 100644
--- a/zy-acs-flow/src/map/constants.js
+++ b/zy-acs-flow/src/map/constants.js
@@ -14,6 +14,8 @@
AGV: "AGV",
POINT: "POINT",
+
+ ROUTE: "ROUTE",
})
export const DEVICE_Z_INDEX = Object.freeze({
@@ -24,6 +26,28 @@
AGV: 3,
POINT: 2,
+
+ DYNAMIC_ROUTE: 2,
+})
+
+export const DEVICE_SPRITE_TINT = Object.freeze({
+ SHELF: null,
+ STATION: null,
+ CHARGE: null,
+ DIRECTION: null,
+
+ AGV: null,
+ POINT: 0xCACDCF,
+})
+
+export const DEVICE_SPRITE_TINT_DARK = Object.freeze({
+ SHELF: 0xdcdde1,
+ STATION: null,
+ CHARGE: null,
+ DIRECTION: null,
+
+ AGV: null,
+ POINT: 0xf1f2f6,
})
export const DEVICE_SELECTED_EFFECT_PADDING = Object.freeze({
@@ -36,6 +60,16 @@
POINT: 100,
})
+export const DEVICE_SELECTED_EFFECT_COLOR = Object.freeze({
+ SHELF: 0xdcdde1,
+ STATION: 0xdcdde1,
+ CHARGE: 0xdcdde1,
+ DIRECTION: 0xdcdde1,
+
+ AGV: 0x74b9ff,
+ POINT: 0xC9E6DA,
+})
+
export const AGV_STATUS_MODE = Object.freeze({
EMPTY_NO_BATTERY: 1,
EMPTY_HALF_BATTERY: 2,
@@ -43,4 +77,10 @@
LOADED_NO_BATTERY: 4,
LOADED_HALF_BATTERY: 5,
LOADED_FULL_BATTERY: 6,
+})
+
+export const POINT_ROUTE_DIRECTION = Object.freeze({
+ OUT_OF_ORDER: 0,
+ ORDER: 1,
+ REVERSE_ORDER: 2,
})
\ No newline at end of file
--
Gitblit v1.9.1