public int createObject() { // Log saving TCPIP_Tag TCPIPTagInfo = new TCPIP_Tag(); this.mahTCPIP[0] = TCPIP2.CreateObject(TCPIPTagInfo.tkTCPAddress, TCPIPTagInfo.tkTCPPort, (int)TCPIP_Tag.Mode.Client, TCPIPTagInfo.cmdQueueMaxCharNum, TCPIPTagInfo.logSavePath, TCPIPTagInfo.logName); TCPIP2.SetValByVoid(this.mahTCPIP[0], (int)TCPIP_Tag.ValType.getClntName, (IntPtr)0); return(0); }
public int SDDE_Hide() { return(TCPIP2.ShowTool(this.mahTCPIP[0], 0)); }
public int SDDE_Display() { return(TCPIP2.ShowTool(this.mahTCPIP[0], 1)); }
public int SetSDDESimulateOFF() { return(TCPIP2.SetSimulate(this.mahTCPIP[0], 0)); }
public int GetSDDEStatus() { return(TCPIP2.GetTCPIPStatus(this.mahTCPIP[0])); }
public int GetMessageFromTK(StringBuilder Msg) { Msg.Capacity = 200; return(TCPIP2.GetMessage(this.mahTCPIP[0], Msg, rtnQueueMaxCharNum)); }
public int SendMessageToTK(string Msg) { return(TCPIP2.SendMessage(this.mahTCPIP[0], Msg)); }
public int Connect() { return(TCPIP2.Connect(this.mahTCPIP[0])); }
public int DeleteObject() { return(TCPIP2.DeleteObject(this.mahTCPIP[0])); }
public int RtnQueue_IsFull() { return(TCPIP2.IsQueueFull(this.mahTCPIP[0], (int)TCPIP_Tag.QueueType.Receive)); }
public int CmdQueue_SetQueue(string Msg) { return(TCPIP2.SendMsgToSelf(this.mahTCPIP[0], Msg)); }
public int CmdQueue_IsFull() { return(TCPIP2.IsQueueFull(this.mahTCPIP[0], (int)TCPIP_Tag.QueueType.Send)); }
public int CmdQueue_Clear() { return(TCPIP2.QueueClear(this.mahTCPIP[0], (int)TCPIP_Tag.QueueType.Send)); }
public int TK_Save_DDE_Func() { TCPIP2.SaveLog(this.mahTCPIP[0]); return(0); }