Exemple #1
0
        /// <summary>
        /// ctor
        /// </summary>
        public OrbitViewModel(IPumpService pumpService)
        {
            _pumpService      = pumpService;
            _commandsFileName = "";
            _statesFileName   = "";

            TotalWorkTime = "";
            Commands      = new BindableCollection <CommandsViewModel>();
        }
 //public readonly IMachineService _IMachineService;
 public PumpController(IPumpService fuelService, ITankService productService)//, IMachineService machineService)
 {
     _ITankService = productService;
     _pumpService  = fuelService;
     //this._IMachineService = machineService;
 }
Exemple #3
0
 public PumpHub(IPumpService pumpService)
 {
     PumpService = pumpService;
 }
Exemple #4
0
 public ProductController(IPumpService fuelService, IProductService productService)
 {
     _IProductService = productService;
     _pumpService     = fuelService;
 }
 public PumpController(IPumpService pumpService)
 {
     this.pumpService = pumpService;
 }
Exemple #6
0
 public PumpHostedService(IPumpService pumpService, IHubContext <PumpHub> pumpHubContext)
 {
     PumpHubContext = pumpHubContext;
     PumpService    = pumpService;
 }