-
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
-
4.1
编写程序,将BLKS为首址的连续N个字节数传送至BLKD为首址的存储区。要求用子程序实现数据的传送,由调用程序根据BLKS、BLKD、两者的位置关系以及数据块的大小为子程序提供入口参数。另外,要求分别采用三种方法实现参数传递,并要求保护和恢复现场。上机调试程序,检查程序正确性(Programming will be headed by BLKS site for N number of bytes sent to the US-led BLKD site storage area. Subroutine requires the transmission of data from the call process in accordance with BLKS, BLKD, the relationship between the two locations, as well as the size of data blocks the entrance of the parameters provided for the Subroutine. In addition, the requirements of the three methods were used to transfer parameters, and calls for the protection and restoration of the site. Debugger on the machine to check the correctness of the procedure)
- 2009-06-19 20:19:02下载
- 积分:1
-
2051
this is vijay form khammam.
- 2015-10-10 16:13:39下载
- 积分:1
-
Calculator-Services
说明: Form1 calculator walkdawdhawjhdawjd;awodawd(Form1 walkdawdhawjhdawjd;awodawd)
- 2019-09-30 00:54:22下载
- 积分:1
-
jsjdkgl
计算机系贷款管理(Department of Computer Loan Management)
- 2004-11-10 08:57:54下载
- 积分:1
-
951190
深入了解mpeg4,MPEG-4技术白皮书,有参考意义,还可以(An in-depth understanding of the mpeg4,MPEG-4 Technology White Paper is useful, but also useful)
- 2019-04-18 17:10:27下载
- 积分:1
-
SECOND
CST微波工作室的第二讲传输线特性仿真
(Lecture transmission line characteristic CST Microwave Studio simulation)
- 2016-03-14 15:47:39下载
- 积分:1
-
Project
FastSLAM: FastSLAM is the name for one of the most widely used methods for Rao-Blackwellized Particle filter SLAM.
- 2010-01-09 06:28:51下载
- 积分:1
-
js源码
使用javascrip绘制等值线,用于气象等行业数据绘制成等值线在web上显示(Javascrip is used to draw contour lines, which are used for meteorological and other industries to draw contour lines and display them on Web)
- 2017-10-13 12:35:05下载
- 积分:1
-
又是一个文件传输的一个程序,自己学习编程写的。
又是一个文件传输的一个程序,自己学习编程写的。-Is a file transfer of a program, written in their own learning programming.
- 2022-04-12 14:12:34下载
- 积分:1