2022-12-14 17:33:38 +00:00
|
|
|
abstract class MeteringCommunicationEvent {
|
|
|
|
const MeteringCommunicationEvent();
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class SourceEvent extends MeteringCommunicationEvent {
|
|
|
|
const SourceEvent();
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract class ScreenEvent extends MeteringCommunicationEvent {
|
|
|
|
const ScreenEvent();
|
|
|
|
}
|
|
|
|
|
|
|
|
class MeasureEvent extends ScreenEvent {
|
|
|
|
const MeasureEvent();
|
|
|
|
}
|
|
|
|
|
2023-02-19 10:26:14 +00:00
|
|
|
abstract class MeasuredEvent extends SourceEvent {
|
2022-12-14 17:33:38 +00:00
|
|
|
final double ev100;
|
|
|
|
|
|
|
|
const MeasuredEvent(this.ev100);
|
|
|
|
}
|
2023-02-19 10:26:14 +00:00
|
|
|
|
|
|
|
class MeteringInProgressEvent extends MeasuredEvent {
|
|
|
|
const MeteringInProgressEvent(super.ev100);
|
|
|
|
}
|
|
|
|
|
|
|
|
class MeteringEndedEvent extends MeasuredEvent {
|
|
|
|
const MeteringEndedEvent(super.ev100);
|
|
|
|
}
|