| | |
| | | import * as Utils from '../utils' |
| | | import ShelfDrawer from './shelf'; |
| | | import AgvDrawer from './agv'; |
| | | import PointDrawer from './point' |
| | | |
| | | const useStyles = createStyles(({ token, css }) => { |
| | | |
| | |
| | | rootStyle={{ position: "absolute" }} |
| | | mask={false} |
| | | width={600} |
| | | style={{ |
| | | opacity: .8 |
| | | }} |
| | | extra={ |
| | | <Space> |
| | | <Button onClick={handleCancel}> |
| | |
| | | /> |
| | | </> |
| | | )} |
| | | {props.curSprite?.data?.type === Utils.SENSOR_TYPE.POINT && ( |
| | | <> |
| | | <PointDrawer |
| | | curSprite={curSprite} |
| | | /> |
| | | </> |
| | | )} |
| | | {props.curSprite?.data?.type === Utils.SENSOR_TYPE.AGV && ( |
| | | <> |
| | | <AgvDrawer |