完成路及规划的作业的开始工作成功.
完成路径规划的暂停功能的对接 完成路径规划的继续功能的对接 完成路径规划的停止功能的对接
This commit is contained in:
@@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user