New file |
| | |
| | | const enMap = { |
| | | } |
| | | |
| | | export default enMap; |
New file |
| | |
| | | const zhMap = { |
| | | |
| | | } |
| | | |
| | | export default zhMap; |
| | |
| | | import { settings } from 'pixi.js'; |
| | | import englishMessages from 'ra-language-english'; |
| | | import enMap from './core/enMap'; |
| | | |
| | | const customEnglishMessages = { |
| | | ...englishMessages, |
| | | ...enMap, |
| | | hello: 'Hello World', |
| | | common: { |
| | | response: { |
| | |
| | | }, |
| | | insight: { |
| | | title: 'Insight', |
| | | shelf: { |
| | | outbound: 'Outbound', |
| | | updateStatus: 'Update Status', |
| | | }, |
| | | }, |
| | | settings: { |
| | | title: 'Settings', |
| | |
| | | bay: 'Bay', |
| | | }, |
| | | }, |
| | | }, |
| | | insight: { |
| | | title: 'Insight', |
| | | }, |
| | | }, |
| | | } |
| | |
| | | import chineseMessages from "./core/chineseMessages"; |
| | | import zhMap from "./core/zhMap"; |
| | | |
| | | const customChineseMessages = { |
| | | ...chineseMessages, |
| | | ...zhMap, |
| | | hello: '你好世界', |
| | | common: { |
| | | response: { |
| | |
| | | }, |
| | | insight: { |
| | | title: '详情', |
| | | shelf: { |
| | | outbound: '出库', |
| | | updateStatus: '修改状态', |
| | | }, |
| | | }, |
| | | settings: { |
| | | title: '设置', |
| | |
| | | bay: '列', |
| | | }, |
| | | }, |
| | | }, |
| | | insight: { |
| | | title: '详情', |
| | | }, |
| | | }, |
| | | } |
| | |
| | | websocket.onMessage = (wsMsg) => { |
| | | Tool.generateDynamicGraphic(curZone, JSON.parse(wsMsg)); |
| | | } |
| | | |
| | | |
| | | setTimeout(() => { |
| | | player.adaptScreen(); |
| | | notify.info(translate('page.map.welcome')); |
| | |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.locNo')} value={selectedLoc?.locNo || 'N/A'} /> |
| | | </Grid> |
| | | |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.row')} value={selectedLoc?.row || 'N/A'} /> |
| | | </Grid> |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.bay')} value={selectedLoc?.bay || 'N/A'} /> |
| | | </Grid> |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.lev')} value={selectedLoc?.lev || 'N/A'} /> |
| | | </Grid> |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.offset')} value={selectedLoc?.offset || 'N/A'} /> |
| | | </Grid> |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.locSts')} value={selectedLoc?.locSts$ || 'N/A'} /> |
| | | </Grid> |
| | | |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.zoneId')} value={selectedLoc?.zoneId$ || 'N/A'} /> |
| | | </Grid> |
| | | |
| | | <Grid item xs={12}> |
| | | <KeyValuePair label={translate('table.field.loc.code')} value={selectedLoc?.code$ || 'N/A'} /> |
| | | </Grid> |
| | |
| | | {translate('common.field.opt')} |
| | | </Typography> |
| | | <Stack spacing={2} mt={2}> |
| | | <Button variant="contained" color="error" fullWidth> |
| | | lock |
| | | </Button> |
| | | <Button variant="contained" disabled fullWidth> |
| | | unlock |
| | | </Button> |
| | | <Button variant="contained" fullWidth> |
| | | reset |
| | | {translate('page.map.insight.shelf.updateStatus')} |
| | | </Button> |
| | | <Button variant="contained" color="error" disabled={selectedLoc?.locStsEl !== 'STOCK'} fullWidth> |
| | | {translate('page.map.insight.shelf.outbound')} |
| | | </Button> |
| | | </Stack> |
| | | </Grid> |
| | |
| | | } |
| | | }, |
| | | server: { |
| | | port: 3000, |
| | | port: 5000, |
| | | host: '0.0.0.0' |
| | | }, |
| | | base: './', |