📄 ncs_depart_src_file.h
字号:
/*
//File name: "NCS_Depart_Src_File.h"
//Author: Mr. Zhujingkun
//From Date:1999,05,27
//This is the head file for the main file "NCS_Depart_Src_File.c"
*/
#ifndef NCS_Depart_Src_File
#define NCS_Depart_Src_File
//When in DEBUG mode, define this macro;
//When in a RELEASE mode, just remove this defination.
//#ifndef DEBUG
//#define DEBUG
//#endif
//ERROR_LOG_FILE located in :$HOME/etc directory
#define YSSMFile_Rec_Len 73
#define TJBBFile_Rec_Len 226
#define MAX_LINE_LEN 1500 //The max length of a text file used here
#define DEPART_DIRECTORY "/usr/bkfx/temp/"
#define GARBAGE_DIRECTORY "/usr/bkfx/garbage/"
#define ERROR_LOG_FILE "/usr/bkfx/log/errlog"
#define CONFIG_FILE_FOR_DATATYPE2PROCESSFILE "/usr/bkfx/etc/Datatype2ProcessFile"
#define CONFIG_FILE_FOR_TIMEINTERVAL "/usr/bkfx/etc/TimeIntervalFile"
#define DEFAULT_TIMEINTERVAL 5 //Used when cannot find the specified.
#define FILE_FROM_YWJ "/usr/bkfx/data/rcv/wk/netwk"
#define TOTAL_FILE_TYPE 8 //Total count of the file type
#define TYPE_NAME_LEN 20 //Max Datatype name length
#define PROGRAM_NAME_LEN 100 //The max length of a process program name
#define TXJ_RCV_DATA_DIR "/usr/bkfx/data/rcv/wk/" //Receive directory
#define YXFILE_LIST "/usr/bkfx/data/rcv/YXFileList" //All the YX File name should be listed here
#define SEQUENCE_FILE_NAME "/usr/bkfx/etc/SendSequence" //Contains a number of the current send sequence
//which should be transfered to process as a parameter and write to t_hz table.
//a structure link table.
struct sCorresPondTable
{
char cTypeName[TYPE_NAME_LEN];
char cProgramName[PROGRAM_NAME_LEN];
struct sCorresPondTable* pNext;
};
//define some global variables
char cTypeArray[TOTAL_FILE_TYPE][TYPE_NAME_LEN+1];
char cProgramArray[TOTAL_FILE_TYPE][PROGRAM_NAME_LEN+1];
int iTInterval;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -