|  |  |  | 
|---|
|  |  |  | Button, | 
|---|
|  |  |  | Divider, | 
|---|
|  |  |  | Stack, | 
|---|
|  |  |  | useTheme, | 
|---|
|  |  |  | } from '@mui/material'; | 
|---|
|  |  |  | import AgvThree from './AgvThree'; | 
|---|
|  |  |  | import { getAgvInfo } from '../../http'; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const AgvMain = (props) => { | 
|---|
|  |  |  | const { data, curAgvNo, setCurAgvNo } = props; | 
|---|
|  |  |  | const theme = useTheme(); | 
|---|
|  |  |  | const translate = useTranslate(); | 
|---|
|  |  |  | const containerRef = useRef(); | 
|---|
|  |  |  | const [loading, setLoading] = useState(true); | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return endThree; | 
|---|
|  |  |  | }, [info]); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const handleReset = () => { | 
|---|
|  |  |  | alert(1) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return ( | 
|---|
|  |  |  | <Box display="flex" height="100%"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <Stack spacing={2} mt={2}> | 
|---|
|  |  |  | <ConfirmButton | 
|---|
|  |  |  | label="page.map.action.reset" | 
|---|
|  |  |  | color="info" | 
|---|
|  |  |  | color="primary" | 
|---|
|  |  |  | variant="contained" | 
|---|
|  |  |  | onConfirm={() => { | 
|---|
|  |  |  | alert(1) | 
|---|
|  |  |  | handleReset(); | 
|---|
|  |  |  | }} | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | {info && ( | 
|---|