1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.hdl.sdk.hdl_core.HDLDeviceManger.EventBusEvent;
 
 
import com.hdl.sdk.hdl_core.HDLAppliances.HDLCommonSwitch.CommonSwitchBackInfo;
 
/**
 * Created by jlchen on 2020-04-01.
 */
public class CommonSwitchStateBackEvent {
    CommonSwitchBackInfo mCommonSwitchBackInfo;
    boolean isSuccess;
 
    public CommonSwitchStateBackEvent(CommonSwitchBackInfo commonSwitchBackInfo, boolean isSuccess){
        this.isSuccess = isSuccess;
        this.mCommonSwitchBackInfo = commonSwitchBackInfo;
    }
 
    public CommonSwitchBackInfo getCommonSwitchBackInfo() {
        return mCommonSwitchBackInfo;
    }
 
    public boolean isSuccess() {
        return isSuccess;
    }
 
}