完成路及规划的作业的开始工作成功.

完成路径规划的暂停功能的对接
完成路径规划的继续功能的对接
完成路径规划的停止功能的对接
This commit is contained in:
2026-03-11 10:01:36 +08:00
parent 394348b231
commit b6e4189573
9 changed files with 71 additions and 13 deletions

View File

@@ -56,6 +56,7 @@ class DevicesState extends Equatable {
DeviceOperationType? operationType,
List<Map<String, dynamic>>? pathData,
List<DeviceAddPathPointModel>? generatedPath,
AppState? appState,
}) {
return DevicesState(
devices: devices ?? this.devices,
@@ -68,6 +69,7 @@ class DevicesState extends Equatable {
workRecords: workRecords ?? this.workRecords,
operationType: operationType ?? this.operationType, // 更新操作类型
generatedPath: generatedPath ?? this.generatedPath, // 更新生成的路径数据
appState: appState ?? this.appState, // 更新应用状态
);
}
@@ -80,5 +82,6 @@ class DevicesState extends Equatable {
pathData,
operationType,
generatedPath,
appState,
];
}