-
C#自动更新服务(本地服务安装)
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Common.WinService;using Common.Log;using System.Threading;using Common.Net;using System.Text.RegularExpressions;namespace Collection.AutoRunner{ //获取学生信息 public class Service_Update_Data : IWindowsService { private ILogWriter _logWriter = null; private const string logCategory = "Services.Info"; private string logInfoSource = "Update_Data"; private const string logErrorCategory = "Services.Error"; private const string logErrorSource = "Update_Data_Error"; private bool BeStop = true; private System.Timers.Timer timer = null; public void Start(Common.Log.ILogWriter logWriter, string gameCode) { gameCode = gameCode.ToUpper(); logInfoSource = gameCode; _logWriter = logWriter; BeStop = false; StartRequestData(); } int stata = 0; private void StartRequestData() { try { #region 配置 //时间频率 var UpdateStudentSpan = ServiceHelper.GetInterval("UpdateData"); //更新学生开始时间 var studentbegintime = ServiceHelper.GetInterval("StudentBeginTime"); //更新学生结束时间 var studentendtime = ServiceHelper.GetInterval("StudentEndTime"); //是否更新学生基本信息:true为更新 false为不更新 var IsUpdateStudnet =Convert.ToBoolean(ServiceHelper.GetSystemConfig("IsUpdateStudnet")); #endregion timer = ServiceHelper.ExcuteByTimer(UpdateStudentSpan, () => { int timeHour = DateTime.Now.Hour; if (timeHour == 3) stata = 0; #region 更新学生基本信息 if (studentbegintime
- 2015-03-11下载
- 积分:1
-
5932748
Rle and huffman of the centralized coding and decoding()
- 2017-11-08 07:12:09下载
- 积分:1
-
a
说明: 得到函数地址的程序,菜鸟级产品不要笑我
刚学驱动(Adress Of function)
- 2009-06-24 10:28:07下载
- 积分:1
-
C# 屏幕放大镜 功能源码
实现鼠标移动到某处后放大效果,类似Windows放大镜
- 2020-12-24 23:29:04下载
- 积分:1
-
CanOpen的简单Demo
【实例简介】
- 2021-06-05 00:31:18下载
- 积分:1
-
INQIM2
说明:
- 2018-02-15 15:14:28下载
- 积分:1
-
OAsystem
c++与SQL的结合,办公室管理系统,需要配置数据源(c++ and SQL combination of office management systems, need to configure the data source)
- 2009-07-07 17:18:49下载
- 积分:1
-
C#版本的取色器
C#开发的取色器
- 2013-01-15下载
- 积分:1
-
soxrce
VC++编写的一个可以改变颜色的下拉框控件,本人觉得还是不错的啦!(Vc + + written a drop-down box control can change the color, I think is pretty good!)
- 2017-07-22 03:42:48下载
- 积分:1
-
C# 制作 IE插件例子源码下载
IE插件实现了 统计网页浏览时间
- 2014-09-11下载
- 积分:1