|  |  |  | 
|---|
|  |  |  | import englishMessages from 'ra-language-english'; | 
|---|
|  |  |  | import enMap from './core/enMap'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const customEnglishMessages = { | 
|---|
|  |  |  | ...englishMessages, | 
|---|
|  |  |  | ...enMap, | 
|---|
|  |  |  | hello: 'Hello World', | 
|---|
|  |  |  | common: { | 
|---|
|  |  |  | response: { | 
|---|
|  |  |  | 
|---|
|  |  |  | before: 'Time Before' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | action: { | 
|---|
|  |  |  | reset: 'Reset', | 
|---|
|  |  |  | expand: 'Expand', | 
|---|
|  |  |  | expandAll: 'Expand All', | 
|---|
|  |  |  | collapse: 'Collapse', | 
|---|
|  |  |  | 
|---|
|  |  |  | result: 'Contacts import complete. Imported %{success} success, with %{error} errors', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | loadMore: 'Load More Data', | 
|---|
|  |  |  | complete: 'Complete', | 
|---|
|  |  |  | deprecate: 'Deprecate', | 
|---|
|  |  |  | resend: 'RESEND', | 
|---|
|  |  |  | selected: 'selected', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | msg: { | 
|---|
|  |  |  | confirm: { | 
|---|
|  |  |  | tip: 'Tip', | 
|---|
|  |  |  | desc: 'Are you sure you want to proceed?', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | placeholder: 'Please enter your search content', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | filters: { | 
|---|
|  |  |  | 
|---|
|  |  |  | operation: 'Operation', | 
|---|
|  |  |  | config: 'Config', | 
|---|
|  |  |  | tenant: 'Tenant', | 
|---|
|  |  |  | role: 'Role', | 
|---|
|  |  |  | userLogin: 'Token', | 
|---|
|  |  |  | base: 'Base', | 
|---|
|  |  |  | warehouse: 'Warehouse', | 
|---|
|  |  |  | 
|---|
|  |  |  | segment: 'Segment', | 
|---|
|  |  |  | jam: 'Jam', | 
|---|
|  |  |  | action: 'Action', | 
|---|
|  |  |  | mission: 'Mission', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | table: { | 
|---|
|  |  |  | field: { | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | user: { | 
|---|
|  |  |  | username: "username", | 
|---|
|  |  |  | password: "password", | 
|---|
|  |  |  | password: "password", | 
|---|
|  |  |  | confirmPwd: "confirm password", | 
|---|
|  |  |  | nickname: "nickname", | 
|---|
|  |  |  | 
|---|
|  |  |  | bootTime: "boot time", | 
|---|
|  |  |  | workTime: "work time", | 
|---|
|  |  |  | workDistance: "mileage", | 
|---|
|  |  |  | tempQua: "temp", | 
|---|
|  |  |  | password: "password", | 
|---|
|  |  |  | backpack: "backpack", | 
|---|
|  |  |  | error: "error", | 
|---|
|  |  |  | errorTime: "errorTime", | 
|---|
|  |  |  | online: 'online', | 
|---|
|  |  |  | task: 'task', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | actionSts: { | 
|---|
|  |  |  | uuid: "uuid", | 
|---|
|  |  |  | 
|---|
|  |  |  | busSts: "bus status", | 
|---|
|  |  |  | phase: "phase", | 
|---|
|  |  |  | taskList: "task list", | 
|---|
|  |  |  | tasksNum: "number of tasks", | 
|---|
|  |  |  | tasksNum: "rest tasks", | 
|---|
|  |  |  | tasksNumTotal: "total tasks", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | task: { | 
|---|
|  |  |  | uuid: "uuid", | 
|---|
|  |  |  | 
|---|
|  |  |  | destCode: "dest code", | 
|---|
|  |  |  | emptyMk: "empty mk", | 
|---|
|  |  |  | zpallet: "zpallet", | 
|---|
|  |  |  | phase: "phase", | 
|---|
|  |  |  | phase: "ideal path", | 
|---|
|  |  |  | errDesc: "error", | 
|---|
|  |  |  | oriDesc: "origin", | 
|---|
|  |  |  | destDesc: "destination", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | travel: { | 
|---|
|  |  |  | uuid: "uuid", | 
|---|
|  |  |  | 
|---|
|  |  |  | endNode: "end node", | 
|---|
|  |  |  | posType: "type", | 
|---|
|  |  |  | backpack: "backpack", | 
|---|
|  |  |  | algoTime: "algo time", | 
|---|
|  |  |  | state: "state", | 
|---|
|  |  |  | segDesc: "seg no", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | jam: { | 
|---|
|  |  |  | uuid: "uuid", | 
|---|
|  |  |  | 
|---|
|  |  |  | avoAgv: "avoid agv", | 
|---|
|  |  |  | avoCode: "avoid code", | 
|---|
|  |  |  | avoSeg: "avoid seg", | 
|---|
|  |  |  | cycleAvo: "cycle avoid", | 
|---|
|  |  |  | cycleAvo: "cycle", | 
|---|
|  |  |  | cycleCode: "cycle code", | 
|---|
|  |  |  | startTime: "start time", | 
|---|
|  |  |  | notifyTime: "notify time", | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | action: { | 
|---|
|  |  |  | uuid: "uuid", | 
|---|
|  |  |  | groupId: "group no", | 
|---|
|  |  |  | groupId: "group", | 
|---|
|  |  |  | busId: "bus", | 
|---|
|  |  |  | taskId: "task", | 
|---|
|  |  |  | seqNum: "seq num", | 
|---|
|  |  |  | 
|---|
|  |  |  | endTime: "end time", | 
|---|
|  |  |  | errTime: "err time", | 
|---|
|  |  |  | errDesc: "error", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | mission: { | 
|---|
|  |  |  | backpack: 'Backpack', | 
|---|
|  |  |  | code: 'Code', | 
|---|
|  |  |  | task: 'Task', | 
|---|
|  |  |  | lastSendDate: 'Last sending date', | 
|---|
|  |  |  | actionCount: 'Action Count', | 
|---|
|  |  |  | runPath: 'Run Path', | 
|---|
|  |  |  | actions: 'Actions', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | detail: 'DETAIL', | 
|---|
|  |  |  | task: 'TASK', | 
|---|
|  |  |  | error: 'ERROR', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | remove: 'remove from map', | 
|---|
|  |  |  | reposition: 'clear path reposition', | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | segment: { | 
|---|
|  |  |  | enums: { | 
|---|
|  |  |  | state: { | 
|---|
|  |  |  | init: 'INIT', | 
|---|
|  |  |  | waiting: 'WAITING', | 
|---|
|  |  |  | running: 'RUNNING', | 
|---|
|  |  |  | finish: 'FINISH', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | jam: { | 
|---|
|  |  |  | enums: { | 
|---|
|  |  |  | state: { | 
|---|
|  |  |  | running: 'RUNNING', | 
|---|
|  |  |  | finish: 'FINISH', | 
|---|
|  |  |  | fail: 'FAIL', | 
|---|
|  |  |  | deprecated: 'DEPRECATED', | 
|---|
|  |  |  | done: "DONE", | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | route: { | 
|---|
|  |  |  | enums: { | 
|---|
|  |  |  | direction: { | 
|---|
|  |  |  | forward: 'Forward', | 
|---|
|  |  |  | reverse: 'Reverse', | 
|---|
|  |  |  | unordered: 'Unordered', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | mission: { | 
|---|
|  |  |  | backToMission: 'Back to mission', | 
|---|
|  |  |  | enums: { | 
|---|
|  |  |  | posType: { | 
|---|
|  |  |  | MOVE: 'Move', | 
|---|
|  |  |  | ORI_LOC: 'Pick from Loc', | 
|---|
|  |  |  | ORI_STA: 'Pick from Sta', | 
|---|
|  |  |  | DEST_LOC: 'Drop at Loc', | 
|---|
|  |  |  | DEST_STA: 'Drop at Sta', | 
|---|
|  |  |  | TO_CHARGE: 'Go to Charge', | 
|---|
|  |  |  | TO_STANDBY: 'Return to Standby', | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | map: { | 
|---|
|  |  |  | 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', | 
|---|
|  |  |  | charge: 'CHARGE', | 
|---|
|  |  |  | station: 'STATION', | 
|---|
|  |  |  | direction: 'DIRECTION', | 
|---|
|  |  |  | agv: 'AGV', | 
|---|
|  |  |  | point: 'POINT', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | action: { | 
|---|
|  |  |  | startup: 'Startup', | 
|---|
|  |  |  | shutdown: 'Shutdown', | 
|---|
|  |  |  | monitor: 'Console Monitor', | 
|---|
|  |  |  | save: 'Save Map', | 
|---|
|  |  |  | clear: 'Clear Map', | 
|---|
|  |  |  | adapt: 'ADAPT', | 
|---|
|  |  |  | rotate: 'ROTATE', | 
|---|
|  |  |  | fake: 'FAKE', | 
|---|
|  |  |  | route: 'ROUTE', | 
|---|
|  |  |  | disable: 'DISABLE', | 
|---|
|  |  |  | enable: 'ENABLE', | 
|---|
|  |  |  | reset: 'RESET', | 
|---|
|  |  |  | restoreALl: 'Restore All', | 
|---|
|  |  |  | startPatrol: 'START PATROL', | 
|---|
|  |  |  | stopPatrol: 'STOP PATROL', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | mode: { | 
|---|
|  |  |  | observer: 'OBSERVER', | 
|---|
|  |  |  | movable: 'MOVABLE', | 
|---|
|  |  |  | settings: 'SETTINGS', | 
|---|
|  |  |  | roadmap: 'ROADMAP', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | insight: { | 
|---|
|  |  |  | title: 'Insight', | 
|---|
|  |  |  | tabs: { | 
|---|
|  |  |  | control: 'Control', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | shelf: { | 
|---|
|  |  |  | outbound: 'Outbound', | 
|---|
|  |  |  | updateStatus: 'Update Status', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | control: { | 
|---|
|  |  |  | type: { | 
|---|
|  |  |  | MOVE: 'MOVE', | 
|---|
|  |  |  | TO_CHARGE: 'TO_CHARGE', | 
|---|
|  |  |  | TO_STANDBY: 'TO_STANDBY', | 
|---|
|  |  |  | LOC_TO_LOC: 'LOC_TO_LOC', | 
|---|
|  |  |  | LOC_TO_STA: 'LOC_TO_STA', | 
|---|
|  |  |  | STA_TO_LOC: 'STA_TO_LOC', | 
|---|
|  |  |  | STA_TO_STA: 'STA_TO_STA', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | startCode: 'Source Point', | 
|---|
|  |  |  | endCode: 'Destination Point', | 
|---|
|  |  |  | startLoc: 'Source Loc', | 
|---|
|  |  |  | endLoc: 'Destination Loc', | 
|---|
|  |  |  | startSta: 'Source Station', | 
|---|
|  |  |  | endSta: 'Destination Station', | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | settings: { | 
|---|
|  |  |  | title: 'Settings', | 
|---|
|  |  |  | map: { | 
|---|
|  |  |  | title: 'Map Parameters', | 
|---|
|  |  |  | base: { | 
|---|
|  |  |  | position: 'Position', | 
|---|
|  |  |  | scale: 'Scale', | 
|---|
|  |  |  | rotation: 'Rotation', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | copy: { | 
|---|
|  |  |  | title: 'Copy', | 
|---|
|  |  |  | direction: 'Direction', | 
|---|
|  |  |  | left: 'Left', | 
|---|
|  |  |  | right: 'Right', | 
|---|
|  |  |  | up: 'Up', | 
|---|
|  |  |  | down: 'Down', | 
|---|
|  |  |  | count: 'Count', | 
|---|
|  |  |  | execute: 'Execute', | 
|---|
|  |  |  | reverse: 'Reverse', | 
|---|
|  |  |  | field: { | 
|---|
|  |  |  | gap: 'Gap', | 
|---|
|  |  |  | autoIncrement: 'Auto Increment', | 
|---|
|  |  |  | incrementValue: 'Increment Value', | 
|---|
|  |  |  | incrementMode: 'Increment Mode', | 
|---|
|  |  |  | ascend: 'Ascend', | 
|---|
|  |  |  | descend: 'Descend', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | valid: { | 
|---|
|  |  |  | common: 'Please set the config parameters first', | 
|---|
|  |  |  | shelf: 'Please set the row and bay in the config parameters first', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | more: { | 
|---|
|  |  |  | title: 'More', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | config: { | 
|---|
|  |  |  | title: 'Config Parameters', | 
|---|
|  |  |  | base: { | 
|---|
|  |  |  | no: 'No', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | shelf: { | 
|---|
|  |  |  | row: 'Row', | 
|---|
|  |  |  | bay: 'Bay', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|