对接连续任务列表接口和连续任务下发,便捷操作中暂停任务的对接,底部导航tab项的设置根据用户角色显示和设置
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
class SiteTaskPlan {
|
||||
const SiteTaskPlan({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.deviceId,
|
||||
required this.status,
|
||||
required this.statusLabel,
|
||||
this.deviceAlias,
|
||||
this.routeId,
|
||||
this.startsAt,
|
||||
this.endsAt,
|
||||
this.rule,
|
||||
});
|
||||
|
||||
final int id;
|
||||
final String name;
|
||||
final String deviceId;
|
||||
final String? deviceAlias;
|
||||
final String status;
|
||||
final String statusLabel;
|
||||
final int? routeId;
|
||||
final String? startsAt;
|
||||
final String? endsAt;
|
||||
final SiteTaskPlanRule? rule;
|
||||
}
|
||||
|
||||
class SiteTaskPlanRule {
|
||||
const SiteTaskPlanRule({
|
||||
required this.type,
|
||||
this.time,
|
||||
this.weekdays = const [],
|
||||
this.monthDays = const [],
|
||||
});
|
||||
|
||||
final String type;
|
||||
final String? time;
|
||||
final List<String> weekdays;
|
||||
final List<String> monthDays;
|
||||
}
|
||||
Reference in New Issue
Block a user