mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 07:14:56 +00:00
integrate report and table view two sensors, use mock data for reports
This commit is contained in:
@ -17,3 +17,25 @@ class CeilingChangeValueEvent extends CeilingSensorEvent {
|
||||
@override
|
||||
List<Object> get props => [value, code];
|
||||
}
|
||||
|
||||
class GetCeilingDeviceReportsEvent extends CeilingSensorEvent {
|
||||
final String code;
|
||||
final String deviceUuid;
|
||||
|
||||
const GetCeilingDeviceReportsEvent(
|
||||
{required this.code, required this.deviceUuid});
|
||||
|
||||
@override
|
||||
List<Object> get props => [code, deviceUuid];
|
||||
}
|
||||
|
||||
class ShowCeilingDescriptionEvent extends CeilingSensorEvent {
|
||||
final String description;
|
||||
|
||||
const ShowCeilingDescriptionEvent({required this.description});
|
||||
|
||||
@override
|
||||
List<Object> get props => [description];
|
||||
}
|
||||
|
||||
class BackToCeilingGridViewEvent extends CeilingSensorEvent {}
|
||||
|
||||
Reference in New Issue
Block a user