/// <summary> /// 检查字节数据是否符合645_07协议 /// </summary> /// <param name="data">字节数组</param> /// <returns></returns> public static Result IsProtocol(byte[] data) { return(Frame645.IsProtocolCommon(data, DataFieldsNamespace)); }
/// <summary> /// 检查字节数组是否符合645_07协议 /// </summary> /// <param name="data">字节数组</param> /// <param name="startIndex">开始位置</param> /// <param name="len">长度</param> /// <returns></returns> public static Result IsProtocol(byte[] data, int startIndex, int len) { return(Frame645.IsProtocolCommon(data, startIndex, len, DataFieldsNamespace)); }