public TechnicianService(ISystemLog Logger,
                          ITechnicianProvider TechnicianProvider,
                          IBaseRepository <DataBase.TUSRMST, Tusrmst> tusrstRepo,
                          IBaseRepository <DataBase.TTechnicianGroup, TtechnicianGroup> TechnicianGroupRepo,
                          IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo)
 {
     this._tusrstRepo          = tusrstRepo;
     this._logger              = Logger;
     this._technicianRepo      = TechnicianRepo;
     this._technicianProvider  = TechnicianProvider;
     this._technicianGroupRepo = TechnicianGroupRepo;
     this._stickerPath         = ServerProfile.GetInstance().STICKER_PATH;
     this._technicianPath      = ServerProfile.GetInstance().TECHNICIAN_PATH;
     this._license             = ServerProfile.GetInstance().LICENSE_PATH;
 }
Beispiel #2
0
 public CallogService(ISystemLog Logger,
                      ICallogFactory CallogFactory,
                      IVendorFactory VendorFactory,
                      IPushFactory NotifyFactory,
                      ITechnicianProvider TechnicianProvider,
                      IImgRepository ImgRepo,
                      IBaseRepository <DataBase.TCMPDAT, Tcmpdat> CompRepo,
                      IBaseRepository <DataBase.TVENDER, Tvender> VenderRepo,
                      IBaseRepository <DataBase.TCALLOG, Tcallog> CallogRepo,
                      IBaseRepository <DataBase.TVenderTechnician, TvenderTechnician> TechnicianRepo,
                      IBaseRepository <DataBase.TVNDZO, Tvndzo> vndzoRepo,
                      IBaseRepository <DataBase.TZOCODE, Tzocode> zocodeRepo,
                      IBaseRepository <DataBase.TTechnicianGroup, TtechnicianGroup> technicianGroupRepo,
                      IBaseRepository <DataBase.TTechnicianGroupClaims, TtechnicianGroupClaims> technicianGroupClaimsRepo,
                      IBaseRepository <DataBase.TCallogCourse, TCallogCourse> CallogCourseRepo,
                      IBaseRepository <DataBase.TSTRMST, Tstrmst> storeRepo,
                      IBaseRepository <DataBase.TCallLogDateRecord, TCallLogDateRecord> DateRecordRepo,
                      IBaseRepository <DataBase.TCALINV, TCALINV> CALINVRepo,
                      IMailFactory MailFactory)
     : base(Logger, CallogRepo, CompRepo, VenderRepo, TechnicianRepo)
 {
     _logger             = Logger;
     _callogRepo         = CallogRepo;
     _vendorFactory      = VendorFactory;
     _venderRepo         = VenderRepo;
     _notifyFactory      = NotifyFactory;
     _callogFactory      = CallogFactory;
     _technicianRepo     = TechnicianRepo;
     _technicianProvider = TechnicianProvider;
     _url                       = ServerProfile.GetInstance().CALLOG_PATH;
     _vndzoRepo                 = vndzoRepo;
     _zocodeRepo                = zocodeRepo;
     _technicianGroupRepo       = technicianGroupRepo;
     _technicianGroupClaimsRepo = technicianGroupClaimsRepo;
     _ImgRepo                   = ImgRepo;
     _CallogCourseRepo          = CallogCourseRepo;
     _storeRepo                 = storeRepo;
     _MailFactory               = MailFactory;
     DateRecordRepo             = _DateRecordRepo;
     _CALINVRepo                = CALINVRepo;
 }