Example #1
0
 public void Shutdown()
 {
     if (DeviceStateManager != null)
     {
         DeviceStateManager.StopWorkflow();
         DeviceStateManager = null;
     }
 }
        public IDeviceStateActionController GetStateActionController(IDeviceStateManager manager)
        {
            if (manager == null)
            {
                throw new ArgumentNullException(nameof(manager));
            }

            return(new DeviceStateActionControllerImpl(manager));
        }
 public DeviceStateActionControllerImpl(IDeviceStateManager manager) => (this.manager) = (manager);