package com.abbidot.baselibrary.constant

import androidx.annotation.StringDef

/**
 * EventBus发送消息名
 */
@StringDef(
    EventName.RefreshHomeList,
    EventName.Test,
    EventName.FinishActivity,
    EventName.UpdateUserInfo,
    EventName.UpdateData,
    EventName.LogOut,
    EventName.PayBack,
    EventName.HistoryDataSnapshot,
    EventName.ActiveGoal,
    EventName.UpdateReportInterval,
    EventName.DeviceReceiveData,
    EventName.WXLoginResult,
    EventName.ChangePassword,
    EventName.ConnectDeviceState,
    EventName.RefreshFences,
    EventName.DeleteFences,
    EventName.RefreshPet,
    EventName.DeletePet,
    EventName.RefreshWiFiZone,
    EventName.RefreshDevice,
    EventName.DeleteWiFiZone,
    EventName.DeleteFamily,
    EventName.RefreshFamily,
    EventName.DeleteDevice,
    EventName.GPSSwitchState,
    EventName.RefreshPackage,
    EventName.LiveAutoEnd,
    EventName.LiveOpenTimeOut,
    EventName.SetGoal,
    EventName.RefreshMessage,
    EventName.BluetoothSwitch,
    EventName.BleReport,
    EventName.BleGetLocation,
    EventName.BleReportData,
    EventName.LogReport,
    EventName.ActionConDeviceState
)
@Retention(AnnotationRetention.SOURCE)
annotation class EventName {
    companion object {
        const val RefreshHomeList = "refreshHomeList"
        const val Test = "test"
        const val FinishActivity = "finishActivity"
        const val UpdateUserInfo = "updateUserInfo"
        const val UpdateData = "updateData"
        const val RefreshFences = "refreshFences"
        const val RefreshMessage = "refreshMessage"
        const val DeleteFences = "deleteFences"
        const val RefreshDevice = "refreshDevice"
        const val DeleteDevice = "deleteDevice"
        const val DeletePet = "deletePet"
        const val RefreshPet = "refreshPet"
        const val RefreshPackage = "refreshPackage"
        const val SetGoal = "setGoal"
        const val DeleteFamily = "deleteFamily"
        const val RefreshFamily = "refreshFamily"
        const val RefreshWiFiZone = "refreshWiFiZone"
        const val DeleteWiFiZone = "deleteWiFiZone"
        const val LogOut = "logOut"

        //支付成功返回
        const val PayBack = "payBack"
        const val HistoryDataSnapshot = "historyDataSnapshot"
        const val ActiveGoal = "activeGoal"
        const val UpdateReportInterval = "updateReportInterval"

        //已找到设备,正在去连接或已经连接上的设备状态
        const val ConnectDeviceState = "connectDeviceState"

        //去搜索查找连接设备,这种操作设备状态
        const val ActionConDeviceState = "actionConDeviceState"

        //蓝牙开关切换
        const val BluetoothSwitch = "bluetoothSwitch"

        //gps开关状态
        const val GPSSwitchState = "gpsSwitchState"

        //直播自动结束
        const val LiveAutoEnd = "liveAutoEnd"
        const val LiveOpenTimeOut = "liveOpenTimeOut"

        //接收到设备返回的数据
        const val DeviceReceiveData = "deviceReceiveData"

        //微信登录成功返回
        const val WXLoginResult = "wxLoginResult"

        //修改密码成功返回
        const val ChangePassword = "changePassword"

        //蓝牙上报数据
        const val BleReport = "bleReport"

        //蓝牙上报的数据
        const val BleReportData = "bleReportData"

        //日志上报数据
        const val LogReport = "logReport"
        //设备获取手机位置
        const val BleGetLocation = "bleGetLocation"
    }
}
