New file |
| | |
| | | package com.zy.acs.common.enums.error; |
| | | |
| | | public enum CtuErrorType { |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | |
| | | } |
| | | }, |
| | | map: { |
| | | welcome: 'Welcome To Rcs', |
| | | welcome: 'Welcome to the RCS System. Tip: Left-click to select objects, right-click to pan the view, and use the scroll wheel to zoom the view.', |
| | | devices: { |
| | | title: 'Icons', |
| | | shelf: 'SHELF', |
| | |
| | | } |
| | | }, |
| | | map: { |
| | | welcome: '欢迎使用RCS', |
| | | welcome: '欢迎使用 RCS 系统。提示:鼠标左键选中对象,右键平移视图,滚轮缩放视图。', |
| | | devices: { |
| | | title: '图标库', |
| | | shelf: '货架', |
| | |
| | | useTheme, |
| | | Fab, |
| | | } from '@mui/material'; |
| | | import { MAP_MODE } from "./constants"; |
| | | import { MAP_MODE, MAP_DEFAULT_ROTATION } from "./constants"; |
| | | import Player from './player'; |
| | | import * as Tool from './tool'; |
| | | import { NotificationProvider, useNotification } from './Notification'; |
| | |
| | | } |
| | | } |
| | | |
| | | player.rotateMap(localStorage.getItem('mapRotation')); |
| | | player.rotateMap(localStorage.getItem('mapRotation') || Tool.rotationParseNum(MAP_DEFAULT_ROTATION)); |
| | | setTimeout(() => { |
| | | notify.info(translate('page.map.welcome')); |
| | | player.adaptScreen(); |
| | |
| | | |
| | | export const ANIMATE_DURING_TIME = 200; |
| | | |
| | | export const MAP_DEFAULT_ROTATION = 270; |
| | | |
| | | export const MAP_MODE = Object.freeze({ |
| | | OBSERVER_MODE: "1", |
| | | MOVABLE_MODE: "2", |
| | |
| | | notInCodeList.add("00000363"); |
| | | notInCodeList.add("00000411"); |
| | | notInCodeList.add("00000412"); |
| | | |
| | | notInCodeList.add("00000046"); |
| | | notInCodeList.add("00000047"); |
| | | List<Code> list = codeService.list(new LambdaQueryWrapper<Code>().notIn(Code::getData, notInCodeList)); |
| | | |
| | | Collections.shuffle(list); |