<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.springblade.modules.business.rtumanage.mapper.RtuRealTimeStatusMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="rtuRsvrDataEntityResultMap" type="org.springblade.modules.business.rtumanage.entity.RtuRealTimeStatusEntity">
        <result column="rtu_code" property="rtuCode"/>
        <result column="collect_time" property="collectTime"/>
        <result column="up_time" property="upTime"/>
        <result column="pick_time" property="pickTime"/>
        <result column="lng" property="lng"/>
        <result column="lat" property="lat"/>
        <result column="dtu_signal" property="dtuSignal"/>
        <result column="voltage" property="voltage"/>
        <result column="temperature" property="temperature"/>
        <result column="rtu_status" property="rtuStatus"/>
        <result column="rtu_error" property="rtuError"/>
        <result column="battery_status" property="batteryStatus"/>
        <result column="battery_battery_in" property="batteryBatteryIn"/>
        <result column="battery_battery_out" property="batteryBatteryOut"/>
        <result column="battery_power" property="batteryPower"/>
        <result column="battery_temperature" property="batteryTemperature"/>
        <result column="sun_power_voltage" property="sunPowerVoltage"/>
        <result column="sun_power_electric" property="sunPowerElectric"/>
        <result column="ac_charge_status" property="acChargeStatus"/>
        <result column="battery_voltage_status" property="batteryVoltageStatus"/>
        <result column="water_level_over_status" property="waterLevelOverStatus"/>
        <result column="water_flow_over_status" property="waterFlowOverStatus"/>
        <result column="water_quality_status" property="waterQualityStatus"/>
        <result column="water_flow_sensor_status" property="waterFlowSensorStatus"/>
        <result column="water_level_sensor_status" property="waterLevelSensorStatus"/>
        <result column="box_door_status" property="boxDoorStatus"/>
        <result column="rtu_memory_status" property="rtuMemoryStatus"/>
        <result column="rtu_ic_card_status" property="rtuIcCardStatus"/>
        <result column="water_pump_status" property="waterPumpStatus"/>
        <result column="water_remain_over_status" property="waterRemainOverStatus"/>
        <result column="datagram_channel_index" property="datagramChannelIndex"/>

    </resultMap>

</mapper>
