update LteInfoPage
[GitHub/Stricted/SpeedportHybridControl.git] / SpeedportHybridControl / Model / DeviceViewModel.cs
CommitLineData
5907d368
S
1using System.Collections.Generic;
2
3namespace SpeedportHybridControl.Model {
4 public class DeviceData : SuperViewModel {
5 private List<DeviceList> _deviceList;
6 private string _datetime;
7
8 public List<DeviceList> deviceList {
9 get { return _deviceList; }
10 set { SetProperty(ref _deviceList, value); }
11 }
12
13 public string datetime {
14 get { return _datetime; }
15 set { SetProperty(ref _datetime, value); }
16 }
17
18 public DeviceData() {
19 }
20 }
21
22 public class DeviceList : SuperViewModel {
23 private int _id;
24 private string _name;
25 private string _mac;
26 private int _type;
27 private int _connected;
28 private string _ipv4;
29 private string _ipv6;
30 private int _static;
31
32 public int id {
33 get { return _id; }
34 set { SetProperty(ref _id, value); }
35 }
36
37 public string name {
38 get { return _name; }
39 set { SetProperty(ref _name, value); }
40 }
41
42 public string mac {
43 get { return _mac; }
44 set { SetProperty(ref _mac, value); }
45 }
46
47 public int type {
48 get { return _type; }
49 set { SetProperty(ref _type, value); }
50 }
51
52 public int connected {
53 get { return _connected; }
54 set { SetProperty(ref _connected, value); }
55 }
56
57 public string ipv4 {
58 get { return _ipv4; }
59 set { SetProperty(ref _ipv4, value); }
60 }
61
62 public string ipv6 {
63 get { return _ipv6; }
64 set { SetProperty(ref _ipv6, value); }
65 }
66
67 public int mstatic {
68 get { return _static; }
69 set { SetProperty(ref _static, value); }
70 }
71
72 public DeviceList() {
73 }
74 }
75}