-
vc++ 6.0开发控制台Windows服务监控程序
vc++6.0 实现基于控制台的Windows服务监控程序,可实现windows服务监控和检测网关程序的侦听端口,运行后请根据CMD窗口的提示操作。if (pstProgNodeBuf->m_nFlag == 2) //连接当前Sgip侦听的端口
{
if (!ConnectSgipServer(pstProgNodeBuf->m_nPort)) //SGIP不正常运行
{
if (!StartUnlimitService(pstProgNodeBuf->m_szServiceName)) //启动该服务
{
sprintf(szLog,"启动该[%s]服务失败",pstProgNodeBuf->m_szServiceName);
WriteLogRecord(szLog);
LogMsg(szLog);
pstProgNodeBuf->m_iRecCount ++ ; //超过2次启动服务失败
if(difftime(tCurrTime,pstProgNodeBuf->tSendShortTime) > 2*60*60 && pstProgNodeBuf->m_iRecCount >= 2) //检测发送短消息时间间隔 (设置值为1个小时即1*60*60秒)
{
CString strSendMessage;
strSendMessage.Format("%s",pstProgNodeBuf->m_szSendMessage);
//发送短消息
//连接服务器,发送内容
//发送短消息
- 2022-02-09 22:47:24下载
- 积分:1
-
制作的分步注册表单插件
一款使用jQuery制作的分步注册表单插件(A Step-by-Step Registration Form Plug-in Using jQuery)
- 2019-01-02 13:26:03下载
- 积分:1
-
小巧又很好用的串口调试工具,比其他普通常用的功能强大的多。...
小巧又很好用的串口调试工具,比其他普通常用的功能强大的多。-Also good used compact serial debugging tools, than other commonly used general and more powerful.
- 2022-05-28 18:30:29下载
- 积分:1
-
Microcomputer Principle lecture PPT for all courses are all experiments (includi...
微机原理课程
所有讲义PPT
课程全实验(包括代码程序设计实验报告)
习题及答案
-Microcomputer Principle lecture PPT for all courses are all experiments (including the experimental design code procedures report) Exercises and answers
- 2022-04-21 21:47:47下载
- 积分:1
-
documet-slar
说明: Side looking air borne radar
- 2020-06-21 20:40:01下载
- 积分:1
-
PNG
prime number game
enter prime number~
- 2018-07-05 23:02:54下载
- 积分:1
-
classic game machines produced in Taiwan the second largest guaranteed fun
台湾生产的经典游戏机第二大保证乐趣
- 2022-02-06 11:00:41下载
- 积分:1
-
DFIG
说明: wind energy based on dfig system (PSCAD Model)
- 2020-03-20 11:45:13下载
- 积分:1
-
hello-world2
说明: Simple hello world in asm
- 2020-01-04 10:42:27下载
- 积分:1
-
EMG_LP_Kalman_filter
说明: 表面肌电信号是肌肉收缩时伴随的电信号,是在体表无创检测肌肉活动的重要方法。由于设备采集到的肌电信号会受到环境噪声等影响,因此在进一步分析之前需要对采集的肌电信号进行去噪处理。
设计一种传统滤波器(如Buttterworth)和现代滤波器(Kalman)对所采集的肌电信号进行处理,并比较各个肌肉的做功比。(Surface emg signal is the concomitant signal of muscle contraction and is an important noninvasive method to detect muscle activity on the body surface. Because the electromyographic signals collected by the equipment will be affected by environmental noise, it is necessary to de-noise the collected electromyographic signals before further analysis.
A traditional filter (such as Buttterworth) and a modern filter (Kalman) are designed to process the collected emg signals and compare the work ratio of each muscle.)
- 2019-03-22 17:21:42下载
- 积分:1