|
@@ -10,6 +10,7 @@ import {
|
|
|
GENERATOR_STATUS,
|
|
|
GeneratorStatus,
|
|
|
} from '@/states/exam/deviceAreaSlice';
|
|
|
+import triggerInspection from '../../API/exam/triggerInspection';
|
|
|
|
|
|
const DeviceArea = ({ className }: { className?: string }) => {
|
|
|
const generatorStatus = useSelector(
|
|
@@ -68,6 +69,7 @@ const DeviceArea = ({ className }: { className?: string }) => {
|
|
|
// }
|
|
|
/>
|
|
|
}
|
|
|
+ onClick={triggerInspection}
|
|
|
title={`曝光指示器: ${exposureStatus}`}
|
|
|
/>
|
|
|
<Button
|