/// <summary> /// 发送协议 /// </summary> /// <param name="protocol"></param> /// <param name="data"></param> /// <param name="callback"></param> public void SendProtocol(Protocol.PROTOCOL protocol, Dictionary <string, object> data, ProtocolCallback callback) { if (callback != null) { AddCallback(callback); } client.SendProtocol(protocol, data); }