| | |
| | | import englishMessages from 'ra-language-english'; |
| | | import enMap from './core/enMap'; |
| | | |
| | | const customEnglishMessages = { |
| | | ...englishMessages, |
| | | ...enMap, |
| | | hello: 'Hello World', |
| | | common: { |
| | | response: { |
| | |
| | | memo: 'memo', |
| | | opt: 'operate', |
| | | }, |
| | | list: { |
| | | empty: { |
| | | tip: 'No data to display', |
| | | } |
| | | }, |
| | | edit: { |
| | | title: { |
| | | main: 'Main', |
| | |
| | | enums: { |
| | | statusTrue: 'Enable', |
| | | statusFalse: 'Disable', |
| | | true: 'Yes', |
| | | false: 'No', |
| | | }, |
| | | time: { |
| | | after: 'Time After', |
| | | 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?', |
| | | }, |
| | | placeholder: 'Please enter your search content', |
| | | }, |
| | | }, |
| | | filters: { |
| | |
| | | security: 'Security', |
| | | }, |
| | | create: { |
| | | title: 'Create' |
| | | title: 'Create', |
| | | empty: { |
| | | title: 'Data Empty', |
| | | desc: 'Please Create Data First', |
| | | button: 'Create Data', |
| | | }, |
| | | }, |
| | | update: { |
| | | title: 'Update' |
| | |
| | | staSts: 'Station Status', |
| | | staType: 'Station Type', |
| | | code: 'Code', |
| | | sta: 'Station', |
| | | codeGap: 'Code Gap', |
| | | route: 'Route', |
| | | funcSta: 'Func Station', |
| | | locSts: 'Location Status', |
| | | locType: 'Location Type', |
| | | loc: 'Location', |
| | | agvSts: 'Agv Status', |
| | | agvModel: 'Agv Model', |
| | | agv: 'Agv', |
| | | agvDetail: 'Agv Detail', |
| | | actionSts: 'Action Status', |
| | | actionType: 'Action Type', |
| | | busSts: 'Bus Status', |
| | | taskSts: 'Task Status', |
| | | taskType: 'Task Type', |
| | | vehFaultRec: 'Agv Fault', |
| | | bus: 'Bus', |
| | | task: 'Task', |
| | | travel: 'Travel', |
| | | segment: 'Segment', |
| | | jam: 'Jam', |
| | | action: 'Action', |
| | | mission: 'Mission', |
| | | }, |
| | | table: { |
| | | field: { |
| | |
| | | }, |
| | | code: { |
| | | uuid: "uuid", |
| | | data: "data", |
| | | data: "code", |
| | | x: "x", |
| | | y: "y", |
| | | concer: "corner", |
| | | scale: "scale", |
| | | }, |
| | | sta: { |
| | | uuid: "uuid", |
| | | zoneId: "zone", |
| | | staNo: "staNo", |
| | | name: "name", |
| | | staType: "station type", |
| | | code: "code", |
| | | offset: "offset", |
| | | autoing: "autoing", |
| | | loading: "loading", |
| | | inEnable: "in enable", |
| | | outEnable: "out enable", |
| | | zpallet: "zpallet", |
| | | staSts: "station status", |
| | | }, |
| | | codeGap: { |
| | | code0: "code 1", |
| | | code1: "code 2", |
| | | distance: "distance", |
| | | }, |
| | | route: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | startCode: "start code", |
| | | endCode: "end code", |
| | | codeArr: "code arr", |
| | | codeDataArr: "code arr data", |
| | | direction: "direction", |
| | | }, |
| | | funcSta: { |
| | | uuid: "uuid", |
| | | zoneId: "zone", |
| | | agvId: "agv", |
| | | name: "name", |
| | | type: "type", |
| | | code: "code", |
| | | angle: "angle", |
| | | state: "state", |
| | | }, |
| | | locSts: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | locType: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | loc: { |
| | | uuid: "uuid", |
| | | zoneId: "zone", |
| | | locNo: "loc no", |
| | | name: "name", |
| | | code: "code", |
| | | compDirect: "code direct", |
| | | locSts: "loc sts", |
| | | offset: "offset", |
| | | row: "row", |
| | | bay: "bay", |
| | | lev: "lev", |
| | | barcode: "barcode", |
| | | zpallet: "zpallet", |
| | | locType: "loc type", |
| | | }, |
| | | agvSts: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | agvModel: { |
| | | uuid: "uuid", |
| | | type: "model type", |
| | | name: "model name", |
| | | length: "length", |
| | | width: "width", |
| | | height: "height", |
| | | liftHeight: "lift height", |
| | | diameter: "diameter", |
| | | password: "password", |
| | | backpack: "backpack", |
| | | lowBattery: "charge battery", |
| | | quaBattery: "work battery", |
| | | travelSpeed: "travel speed", |
| | | workDirection: "work direction", |
| | | allDirection: "all direction", |
| | | protocol: "protocol", |
| | | mqttTopic: "mqtt topic", |
| | | }, |
| | | agv: { |
| | | uuid: "agv no", |
| | | name: "name", |
| | | ip: "ip", |
| | | secret: "secret", |
| | | agvSts: "agv status", |
| | | agvModel: "agv model", |
| | | stage: "stage", |
| | | chargeLine: "charge battery", |
| | | error: "error", |
| | | online: "online", |
| | | }, |
| | | agvDetail: { |
| | | uuid: "uuid", |
| | | agvId: "agv", |
| | | title: "title", |
| | | pos: "position", |
| | | code: "code", |
| | | lastCode: "last code", |
| | | codeOffsert: "code offset", |
| | | straightVal: "straight distance", |
| | | agvAngle: "angle", |
| | | gyroAngle: "gyro angle", |
| | | encoderAngle: "encoder angle", |
| | | high: "high", |
| | | sensorSts: "sensor status", |
| | | vol: "vol", |
| | | soc: "soc", |
| | | soh: "soh", |
| | | batteryFail: "battery fail", |
| | | tempe: "temperature", |
| | | motorFail: "motor fail", |
| | | failSign: "fail sign", |
| | | bootTime: "boot time", |
| | | workTime: "work time", |
| | | workDistance: "mileage", |
| | | backpack: "backpack", |
| | | password: "password", |
| | | online: 'online', |
| | | task: 'task', |
| | | }, |
| | | actionSts: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | actionType: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | busSts: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | taskSts: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | taskType: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | }, |
| | | vehFaultRec: { |
| | | uuid: "uuid", |
| | | agvId: "agv", |
| | | faultNo: "fault no", |
| | | faultHex: "fault hex", |
| | | faultName: "fault name", |
| | | faultStatus: "fault status", |
| | | faultLev: "fault level", |
| | | faultData: "fault data", |
| | | type: "type", |
| | | protocol: "protocol", |
| | | happenTime: "happen time", |
| | | resetTime: "reset time", |
| | | state: "state", |
| | | }, |
| | | bus: { |
| | | uuid: "uuid", |
| | | 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", |
| | | busId: "bus", |
| | | seqNum: "seq num", |
| | | priority: "priority", |
| | | name: "name", |
| | | taskSts: "task status", |
| | | taskType: "task type", |
| | | agvId: "agv", |
| | | ioTime: "io time", |
| | | startTime: "start time", |
| | | endTime: "end time", |
| | | errTime: "err time", |
| | | oriSta: "ori sta", |
| | | oriLoc: "ori loc", |
| | | oriCode: "ori code", |
| | | destSta: "dest sta", |
| | | destLoc: "dest loc", |
| | | destCode: "dest code", |
| | | emptyMk: "empty mk", |
| | | zpallet: "zpallet", |
| | | phase: "ideal path", |
| | | errDesc: "error", |
| | | oriDesc: "origin", |
| | | destDesc: "destination", |
| | | }, |
| | | travel: { |
| | | uuid: "uuid", |
| | | travelId: "travel no", |
| | | agvId: "agv", |
| | | currSeg: "curr seg", |
| | | taskContent: "tasks", |
| | | taskIds: "task list", |
| | | state: "state", |
| | | }, |
| | | segment: { |
| | | uuid: "uuid", |
| | | groupId: "group no", |
| | | travelId: "travel", |
| | | taskId: "task", |
| | | agvId: "agv", |
| | | serial: "serial no", |
| | | startNode: "start node", |
| | | endNode: "end node", |
| | | posType: "type", |
| | | backpack: "backpack", |
| | | state: "state", |
| | | segDesc: "seg no", |
| | | }, |
| | | jam: { |
| | | uuid: "uuid", |
| | | name: "name", |
| | | jamAgv: "jam agv", |
| | | jamCode: "jam code", |
| | | jamSeg: "jam seg", |
| | | avoAgv: "avoid agv", |
| | | avoCode: "avoid code", |
| | | avoSeg: "avoid seg", |
| | | cycleAvo: "cycle", |
| | | cycleCode: "cycle code", |
| | | startTime: "start time", |
| | | notifyTime: "notify time", |
| | | endTime: "end time", |
| | | duration: "duration", |
| | | state: "state", |
| | | }, |
| | | action: { |
| | | uuid: "uuid", |
| | | groupId: "group", |
| | | busId: "bus", |
| | | taskId: "task", |
| | | seqNum: "seq num", |
| | | priority: "priority", |
| | | name: "name", |
| | | val: "val", |
| | | code: "code", |
| | | params: "params", |
| | | actionType: "action type", |
| | | actionSts: "action status", |
| | | agvId: "agv", |
| | | ioTime: "io time", |
| | | startTime: "start time", |
| | | 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', |
| | | }, |
| | | } |
| | | }, |
| | | page: { |
| | | loc: { |
| | | 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: { |
| | | welcome: 'Welcome To Rcs', |
| | | 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', |
| | | disable: 'DISABLE', |
| | | enable: 'ENABLE', |
| | | reset: 'RESET', |
| | | restoreALl: 'Restore All', |
| | | }, |
| | | 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', |
| | | TO_CHARGE: 'TO_CHARGE', |
| | | 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', |
| | | }, |
| | | }, |
| | | }, |
| | | }, |
| | | } |
| | | }; |
| | | |