|
@@ -134,8 +134,258 @@ public enum ZLOpdProtCMDEnum {
|
|
|
new byte[] {0x01, 0x03, 0x07, (byte)0x88, 0x00, 0x48, (byte)0xc4, (byte)0xa2},
|
|
|
0x90,
|
|
|
2,
|
|
|
- new String[]{"chartpower_3"})
|
|
|
- ;
|
|
|
+ new String[]{"chartpower_3"}),
|
|
|
+
|
|
|
+
|
|
|
+ //18-9 动液面其它参数采集(测量时间、音速、测量深度、套压) 01 03 18 00 00 09
|
|
|
+ LIQUID_OTHER(
|
|
|
+ new byte[] {0x01, 0x03, 0x18, 0x00, 0x00, 0x09, (byte)0x83, 0x6c},
|
|
|
+ 0x12,
|
|
|
+ 2,
|
|
|
+ new String[]{"test_time_yy","test_time_mm","test_time_dd","test_time_hr","test_time_mi","test_time_ss","sound_speed","test_depth","casing_pre"}
|
|
|
+ ),
|
|
|
+
|
|
|
+ //250-125 动液面曲线数据(1/40)
|
|
|
+ LIQUID_SERIAL_1(
|
|
|
+ new byte[] {0x01,0x03,0x18,0x10,0x00,0x7d,(byte)0x82,(byte)0x8e},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_1"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_2(
|
|
|
+ new byte[] {0x01,0x03,0x18,(byte)0x8D,0x00,0x7d,0x13,0x60},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_2"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_3(
|
|
|
+ new byte[] {0x01,0x03,0x19,0x0A,0x00,0x7d,(byte)0xa2,(byte)0xb5},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_3"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_4(
|
|
|
+ new byte[] {0x01,0x03,0x19,(byte)0x87,0x00,0x7d,0x32,(byte)0x9e},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_4"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_5(
|
|
|
+ new byte[] {0x01,0x03,0x1A,0x04,0x00,0x7d,(byte)0xc3,0x32},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_5"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_6(
|
|
|
+ new byte[] {0x01,0x03,0x1A,(byte)0x81,0x00,0x7d,(byte)0xd2,(byte)0xdb},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_6"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_7(
|
|
|
+ new byte[] {0x01,0x03,0x1A,(byte)0xFE,0x00,0x7d,(byte)0xe3,0x03},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_7"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_8(
|
|
|
+ new byte[] {0x01,0x03,0x1B,0x7B,0x00,0x7d,(byte)0xf3,0x16},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_8"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_9(
|
|
|
+ new byte[] {0x01,0x03,0x1B,(byte)0xF8,0x00,0x7d},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_9"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_10(
|
|
|
+ new byte[] {0x01,0x03,0x1C,0x75,0x00,0x7d,(byte)0x93,(byte)0xa1},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_10"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_11(
|
|
|
+ new byte[] {0x01,0x03,0x1C,(byte)0xF2,0x00,0x7d,0x23,(byte)0x88},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_11"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_12(
|
|
|
+ new byte[] {0x01,0x03,0x1D,0x6F,0x00,0x7d,(byte)0xb3,(byte)0x9a},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_12"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_13(
|
|
|
+ new byte[] {0x01,0x03,0x1D,(byte)0xEC,0x00,0x7d,0x42,0x72},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_13"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_14(
|
|
|
+ new byte[] {0x01,0x03,0x1E,0x69,0x00,0x7d,0x53,(byte)0xdf},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_14"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_15(
|
|
|
+ new byte[] {0x01,0x03,0x1E,(byte)0xE6,0x00,0x7d,0x62,0x34},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_15"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_16(
|
|
|
+ new byte[] {0x01,0x03,0x1F,0x63,0x00,0x7d,0x72,0x21},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_16"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_17(
|
|
|
+ new byte[] {0x01,0x03,0x1F,(byte)0xE0,0x00,0x7d,(byte)0x83,(byte)0xc9},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_17"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_18(
|
|
|
+ new byte[] {0x01,0x03,0x20,0x5D,0x00,0x7d,0x1f,(byte)0xf9},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_18"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_19(
|
|
|
+ new byte[] {0x01,0x03,0x20,(byte)0xDA,0x00,0x7d,(byte)0xaf,(byte)0xd0},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_19"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_20(
|
|
|
+ new byte[] {0x01,0x03,0x21,0x57,0x00,0x7d,0x3e,0x07},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_20"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_21(
|
|
|
+ new byte[] {0x01,0x03,0x21,(byte)0xD4,0x00,0x7d,(byte)0xcf,(byte)0xef},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_21"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_22(
|
|
|
+ new byte[] {0x01,0x03,0x22,0x51,0x00,0x7d,(byte)0xde,0x42},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_22"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_23(
|
|
|
+ new byte[] {0x01,0x03,0x22,(byte)0xCE,0x00,0x7d,(byte)0xee,0x6c},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_23"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_24(
|
|
|
+ new byte[] {0x01,0x03,0x23,0x4B,0x00,0x7d,(byte)0xfe,0x79},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_24"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_25(
|
|
|
+ new byte[] {0x01,0x03,0x23,(byte)0xC8,0x00,0x7d,0x0f,(byte)0x91},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_25"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_26(
|
|
|
+ new byte[] {0x01,0x03,0x24,0x45,0x00,0x7d,(byte)0x9e,(byte)0xce},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_26"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_27(
|
|
|
+ new byte[] {0x01,0x03,0x24,(byte)0xC2,0x00,0x7d,0x2e,(byte)0xe7},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_27"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_28(
|
|
|
+ new byte[] {0x01,0x03,0x25,0x3F,0x00,0x7d,(byte)0xbe,(byte)0xeb},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_28"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_29(
|
|
|
+ new byte[] {0x01,0x03,0x25,(byte)0xBC,0x00,0x7d,0x4f,0x03},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_29"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_30(
|
|
|
+ new byte[] {0x01,0x03,0x26,0x39,0x00,0x7d,0x5e,(byte)0xae},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_30"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_31(
|
|
|
+ new byte[] {0x01,0x03,0x26,(byte)0xB6,0x00,0x7d,0x6f,0x45},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_31"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_32(
|
|
|
+ new byte[] {0x01,0x03,0x27,0x33,0x00,0x7d,0x7f,0x50},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_32"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_33(
|
|
|
+ new byte[] {0x01,0x03,0x27,(byte)0xB0,0x00,0x7d,(byte)0x8e,(byte)0xb8},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_33"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_34(
|
|
|
+ new byte[] {0x01,0x03,0x28,0x2D,0x00,0x7d,0x1c,0x42},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_34"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_35(
|
|
|
+ new byte[] {0x01,0x03,0x28,(byte)0xAA,0x00,0x7d,(byte)0xac,0x6b},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_35"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_36(
|
|
|
+ new byte[] {0x01,0x03,0x29,0x27,0x00,0x7d,0x3d,(byte)0xbc},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_36"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_37(
|
|
|
+ new byte[] {0x01,0x03,0x29,(byte)0xA4,0x00,0x7d,(byte)0xcc,0x54},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_37"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_38(
|
|
|
+ new byte[] {0x01,0x03,0x2A,0x21,0x00,0x7d,(byte)0xdd,(byte)0xf9},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_38"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_39(
|
|
|
+ new byte[] {0x01,0x03,0x2A,(byte)0x9E,0x00,0x7d,(byte)0xec,0x1d},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_39"}
|
|
|
+ ),
|
|
|
+ LIQUID_SERIAL_40(
|
|
|
+ new byte[] {0x01,0x03,0x2B,0x1B,0x00,0x7d,(byte)0xfc,0x08},
|
|
|
+ 0xfa,
|
|
|
+ 1,
|
|
|
+ new String[] {"serial_40"}
|
|
|
+ );
|
|
|
|
|
|
private byte[] cmd; //读取指令 最后字节CRC16
|
|
|
|