-
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
-
AFPSK
实现信号的调制解调功能,包括各类调制如ASK(调幅),PSK(调相),FSK(调频)。(Realize signal modulation and demodulation functions, including various types of modulation such as ASK (amplitude modulation), PSK (phase modulation), FSK (FM).)
- 2008-05-21 09:39:28下载
- 积分:1
-
Snow
调用API 桌面飘雪,圣诞雪花、、、、、、、、、、、、、、、、、、、、、、、
- 2013-11-09 20:27:40下载
- 积分:1
-
PeerYou远程控制软件源代码
完全实现注册表处理,文件处理。服务端采用多线程服务,能最好的处理SOCKET请求。数据接收、发送函数可以说是现阶段最好的,采用异步重叠操作。可以取得被控机器上的硬件信息,文件信息,注册表以及进行屏幕控制。 代码中的SOCKET重叠I/O的实现也很值得参(complete registry handling, document handling. Server using multithreading services will best address SOCKET request. Data reception, sending function can be said at this stage the best, using asynchronous overlapping operations. Machines can get charged with the hardware information, document information, registry and control for the screen. SOCKET code of overlapping I/O is also the realization worth Participation)
- 2005-05-07 13:56:36下载
- 积分:1
-
bb1
说明: 用队列或栈实现一个简单的停车场管理的系统(Queue or stack with the realization of a simple car park management system)
- 2008-12-08 16:49:34下载
- 积分:1
-
MoTag
MO的图形显示功能很弱,本例程很好的展示了的使用自绘图标的展示功能(MO)
- 2009-09-27 21:38:07下载
- 积分:1
-
Winform 模拟QQ窗体效果
模拟QQ窗体
- 2013-01-07下载
- 积分:1
-
C#版的颜色拾取器 原理实现以及 源码
颜色拾取器实例
- 2013-01-17下载
- 积分:1
-
MemoryMouseInfo
利用VC程序实现系统编程中的跟踪内存状态的功能。(Procedures for system programming using VC in the state to track memory function.)
- 2011-10-19 15:52:50下载
- 积分:1
-
WinKey
这是一个通过冻结winlogon程序实现的屏蔽win7下ctl+alt+del键的功能,仔细看,不别乱喷。(this is a app to keep out the win key!)
- 2016-06-17 17:14:36下载
- 积分:1