mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
push ac batch control
This commit is contained in:
@ -22,6 +22,16 @@ class ACStatusLoaded extends AcsState {
|
||||
List<Object> get props => [status, timestamp];
|
||||
}
|
||||
|
||||
class AcBatchStatusLoaded extends AcsState {
|
||||
final AcStatusModel status;
|
||||
final DateTime timestamp;
|
||||
|
||||
AcBatchStatusLoaded(this.status) : timestamp = DateTime.now();
|
||||
|
||||
@override
|
||||
List<Object> get props => [status, timestamp];
|
||||
}
|
||||
|
||||
class AcsFailedState extends AcsState {
|
||||
final String error;
|
||||
|
||||
|
Reference in New Issue
Block a user