using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using SystemX.Common; using SystemX.Common.Serialization; using SystemX.Net.BaseProtocol; using SystemX.Net.Schedule; namespace SystemX.Net.MiddlewareUI.UIM.Protocol_Method { public class SYSTEM_QUERY : ProtocolShell, IProtocol { public SYSTEM_QUERY(MainForm parent, int iPos, byte nLabel) : base(parent, iPos, nLabel) { } public override void ExecuteProtocol(BASE_PROTOCOL GET_PROTOCOL, BASE_PROTOCOL.PROTOCOL_CODE CODE, HEADER_PACKET getHeader, object objData) { QUERY_PACKET usPacket = (QUERY_PACKET)objData; string strGetQueryText = usPacket.objQueryText[0].Data; Parent_.QueryProcess(strGetQueryText, out ucSendByteInfo); } } }