12345678910111213141516171819202122232425262728293031323334353637383940 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Wayne.FDCPOSLibrary;
- namespace Edge.Core.IndustryStandardInterface.Pump
- {
-
-
-
- public class FdcPumpControllerOnStateChangeEventArg : EventArgs
- {
- public FdcPumpControllerOnStateChangeEventArg(LogicalDeviceState newPumpState)
- : this(newPumpState, null)
- {
- this.NewPumpState = newPumpState;
- }
-
-
-
-
-
- public FdcPumpControllerOnStateChangeEventArg(LogicalDeviceState newPumpState, LogicalNozzle stateChangedNozzle)
- {
- this.NewPumpState = newPumpState;
- if (stateChangedNozzle != null)
- this.StateChangedNozzles = new LogicalNozzle[] { stateChangedNozzle };
- }
-
-
-
- public LogicalDeviceState NewPumpState { get; }
- public IEnumerable<LogicalNozzle> StateChangedNozzles { get; }
- }
- }
|