Example #1
0
 public AuditTaskController(MaintenanceRequestServices mrServices, StatusServices statusService, SiteService siteService, PlantService plantService, MachineService machineService, UserService userService)
 {
     this._mrServices     = mrServices;
     this._statusService  = statusService;
     this._siteService    = siteService;
     this._plantService   = plantService;
     this._machineService = machineService;
     this._userService    = userService;
 }
Example #2
0
 public MaintenanceRequestController(MaintenanceRequestServices mrServices, SiteService siteService, PlantService plantService, LineService lineService, MachineService machineService, MaintenancePriorityTypeServices mtpService, StatusServices statusService, UserService userService)
 {
     this._mrServices     = mrServices;
     this._siteService    = siteService;
     this._plantService   = plantService;
     this._lineService    = lineService;
     this._machineService = machineService;
     this._mtpService     = mtpService;
     this._statusService  = statusService;
     this._userService    = userService;
 }
Example #3
0
 public HomeController(PreventiveMaintenanceService pmServices, PreventiveReviewHistoryService prhServices, PreventiveHoldHistoryService phhServices, BreakdownService breakDownService, PlantService plantService, MaintenanceRequestServices mrServices, StatusServices statusService, LineService lineService, UserService userService, FormulationRequestService formulationRequestService)
 {
     this._pmServices                = pmServices;
     this._prhServices               = prhServices;
     this._phhServices               = phhServices;
     this._breakDownService          = breakDownService;
     this._plantService              = plantService;
     this._mrServices                = mrServices;
     this._statusService             = statusService;
     this._lineService               = lineService;
     this._userService               = userService;
     this._formulationRequestService = formulationRequestService;
 }
Example #4
0
        private async void SaveAction(object obj)
        {
            if (string.IsNullOrEmpty(Model.Status.RecieverName) || Sign == null)
            {
                Helper.ShowMessageError("Lengkapi Nama Dan Tanda Tangan Penerima !");
            }
            else
            {
                var result = await StatusServices.AddItemAsync(Model);

                if (OnClose != null)
                {
                    OnClose(result, new EventArgs());
                }
            }
        }