📄 pcs_snd_gh_p.pc
字号:
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* File name : Pcs_Snd_GH_P.pc *
* Module ID : MD-P16-01 *
* Module Name : *
* Purpose : Find GH Data From DataBase And Send To MQ *
* Author : Liu Yan Qiu (DIMPT) *
* Date Created : 1999/10/28 *
* Version : Version 1.0 *
* Environment : Digital Unix *
* Portability : DEC ALPHA Server *
* Warnings : *
* References : *
* Calling Syntax : *
* Parameters : None *
* Returns : void *
* Calling Function : *
* Called Functions : When system startup *
* Datastores and usages : *
* (a) Input *
* (b) OutPut *
* Report : None *
* Screens : None *
* Messages Files : None *
* Change Log : *
* Change No. : Date Author Reason For Change *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
#include "/usr/bkfx/include/Pcs_Snd_GH_P/Pcs_Snd_GH_P.h"
void main()
{
signal( SIGTERM, Free_Mem);
EXEC SQL INCLUDE SQLCA;
ProcessError(LOG_NORMAL, "Pcs_Snd_GH_P.x Is Begin!",END);
while(1)
{
rtn_code = MQBKInit("CSGL");
if ( rtn_code < 0 )
{
ProcessError(LOG_ERROR,"Calling Funtion MQBKInit() Failed!",END);
sleep(InitInterval);
}
else
break;
}
rtn_code = InitSndGHP();
if (rtn_code < 0)
{
ProcessError(LOG_ERROR,"Pcs_Snd_GH_P.x: Calling Function \
InitSndGHP() Failed!",END);
}
rtn_code = PCSSndGHP();
if (rtn_code < 0)
{
ProcessError(LOG_ERROR,"Pcs_Snd_GH_P.x: Calling Function \
PCSSndGHP() Failed!",END);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -