Beispiel #1
0
        public static void initialize()
        {
            SystemInfoRepository stInfoRepo = new SystemInfoRepository();

            SystemInfo = stInfoRepo.ListAll()[0];
            company    = new CompanyController().ListALL()[0];
        }
Beispiel #2
0
 public MainController()
 {
     this.CipherManager  = new CipherManagerController();
     this.infoRepository = new SystemInfoRepository();
     int           num   = 0;
     TimerCallback tm    = new TimerCallback((s) => { this.Send?.Invoke("Get", "Request"); });
     Timer         timer = new Timer(tm, num, 0, 300000);
 }
 public SystemInfoService(SystemInfoRepository SystemInfoRepository)
 {
     this._systemInfoRepository = SystemInfoRepository;
 }