| | |
| | | |
| | | |
| | | const AgvMainDetail = ({ record }) => { |
| | | const translate = useTranslate(); |
| | | return ( |
| | | <Grid container spacing={1} sx={{ maxWidth: GRID_CONTAINER_MAX_WIDTH }}> |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='common.field.status' /> |
| | | <DetailValue value={record.agvDetail.statusDesc} /> |
| | | </Grid> |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvDetail.pos' /> |
| | | <DetailValue value={record.agvDetail.pos === 1 ? translate('common.enums.true') : translate('common.enums.false')} /> |
| | | </Grid > |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvDetail.code' /> |
| | | <DetailValue value={record.agvDetail.code$} /> |
| | | </Grid> |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agv.ip' /> |
| | | <DetailValue value={record.ip} /> |
| | |
| | | const translate = useTranslate(); |
| | | return ( |
| | | <Grid container spacing={1} sx={{ maxWidth: GRID_CONTAINER_MAX_WIDTH }}> |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvDetail.pos' /> |
| | | <DetailValue value={record.agvDetail.pos === 1 ? translate('common.enums.true') : translate('common.enums.false')} /> |
| | | </Grid > |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvDetail.code' /> |
| | | <DetailValue value={record.agvDetail.code$} /> |
| | | </Grid> |
| | | |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvDetail.agvAngle' /> |
| | | <DetailValue value={record.agvDetail.agvAngle} /> |
| | |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvDetail.workDistance' /> |
| | | <DetailValue value={record.agvDetail.workDistance} /> |
| | | </Grid> |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='common.field.status' /> |
| | | <DetailValue value={record.agvDetail.statusDesc} /> |
| | | </Grid> |
| | | </Grid > |
| | | ) |
| | |
| | | </Grid> |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvModel.allDirection' /> |
| | | <DetailValue value={record.agvModelData.allDirection} /> |
| | | <DetailValue value={record.agvModelData.allDirection === 1 ? translate('common.enums.true') : translate('common.enums.false')} /> |
| | | </Grid> |
| | | <Grid item xs={ITEM_COL}> |
| | | <DetailTitle title='table.field.agvModel.protocol' /> |