@MultiGraphAddTag

 

void MultiGraphAddTag(string class_name, string tag, long color, int value_type, int point_type, int line_thick, int axis_pos, int level_from, int level_to, int tag_disp_size, int reverse_y, int graph_type, int flags);

 

MultiGraph ¿ÀºêÁ§Æ®¿¡ ÇϳªÀÇ Å±׸¦ ±×·¡ÇÁ ¸â¹ö·Î Ãß°¡ÇÑ´Ù.

 

ÇÔ¼öÀÎÀÚ

string class_name – ¸ÖƼƮ·£µåÀÇ ¿ÀºêÁ§Æ® °íÀ¯ À̸§

string tag – ű׸í (AI or DI)

long color – ±×·¡ÇÁ ¿ä¼Ò »ö»ó (@RGB ÇÔ¼ö »ç¿ë)

int value_type – ±×·¡ÇÁ Ç¥½Ã°ª (0-Æò±Õ°ª, 1-ÃÖ¼Ò°ª, 2-ÃÖ´ë°ª, 3-Àû»ê°ª, 4-Â÷ÀÌ°ª, 5-¼ø½Ã°ª)

int point_type – ±×·¡ÇÁ ¿ä¼ÒÀÇ Á¡ Á¾·ù (0-¾øÀ½, 1-»ç°¢Çü, 2-¿øÇü, 3-»ï°¢Çü, 4-¸¶¸§¸ð, 5-XÇ¥½Ã, 6-+Ç¥½Ã, 7-*Ç¥½Ã)

int line_thick – ±×·¡ÇÁ ¿ä¼ÒÀÇ ¼±±½±â

int axis_pos – ´«±ÝÀ§Ä¡ (0-»ç¿ë¾ÈÇÔ, 1-¿ÞÂÊ, 2-¿À¸¥ÂÊ)

int level_from – ´«±Ý Ç¥½Ã ½ÃÀÛÀ§Ä¡(%)

int level_to – ´«±Ý Ç¥½Ã ³¡À§Ä¡(%)

int tag_disp_size – ű׸í Ç¥½Ã Å©±â

int reverse_y – ´«±ÝÀÇ Ç¥½Ã ¹æ¹ý (0-¾Æ·¡¿¡¼­ À§·Î ¼ýÀÚÇ¥½Ã, 1 – À§¿¡¼­ ¾Æ·¡·Î ¼ýÀÚ Ç¥½Ã)

int graph_type – ±×·¡ÇÁ Á¾·ù (0=¼±,1=¸·´ë)

int flags – ±×·¡ÇÁ¿¡ »ç¿ëÇÒ °¢Á¾ Ç÷¡±×. OR¿¬»êÀ» »ç¿ëÇÏ¿© ¿©·¯°³¸¦ °°ÀÌ ¼³Á¤ (0x1 = Hihi, 0x2=High, 0x4=Low, 0x8=LoLo, 0x3 = HiHi&High)  ÀÌ ÀÎÀÚ´Â 10.2.5 ºÎÅÍ »ç¿ë °¡´É.

 

 

return °ª

return°ªÀº ¾ø´Ù.

 

¿¹Á¦1

@MultiGraphClear("MultiGraph1");

@MultiGraphAddTag("MultiGraph1","TAG1", @RGB(255,0,0), 0, 0, 1, 1, 0, 100, 20, 0, 0, 0);

@MultiGraphAddTag("MultiGraph1","TAG2", @RGB(0,255,0), 0, 0, 1, 2, 0, 100, 20, 0, 0, 0);

¹®Àå¼³¸í : ±×·¡ÇÁÀÇ ¸ðµç µî·ÏµÈ ¿ä¼Ò¸¦ »èÁ¦ÇÑ ÈÄ ¡°TAG1¡±,°ú ¡°TAG2¡±¸¦ °¢°¢ µî·ÏÇÑ´Ù.

 

°ü·ÃÇ׸ñ

@MultiGraphAddTag()

@MultiGraphClear()

@MultiGraphDeleteTag()

@MultiGraphGetCursor1Data()

@MultiGraphGetCursor2Data()

@MultiGraphGetCursorData()

@MultiGraphGetDataSize()

@MultiGraphSetAlarmLineStyle()

@MultiGraphSetAlarmLIneThick()

@MultiGraphSetBackColor()

@MultiGraphSetBasicLevel()

@MultiGraphSetDataCycle()

@MultiGraphSetDataSize()

@MultiGraphSetGridLine()

@MultiGraphSetLogarithmicScale()

@MultiGraphSetPanelBackColor()

@MultiGraphSetPanelTextColor()

@MultiGraphSetVisible()