From 41da932b9629d7f1426e2030412df1a41f65ff6e Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 21 十月 2024 11:05:14 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/constants.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/zy-acs-flow/src/map/constants.js b/zy-acs-flow/src/map/constants.js index 00b8c0e..3c4c9a4 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({ @@ -26,6 +28,36 @@ POINT: 2, }) +export const DEVICE_SPRITE_TINT = Object.freeze({ + SHELF: null, + STATION: null, + CHARGE: null, + DIRECTION: null, + + AGV: null, + POINT: 0xCACDCF, +}) + +export const DEVICE_SELECTED_EFFECT_PADDING = Object.freeze({ + SHELF: 10, + STATION: 10, + CHARGE: 10, + DIRECTION: 10, + + AGV: 10, + 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, @@ -33,4 +65,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