package cgmblelib.custom.livedata.scan;

import cgmblelib.database.entity.PocDevice;

/**
 * 搜索操作类
 * @author minyuchun
 */
public class OperationScanBean {
    /**
     * 搜索类型
     */
    private EnumScan mScan;
    /**
     * 当  mScan == SCAN_START 时搜索道的发射器设备集合
     */
    private PocDevice mDevice;
    /**
     * 带rssi的device
     */
    private PocDeviceAndRssi deviceAndRssi;

    public OperationScanBean() {}

    public OperationScanBean(EnumScan scan) {
        mScan = scan;
    }

    public EnumScan getScan() {
        return mScan;
    }

    public void setScan(EnumScan scan) {
        mScan = scan;
    }

    public PocDevice getDevice() {
        return mDevice;
    }

    public void setDevice(PocDevice device) {
        mDevice = device;
    }

    public PocDeviceAndRssi getDeviceRssi(){
        return deviceAndRssi;
    }

    public void setDeviceAndRssi(PocDeviceAndRssi deviceAndRssi) {
        this.deviceAndRssi = deviceAndRssi;
    }

    @Override
    public String toString() {
        return "OperationScanBean{" +
                "mScan=" + mScan +
                ", mDevice=" + mDevice +
                '}';
    }
}
