6 changed files with 105 additions and 5 deletions
-
34app/src/main/java/com/iflytop/profilometer/api/system/SystemApi.java
-
8app/src/main/java/com/iflytop/profilometer/api/system/SystemRoutes.kt
-
2app/src/main/java/com/iflytop/profilometer/common/result/Result.java
-
13app/src/main/java/com/iflytop/profilometer/core/bluetooth/BleDeviceDriver.java
-
10app/src/main/java/com/iflytop/profilometer/model/bo/DeviceInfo.java
-
43app/src/main/java/com/iflytop/profilometer/model/vo/DeviceInfoVO.java
@ -0,0 +1,10 @@ |
|||||
|
package com.iflytop.profilometer.model.bo; |
||||
|
|
||||
|
import com.iflytop.profilometer.core.migration.type.DeviceSN; |
||||
|
import com.iflytop.profilometer.core.migration.type.Version; |
||||
|
|
||||
|
public class DeviceInfo { |
||||
|
public DeviceSN sn; |
||||
|
public Version sfw_version; |
||||
|
public Version hfw_version; |
||||
|
} |
@ -0,0 +1,43 @@ |
|||||
|
package com.iflytop.profilometer.model.vo; |
||||
|
|
||||
|
import com.iflytop.profilometer.core.migration.type.DeviceSN; |
||||
|
import com.iflytop.profilometer.core.migration.type.Version; |
||||
|
|
||||
|
public class DeviceInfoVO { |
||||
|
private String sn = null; |
||||
|
private String appVersion = null; |
||||
|
private String sfwVersion = null; |
||||
|
private String hfwVersion = null; |
||||
|
|
||||
|
public String getSn() { |
||||
|
return sn; |
||||
|
} |
||||
|
|
||||
|
public void setSn(String sn) { |
||||
|
this.sn = sn; |
||||
|
} |
||||
|
|
||||
|
public String getAppVersion() { |
||||
|
return appVersion; |
||||
|
} |
||||
|
|
||||
|
public void setAppVersion(String appVersion) { |
||||
|
this.appVersion = appVersion; |
||||
|
} |
||||
|
|
||||
|
public String getSfwVersion() { |
||||
|
return sfwVersion; |
||||
|
} |
||||
|
|
||||
|
public void setSfwVersion(String sfwVersion) { |
||||
|
this.sfwVersion = sfwVersion; |
||||
|
} |
||||
|
|
||||
|
public String getHfwVersion() { |
||||
|
return hfwVersion; |
||||
|
} |
||||
|
|
||||
|
public void setHfwVersion(String hfwVersion) { |
||||
|
this.hfwVersion = hfwVersion; |
||||
|
} |
||||
|
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue