コード例 #1
0
        public SISKPICalcService()
        {
            InitializeComponent();
            String configFile = AppDomain.CurrentDomain.BaseDirectory + "SISKPI.CalcService.exe.config";
            RemotingConfiguration.Configure(configFile, false);
            m_KPICalc = new WS_KPIMainMethod();
            m_Timer = new Timer();
            m_Timer.Interval = 60000;
            m_Timer.Elapsed += new ElapsedEventHandler(m_Timer_Elapsed);

            m_ReCalcTimer = new Timer();
            m_ReCalcTimer.Interval = 60000 * 30;
            m_ReCalcTimer.Elapsed += new ElapsedEventHandler(m_ReCalcTimer_Elapsed);
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: JackSunny1980/SISKPI
 private static void KPIRecalculate()
 {
     WS_KPIMainMethod KPICalc = new WS_KPIMainMethod();
     KPICalc.KPIAppRunForRecalculate();
 }
コード例 #3
0
        private static void KPIRecalculate()
        {
            WS_KPIMainMethod KPICalc = new WS_KPIMainMethod();

            KPICalc.KPIAppRunForRecalculate();
        }