111
hxb
2022-11-24 0a3e07f10937484145f33c7560607b4b2353cb81
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.mm.android.deviceaddmodule.device_wifi;
 
import com.google.gson.Gson;
import com.google.gson.JsonObject;
 
import java.io.Serializable;
import java.util.List;
 
/**
 * Wifi配置信息
 */
public class WifiConfig implements Serializable {
    public static class Response {
        public WifiConfig data;
 
        public void parseData(JsonObject json) {
            Gson gson = new Gson();
            this.data = gson.fromJson(json.toString(), WifiConfig.class);
        }
    }
 
    //设备是否开启WIFI。true:开启,false:关闭
    private boolean enable;
    //设备搜索到的wifi列表
    private List<WifiInfo> wLan;
 
    public boolean isEnable() {
        return enable;
    }
 
    public void setEnable(boolean enable) {
        this.enable = enable;
    }
 
    public List<WifiInfo> getwLan() {
        return wLan;
    }
 
    public void setwLan(List<WifiInfo> wLan) {
        this.wLan = wLan;
    }
}