-
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
-
4669
相册平滑效果源码,例程程序结合易语言特殊功能支持库,在循环移动图片框时使用“延迟”命令。形成一个图片框平滑移动的效果(Album smoothing effect Source , routine program combining special features easy language support library , use the delay command when the cycle moving picture frame . )
- 2015-11-28 21:23:41下载
- 积分:1
-
PING功能是网络程序中的一个基本功能,了解其编写对于了解网络底层函数有很重要的意义,希望对大家有所帮助...
PING功能是网络程序中的一个基本功能,了解其编写对于了解网络底层函数有很重要的意义,希望对大家有所帮助-PING function is the procedure for the network a basic functions, to understand their preparation for the understanding of the underlying network functions are very important, we hope to help
- 2022-12-22 15:10:08下载
- 积分:1
-
IC_Pro
此为电表售电管理系统,采用MFC制作,里面有详细的使用VC做数据库的及时间控制的经典源码(IC_MFC)
- 2010-05-07 23:44:39下载
- 积分:1
-
一个用vc+qt开发即时通讯系统,其中视频部分基于h.263的算法实现...
一个用vc+qt开发即时通讯系统,其中视频部分基于h.263的算法实现-A used vc+ Qt development of instant messaging system, based in part on the H.263 video algorithm
- 2022-09-06 02:40:03下载
- 积分:1
-
哪位VC高手帮帮我,很长时间了,调不出来。是一个EMAIL的SMTP发邮件的。谢谢!!!如果调好了请发到LIHUALIU81@163.COM...
哪位VC高手帮帮我,很长时间了,调不出来。是一个EMAIL的SMTP发邮件的。谢谢!!!如果调好了请发到LIHUALIU81@163.COM-master help me, a very long time, stressed out. Email is one of the SMTP mail. Thank you! ! ! If the request is better made to LIHUALIU81@163.COM
- 2023-01-29 12:40:03下载
- 积分:1
-
用VC++ Socket编程 简单的Tcpip服务器的源代码格式
用VC++ Socket编程 简单的Tcpip服务器的源代码格式-With VC++ Socket programming simple Tcpip server source code format
- 2022-05-14 05:14:00下载
- 积分:1
-
streetlight
street light monitoring and lighting in the domain of embedded system. It contains the embedded c coding..
- 2015-02-27 19:40:32下载
- 积分:1
-
HELLOMFC
Visual C++ 6.0 程序设计从入门到精通 实例2-1 helloMFC(Example 2-1 helloMFC Visual C++ 6.0 programming from entry to the master)
- 2012-11-03 11:31:50下载
- 积分:1
-
C#版封装的近400个Windows API 类 下载
Windows API 类常用方法锦集
- 2013-01-08下载
- 积分:1