作业首页和机器状态的数据
This commit is contained in:
@@ -16,8 +16,11 @@ class DeviceTaskModel extends DeviceTaskEntity {
|
||||
return DeviceTaskModel(
|
||||
id: json['id'] as int,
|
||||
deviceId: json['deviceId'] as String? ?? '',
|
||||
taskStatus: json['taskStaus'] as String? ?? '',
|
||||
taskStatusTranslate: json['taskStausTranslate'] as String? ?? '',
|
||||
taskStatus: (json['taskStaus'] ?? json['taskStatus']) as String? ?? '',
|
||||
taskStatusTranslate:
|
||||
(json['taskStausTranslate'] ?? json['taskStatusTranslate'])
|
||||
as String? ??
|
||||
'',
|
||||
routeId: json['routeId'] as int?,
|
||||
siteId: json['siteId'] as int?,
|
||||
orgId: json['orgId'] as int?,
|
||||
|
||||
Reference in New Issue
Block a user