10 2013 档案
摘要:C# 编写Windows服务、部署、启动以及卸载1、创建 ,2、在构造函数中启动 System.Timers.Timer3、编写代码后,创建其安装程序;ServiceName即4、安装:C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe 服务exe路径5、启动:net start 6、卸载:C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u 服务exe路径
阅读全文
摘要://json时间转为 标准时间格式function JSONDateToJSDate(JSONDateString) { if (JSONDateString != undefined) { var date = new Date(parseInt(JSONDateString.replace("/Date(", "").replace(")/", ""), 10)); var hh = date.getHours(); var mm = date.getMinutes(); var ss = date.getSe
阅读全文

浙公网安备 33010602011771号