From 00b0ec55e1b0eef82b3a31166e8273ecea776568 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 19 十月 2024 14:34:51 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/constants.js | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 44 insertions(+), 3 deletions(-) diff --git a/zy-acs-flow/src/map/constants.js b/zy-acs-flow/src/map/constants.js index 8e70c04..43b1e95 100644 --- a/zy-acs-flow/src/map/constants.js +++ b/zy-acs-flow/src/map/constants.js @@ -9,17 +9,58 @@ export const DEVICE_TYPE = Object.freeze({ SHELF: "SHELF", STATION: 'STATION', - AGV: "AGV", CHARGE: 'CHARGE', DIRECTION: 'DIRECTION', + + AGV: "AGV", POINT: "POINT", }) export const DEVICE_Z_INDEX = Object.freeze({ SHELF: 1, STATION: 1, - AGV: 1, CHARGE: 1, DIRECTION: 1, - POINT: 1 + + AGV: 3, + 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, + EMPTY_FULL_BATTERY: 3, + LOADED_NO_BATTERY: 4, + LOADED_HALF_BATTERY: 5, + LOADED_FULL_BATTERY: 6, +}) \ No newline at end of file -- Gitblit v1.9.1