| | |
| | | const createPath = useCreatePath(); |
| | | const record = useRecordContext(props); |
| | | if (!record) return null; |
| | | console.log(record); |
| | | return ( |
| | | <Link |
| | | to={createPath({ |
| | |
| | | > |
| | | <Box display="flex" flexDirection="row" alignItems="center" justifyContent='space-between'> |
| | | <PulseSignal |
| | | flag={true} |
| | | flag={record.online} |
| | | /> |
| | | <Typography variant="caption" > |
| | | vol: |
| | |
| | | <Box display="flex" flexDirection="column" alignItems="center"> |
| | | <AgvAvatar /> |
| | | <Box textAlign="center" marginTop={2}> |
| | | <Typography variant="subtitle2"> |
| | | <Typography |
| | | variant="subtitle2" |
| | | color="textSecondary" |
| | | component="div" |
| | | sx={{ fontWeight: 'bold' }} |
| | | > |
| | | {record.agvStatus} |
| | | </Typography> |
| | | <Typography variant="overline" sx={{ opacity: .7 }}> |