public DeviceAlarmStatusChangeDomainEvent(AggregatesModel.DeviceAggregate.Device device, string alarmCode, string oldStatus, string targetCode) { Device = device; AlarmCode = alarmCode; OldStatus = oldStatus; TargetCode = targetCode; }
public DeviceOffLineDomainEvent(AggregatesModel.DeviceAggregate.Device device) { Device = device; }
public TerminalResetRegionDomainEvent(AggregatesModel.DeviceAggregate.Device device) { Device = device ?? throw new ArgumentNullException(nameof(device)); }
public DeviceRenameDomainEvent(AggregatesModel.DeviceAggregate.Device device) { Device = device ?? throw new ArgumentNullException(nameof(device)); }
public CreateDeviceDomainEvent(AggregatesModel.DeviceAggregate.Device device) { Device = device; }