package com.abbidot.tracker.bean

import android.os.Parcelable
import com.abbidot.tracker.constant.ConstantInt
import kotlinx.parcelize.Parcelize

@Parcelize
data class MapDeviceBean(
    var deviceId: String,
    var deviceOutId: String,
    var baseId: String,
    var inSafeZone: Int,
    var gpsSignal: Int,
    var batteryLevel: Int,
    var longitude: Double,
    var latitude: Double,
    var ledSwitch: Int,
    var gnssInterval: Int,
    var liveTime: Int,
    var liveFlag: Int,
    var updateTime: Long,
    var latLonUpdateTime: Long,
    var lteSignal: Int,
    var deviceMacId: String,
    var deviceServerId: String,
    var powerSwitch: Int,
    var inNoGoZone: Int,
    var speed: Float,
    var inWifiZone: Int,
    var ledMode: Int,
    var ledRedValue: Int,
    var ledGreenValue: Int,
    var ledBlueValue: Int,
    var fences: MutableList<FencesBean>?,
    var wifiZones: MutableList<WiFiZoneBean>?,
    var startTime: String,
    var endTime: String,
    var deviceType: Int,
    var wifiZoneName: String,
    var notifyLocationFail: Boolean,
    var canShowBattery: Boolean,//是否可以显示电池提示布局
    var isCloseBattery: Boolean,//是否关闭电池提示
    var isCloseMsg: Boolean //是否关闭消息提示
) : Parcelable {
    constructor() : this(
        "",
        "",
        "",
        ConstantInt.GoodZone,
        0,
        0,
        0.0,
        0.0,
        0,
        0,
        0,
        0,
        System.currentTimeMillis(),
        System.currentTimeMillis(),
        0,
        "",
        "",
        0,
        0,
        0f,
        0,
        0,
        0,
        0,
        0,
        null,
        null,
        "",
        "",
        1,
        "",
        false,
        false,
        false,
        false
    )
}
