TestGraphSetData

 

½Ç½Ã°£ Å×½ºÆ® ±×·¡ÇÁÀÇ µ¥ÀÌÅ͸¦ MDB ÆÄÀÏÀÇ Æ¯Á¤ Ä÷³ °ªÀ¸·Î º¹»çÇÑ´Ù.

 

void @TestGraphSetData(string classname, string filename, string table, string column, int member_pos, string sort_column);

 

ÇÔ¼öÀÎÀÚ

string classname : ½Ç½Ã°£ Å×½ºÆ® ±×·¡ÇÁÀÇ Å¬·¡½º À̸§

string filename : »ç¿ëÇÒ MDB ÆÄÀÏÀ̸§

string table : MDB ÆÄÀÏÀ» Å×À̺í¸í

string column : Å×À̺íÀÇ Ä÷³¸í

int member_pos : ½Ç½Ã°£ Å×½ºÆ® ±×·¡ÇÁÀÇ ¸â¹ö À§Ä¡ (¸â¹ö°¡ 3°³°¡ ÀÖ´Ù¸é 0,1,2  ¼¼°³ÀÇ À§Ä¡ Áß¿¡¼­ »ç¿ëÇÒ ¼ö ÀÖ´Ù.)

string sort_column : µ¥ÀÌÅ͸¦ ¿À¸§Â÷¼øÀ¸·Î Á¤·ÄÇÒ ±âÁØ Ä÷³

 

¹Ýȯ °ª

¹Ýȯ°ªÀº ¾ø´Ù.

 

¿¹Á¦

@DialogSetDir("c:\\catdata\\milidata\\AI3°³");

@DialogSetFilter("MDB files (*.mdb)|*.mdb|");

if(@DialogFileOpen(filename) == 0) return;

@TestGraphClearData("TestGraph1");

@TestGraphSetData("TestGraph1", filename, "Data", "AI_0000", 0, "[Data Count]");

@TestGraphSetData("TestGraph1", filename, "Data", "AI_0001", 1, "[Data Count]");

@TestGraphSetData("TestGraph1", filename, "Data", "AI_0002", 2, "[Data Count]");

@TestGraphStop("TestGraph1");

@ModuleInvalidate("startup.modx");

 

¹®Àå¼³¸í : MDBÆÄÀÏÀ» ºÒ·¯ ¿À±âÀü¿¡ ¸ðµç µ¥ÀÌŸ¸¦ ÃʱâÈ­ÇÏ°í °¢ ű׺°·Î AI_0000, AI_0001, AI_0002 Ä÷³À» ½Ç½Ã°£ Å×½ºÆ® ±×·¡ÇÁÀÇ µ¥ÀÌÅÍ·Î º¹»çÇÑ´Ù.

 

°ü·ÃÇ׸ñ

@TestGraphAddTag()

@TestGraphBasisGraphAdd()

@TestGraphBasisGraphClear()

@TestGraphBasisGraphTagAdd()

@TestGraphBasisGraphTagClear()

@TestGraphClear()

@TestGraphClearData()

@TestGraphGetValue()

@TestGraphRun()

@TestGraphSetData()

@TestGraphSetDataSize()

@TestGraphSetMilliLast()

@TestGraphSetValue()

@TestGraphStop()