*
* a single point of information service
*
*
////////////////////////////////////////////////////////////////////////////*/
Void init_SP_create (
Int data_counts=512,//data_counts & lt;=1024
DWORD addr_low=0 x0001,//unsigned long int
DWORD addr_high x0200=0,
BYTE timestamp=1//0:3 bytes timestamp, 1:7 bytes timestamp
);
Void init_SP_setgroup (int index, BYTE group=1);
Void init_SP_enable (bool enable=1);
//255: means invalidate, IV: 0/1 NT of them is: 0 current value/1 the current SB: 0 not replace/1 be replaced BL: 0 is not OV atresia/1 atresia: overflow/0:1 don't overflow
Void slave_SP_SetQuality (int index, BYTE IV=255, BYTE NT=255, BYTE SB=255, BYTE BL=255).
Void slave_SP_SetData (int index,//-based on 0
BYTE value, SYSTEMTIME * timetag=NULL);
Such a short period of program, specific want to realize what kind of function, is how to achieve