-
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
-
xlpvijx
关于 windows 下 perl 的一个小例子,()
- 2017-11-11 12:41:42下载
- 积分:1
-
mysqlService
此代码是实现系统已安装MYSQL服务检测监控来作介绍,如果把条件去掉就能管理系统所有服务(This code is to achieve the MYSQL service inspection and monitoring system has been installed to be introduced, if the conditions to remove all the services will be able to manage system)
- 2013-05-15 12:54:52下载
- 积分:1
-
sapjcorfc
说明: java 连接 sap 要用到的 librfc32.dll文件.将librfc32.dll的文件复制到目录 {windows-dir}\system32下面。如果该文件已经存在,则覆盖它。这个文件就是SAP的RFC协议实现,(sap to use java to connect to the librfc32.dll document. librfc32.dll documents will be copied to the directory (windows-dir) system32 below. If the file already exists, then cover it. This document is SAP)
- 2008-10-06 13:51:32下载
- 积分:1
-
DISKSN
修改硬盘序列号工具,可以用来修改硬盘序列号,对于绑定硬件的有用。(DISKSN TOOLS,FOR DISK SN,FOR WD ,FOR ,MATRIO,FOR SAMSUNG,FOR RI )
- 2021-03-23 17:49:16下载
- 积分:1
-
95342063
自己编写的超宽带系统简单仿真平台,有简单界面 包括可替换的脉冲成型半余弦脉冲,IEEE802 15 3a的修正SV信道,最大()
- 2018-04-19 20:43:15下载
- 积分:1
-
linyunzuiqiangyuan
可以保存剪切板历史文本,可以快速填序列号,也可上网填表格,还能自动抓取网页文本,快速打开文件夹,快速打开网络地址,小型个人数据管理,显示桌面,支持系统托盘,有delphi7源码,我试用过华军所有同类软件,这是最好的,我自信(Clipboard history of the text can be saved, you can quickly fill in the serial number can also fill in online forms, the text can automatically crawl web pages, quick open folders, quick open network address, a small personal data management, display the desktop, system tray support, There are delphi7 source, I tried all Huajun similar software, this is the best, I self-confidence)
- 2009-06-12 01:53:52下载
- 积分:1
-
357346436
易语言应用XP注册表解释文档,很好的参考资料。有需要的就下载吧。(Easy language to explain application of XP registry documents, a good reference. There is a need to download it.)
- 2013-10-05 08:54:16下载
- 积分:1
-
NetworkAdapter
在硬件设置上禁用和启动多个网卡,在xp、win98、win2000上测试过(the hardware setup and launched a number of banned card, xp, win98, tested on WIN2000)
- 2005-04-26 15:28:21下载
- 积分:1
-
GetSerial
一个通过硬件信息生成序列号的源码示例,适合制作根据硬盘特征码生成序列号(Information generated through the hardware serial number of the source code examples for the production of signature generation based on the hard disk serial number)
- 2009-07-02 12:19:18下载
- 积分:1