## MQTT##
aliyun:
  result-topic:
    name: /machine/piling/result
    protocol:
      cons_type:
        type: short
        range:
          - 0
          - 1
      data_version:
        type: byte
        range:
          - 2
          - 2
      data_time:
        type: long
        range:
          - 3
          - 10
        byte-sort: big
      pile_id:
        type: string
        range:
          - 11
          - 18
      design_id:
        type: string
        range:
          - 19
          - 26
      machine_id:
        type: string
        range:
          - 27
          - 34
      design_x:
        type: double
        range:
          - 35
          - 42
      design_y:
        type: double
        range:
          - 43
          - 50
      real_x:
        type: double
        range:
          - 51
          - 58
      real_y:
        type: double
        range:
          - 59
          - 66
      latitude:
        type: double
        range:
          - 67
          - 74
      longitude:
        type: double
        range:
          - 75
          - 82
      pile_length:
        type: float
        range:
          - 83
          - 86
      avg_speed:
        type: float
        range:
          - 87
          - 90
      # 平均电流
      avg_current:
        type: float
        range:
          - 91
          - 94
      # 持力层电流
      hold_current:
        type: float
        range:
          - 95
          - 98
      #垂直度偏差
      vertical_deviation:
        type: float
        range:
          - 99
          - 102
      #灌浆体积 回带量
      spray_volume:
        type: float
        range:
          - 103
          - 106
      # 开始时间
      start_time:
        type: long
        byte-sort: big
        range:
          - 107
          - 114
      # 结束时间
      end_time:
        type: long
        byte-sort: big
        range:
          - 115
          - 122
      # 结果评价
      result_evaluation:
        type: int
        range:
          - 123
          - 126
      # 起桩高度
      start_height:
        type: double
        range:
          - 127
          - 134
      # 入岩深度
      in_depth:
        type: float
        range:
          - 135
          - 138
      # 有效下行
      effective_down:
        type: float
        range:
          - 139
          - 142
      # 有效长度
      effective_length:
        type: float
        range:
          - 143
          - 146
      # 桩点编号
      pile_number:
        type: int
        range:
          - 147
          - 150
      # 平均喷浆压力
      avg_spray_pressure:
        type: float
        range:
          - 151
          - 154
      # 平均喷浆速度
      avg_spray_speed:
        type: float
        range:
          - 155
          - 158
      # 设计桩长
      design_length:
        type: float
        range:
          - 159
          - 162
      # 平均上行速度
      avg_up_speed:
        type: float
        range:
          - 163
          - 166
      # 钻杆总节数
      drill_total_number:
        type: int
        range:
          - 167
          - 170
      # 当前机械类型
      current_mechanical_type:
        type: int
        range:
          - 171
          - 174
      # 沉管开始时间
      send_start_time:
        type: long
        byte-sort: big
        range:
          - 175
          - 182
      # 沉管结束时间
      send_end_time:
        type: long
        byte-sort: big
        range:
          - 183
          - 190
      # 拔管开始时间
      pulling_start_time:
        type: long
        byte-sort: big
        range:
          - 191
          - 198
      # 拔管结束时间
      pulling_end_time:
        type: long
        byte-sort: big
        range:
          - 199
          - 206
      # uuid
      uuid:
        type: string
        range:
          - 207
  process-topic:
    name: /machine/piling/process
    protocol:
      cons_type:
        type: short
        range:
          - 0
          - 1
      data_version:
        type: byte
        range:
          - 2
          - 2
      data_time:
        type: long
        range:
          - 3
          - 10
        byte-sort: big
      pile_id:
        type: string
        range:
          - 11
          - 18
      design_id:
        type: string
        range:
          - 19
          - 26
      machine_id:
        type: string
        range:
          - 27
          - 34
      real_x:
        type: double
        range:
          - 35
          - 42
      real_y:
        type: double
        range:
          - 43
          - 50
      # 高程
      real_z:
        type: float
        range:
          - 51
          - 54
      latitude:
        type: double
        range:
          - 55
          - 62
      longitude:
        type: double
        range:
          - 63
          - 70
      pile_length:
        type: float
        range:
          - 71
          - 74
      real_pile_length:
        type: float
        range:
          - 75
          - 78
      speed:
        type: float
        range:
          - 79
          - 82
      # 电流
      current:
        type: float
        range:
          - 83
          - 86
      # 倾侧角
      tilt_angle:
        type: float
        range:
          - 87
          - 90
      # 前倾角
      forward_tilt_angle:
        type: float
        range:
          - 91
          - 94
      # 垂直度
      vertical_angle:
        type: float
        range:
          - 95
          - 98
      # 自编号
      self_num:
        type: int
        range:
          - 99
          - 102
      # 持力层电流
      hold_current:
        type: float
        range:
          - 103
          - 106
      #灌浆体积 送带量
      spray_volume:
        type: float
        range:
          - 107
          - 110
      # 实时钻头高程
      real_drill_height:
        type: float
        range:
          - 111
          - 114
      # 振动电流
      vibration_current:
        type: float
        range:
          - 115
          - 118
      #水泵电流 喷浆流量
      pump_current:
        type: float
        range:
          - 119
          - 122
      # 喷浆压力 压力值
      spray_pressure:
        type: float
        range:
          - 123
          - 126
      # 喷浆速度
      spray_speed:
        type: float
        range:
          - 127
          - 130
      # 设计桩长
      design_length:
        type: float
        range:
          - 131
          - 134
      # 当前钻杆节数
      current_drill_number:
        type: int
        range:
          - 135
          - 138
      # 每节开始时间
      start_time:
        type: long
        byte-sort: big
        range:
          - 139
          - 146
        # 每节结束时间
      end_time:
        type: long
        byte-sort: big
        range:
          - 147
          - 154
      # 当前机械类型
      current_mechanical_type:
        type: int
        range:
          - 155
          - 158
      # uuid
      uuid:
        type: string
        range:
          - 159