package cgmblelib.custom.livedata.connect;

/**
 * 搜索操作类
 * @author minyuchun
 */
public class OperationConnectBean {
    /**
     * 搜索类型
     */
    private EnumConnect mConnect;
    /**
     * 当  mScan == SCAN_START 时搜索道的发射器设备集合
     */
    private int glucoseId;

    public OperationConnectBean() {}

    public OperationConnectBean(EnumConnect connect) {
        mConnect = connect;
    }

    public OperationConnectBean(EnumConnect connect, int glucoseId) {
        mConnect = connect;
        this.glucoseId = glucoseId;
    }

    public EnumConnect getConnect() {
        return mConnect;
    }

    public void setConnect(EnumConnect connect) {
        mConnect = connect;
    }

    public int getGlucoseId() {
        return glucoseId;
    }

    public void setGlucoseId(int glucoseId) {
        this.glucoseId = glucoseId;
    }

    @Override
    public String toString() {
        return "OperationConnectBeanBean{" +
                "mConnect=" + mConnect +
                ", glucoseId=" + glucoseId +
                '}';
    }
}
