device actions fully imported
This commit is contained in:
parent
59d9bf2e6b
commit
9cdf7514b2
7 changed files with 522 additions and 76 deletions
|
|
@ -34,8 +34,8 @@ import NotificationButton from "common/NotificationButton";
|
|||
// import ComponentSettings from "component/ComponentSettings";
|
||||
// import DeviceSettings from "device/DeviceSettings";
|
||||
// import LoadDeviceProfile from "device/LoadDeviceProfile";
|
||||
// import { PauseData } from "device/PauseData";
|
||||
// import { ResumeData } from "device/ResumeData";
|
||||
import { PauseData } from "device/PauseData";
|
||||
import { ResumeData } from "device/ResumeData";
|
||||
// import SaveDeviceProfile from "device/SaveDeviceProfile";
|
||||
import SyncDevice from "device/SyncDevice";
|
||||
// import UpgradeDevice from "device/UpgradeDevice";
|
||||
|
|
@ -67,6 +67,9 @@ import ComponentSettings from "component/ComponentSettings";
|
|||
import LoadDeviceProfile from "./LoadDeviceProfile";
|
||||
import InteractionSettings from "interactions/InteractionSettings";
|
||||
import SaveDeviceProfile from "./SaveDeviceProfile";
|
||||
import Connection from "./Connection";
|
||||
import ComponentOrder from "component/ComponentOrder";
|
||||
import ArcGISDeviceData from "./ArcGISDeviceData";
|
||||
|
||||
const useStyles = makeStyles((_theme: Theme) => {
|
||||
// const isMobile = useMobile()
|
||||
|
|
@ -457,7 +460,7 @@ export default function DeviceActions(props: Props) {
|
|||
device={device}
|
||||
refreshCallback={refreshCallback}
|
||||
/>
|
||||
{/* <PauseData
|
||||
<PauseData
|
||||
id={device.id()}
|
||||
isOpen={isPauseDialogOpen}
|
||||
close={closeAndRefresh("isPauseDialogOpen")}
|
||||
|
|
@ -485,7 +488,7 @@ export default function DeviceActions(props: Props) {
|
|||
close={closeAndRefresh("isJsonDataDialogOpen")}
|
||||
device={device}
|
||||
components={components}
|
||||
/> */}
|
||||
/>
|
||||
</React.Fragment>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue