44 int isFirstCallStep=1;
45 COORD rCursorPosition;
48 setlocale( LC_ALL,
"Russian" );
55 CONSOLE_SCREEN_BUFFER_INFO csbiInfo;
61 rCoord=csbiInfo.dwSize;
64 rWindow=csbiInfo.srWindow;
65 rWindow.Right = rCoord.X-1;
68 bret=SetConsoleScreenBufferSize(
hConsoleOut, rCoord);
69 bret=SetConsoleWindowInfo(
hConsoleOut, TRUE, &rWindow );
73 char *asColumnName[256] = {
" TEST_NAME ",
" S0 ",
" S1 ",
" S2 ",
" S3 ",
" S4 ",
" S5 ",
" S6 ",
" S7 " };
86 int nCnt =
sizeof(arParse)/
sizeof(
TParse);
90 printf(
"LOG:Start test.\n");
134 printf(
"LOG:Stop test.\n");
138 BRDC_printf( _BRDC(
"\n\nОтмена\n") );
148 BRDC_printf( _BRDC(
"\n\nВыход\n") );
173 delete pTest; pTest=NULL;
174 delete pTest2; pTest2=NULL;
179 catch( BRDCHAR* str )
181 BRDC_printf( _BRDC(
"ERROR: %s \n"), str );
185 BRDC_printf( _BRDC(
"ERROR: Неизвестная ошибка выполнения программы\n") );
191 printf(
"\n Press any key\n" );
virtual int isComplete(void)=0
void StartSignal(int isTStudio)
virtual void Stop(void)=0
Работа с аппаратным модулем через библиотеку BARDY.
virtual void Step(void)=0
void StdoutFlushAndSetBufNull()
Основной класс управления АЦП
virtual void Prepare(void)=0
virtual void Start(void)=0
virtual void GetResult(void)=0
void StopSignal(int isTStudio)
void ParseCommandLine(int argc, BRDCHAR *argv[], TParse arParse[], int nCnt)
int BRDC_main(int argc, BRDCHAR *argv[])
S32 CreateTable(char *pColumnName[], U32 nCount, U08 isTStudio)