|  |  | 
 |  |  | import { settings } from 'pixi.js'; | 
 |  |  | import englishMessages from 'ra-language-english'; | 
 |  |  |  | 
 |  |  | const customEnglishMessages = { | 
 |  |  | 
 |  |  |             memo: 'memo', | 
 |  |  |             opt: 'operate', | 
 |  |  |         }, | 
 |  |  |         list: { | 
 |  |  |             empty: { | 
 |  |  |                 tip: 'No data to display', | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         edit: { | 
 |  |  |             title: { | 
 |  |  |                 main: 'Main', | 
 |  |  | 
 |  |  |             before: 'Time Before' | 
 |  |  |         }, | 
 |  |  |         action: { | 
 |  |  |             reset: 'Reset', | 
 |  |  |             expand: 'Expand', | 
 |  |  |             expandAll: 'Expand All', | 
 |  |  |             collapse: 'Collapse', | 
 |  |  |             collapseAll: 'Collapse All', | 
 |  |  |             scope: 'Assign', | 
 |  |  |             import: { | 
 |  |  |                 title: 'Import', | 
 |  |  |                 stop: 'Stop import', | 
 |  |  |                 msg: 'Here is a sample CSV file you can use as a template', | 
 |  |  |                 tips: 'The import is running, please do not close this tab.', | 
 |  |  |                 err: 'Failed to import this file, please make sure your provided a valid CSV file.', | 
 |  |  |                 download: 'Download Import Template', | 
 |  |  |                 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?', | 
 |  |  |             }, | 
 |  |  |         }, | 
 |  |  |     }, | 
 |  |  |     filters: { | 
 |  |  | 
 |  |  |         segment: 'Segment', | 
 |  |  |         jam: 'Jam', | 
 |  |  |         action: 'Action', | 
 |  |  |         mission: 'Mission', | 
 |  |  |     }, | 
 |  |  |     table: { | 
 |  |  |         field: { | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             agvModel: { | 
 |  |  |                 uuid: "uuid", | 
 |  |  |                 type: "type", | 
 |  |  |                 name: "name", | 
 |  |  |                 type: "model type", | 
 |  |  |                 name: "model name", | 
 |  |  |                 length: "length", | 
 |  |  |                 width: "width", | 
 |  |  |                 height: "height", | 
 |  |  | 
 |  |  |                 stage: "stage", | 
 |  |  |                 chargeLine: "charge battery", | 
 |  |  |                 error: "error", | 
 |  |  |                 online: "online", | 
 |  |  |             }, | 
 |  |  |             agvDetail: { | 
 |  |  |                 uuid: "uuid", | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             bus: { | 
 |  |  |                 uuid: "uuid", | 
 |  |  |                 seqNum: "seq num", | 
 |  |  |                 busNo: "bus no", | 
 |  |  |                 startTime: "start time", | 
 |  |  |                 endTime: "end time", | 
 |  |  |                 busSts: "bus status", | 
 |  |  |                 phase: "phase", | 
 |  |  |                 taskList: "task list", | 
 |  |  |                 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", | 
 |  |  | 
 |  |  |                 posType: "type", | 
 |  |  |                 backpack: "backpack", | 
 |  |  |                 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", | 
 |  |  | 
 |  |  |                 errTime: "err time", | 
 |  |  |                 errDesc: "error", | 
 |  |  |             }, | 
 |  |  |             mission: { | 
 |  |  |                 backpack: 'Backpack', | 
 |  |  |                 code: 'Code', | 
 |  |  |                 task: 'Task', | 
 |  |  |                 lastSendDate: 'Last sending date', | 
 |  |  |                 actionCount: 'Action Count', | 
 |  |  |                 runPath: 'Run Path', | 
 |  |  |                 actions: 'Actions', | 
 |  |  |             }, | 
 |  |  |         } | 
 |  |  |     }, | 
 |  |  |     page: { | 
 |  |  |         loc: { | 
 |  |  |             init: 'INITIALIZE' | 
 |  |  |         } | 
 |  |  |             init: 'INITIALIZE', | 
 |  |  |             start: { | 
 |  |  |                 row: 'start row', | 
 |  |  |                 bay: 'start bay', | 
 |  |  |                 lev: 'start lev', | 
 |  |  |             }, | 
 |  |  |             end: { | 
 |  |  |                 row: 'end row', | 
 |  |  |                 bay: 'end bay', | 
 |  |  |                 lev: 'end lev', | 
 |  |  |             }, | 
 |  |  |             levOffset: 'lev offset', | 
 |  |  |             bottomOffset: 'bottom offset', | 
 |  |  |         }, | 
 |  |  |         funcSta: { | 
 |  |  |             enums: { | 
 |  |  |                 type: { | 
 |  |  |                     charge: 'Charge', | 
 |  |  |                     standby: 'Standby', | 
 |  |  |                 }, | 
 |  |  |                 state: { | 
 |  |  |                     idle: 'Idle', | 
 |  |  |                     occupied: 'Occupied', | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         agv: { | 
 |  |  |             show: { | 
 |  |  |                 tabs: { | 
 |  |  |                     detail: 'DETAIL', | 
 |  |  |                     task: 'TASK', | 
 |  |  |                     error: 'ERROR', | 
 |  |  |                 } | 
 |  |  |             } | 
 |  |  |         }, | 
 |  |  |         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: { | 
 |  |  |             devices: { | 
 |  |  |                 title: 'Icons', | 
 |  |  |                 shelf: 'SHELF', | 
 |  |  |                 charge: 'CHARGE', | 
 |  |  |                 station: 'STATION', | 
 |  |  |                 direction: 'DIRECTION', | 
 |  |  |             }, | 
 |  |  |             action: { | 
 |  |  |                 save: 'Save Map', | 
 |  |  |                 clear: 'Clear Map', | 
 |  |  |                 adapt: 'ADAPT', | 
 |  |  |             }, | 
 |  |  |             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', | 
 |  |  |                     }, | 
 |  |  |                 }, | 
 |  |  |             }, | 
 |  |  |             insight: { | 
 |  |  |                 title: 'Insight', | 
 |  |  |             }, | 
 |  |  |         }, | 
 |  |  |     } | 
 |  |  | }; | 
 |  |  |  |