version:1.1
fix: update:迁移到UIUISOS
This commit is contained in:
150
app/src/main/java/com/uiuios/aios/bean/ActivityBean.java
Normal file
150
app/src/main/java/com/uiuios/aios/bean/ActivityBean.java
Normal file
@@ -0,0 +1,150 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ActivityBean implements Serializable {
|
||||
private static final long serialVersionUID = 8046770505423171522L;
|
||||
|
||||
int id;
|
||||
//分类名
|
||||
String type_name;
|
||||
//标题
|
||||
String title;
|
||||
String location;
|
||||
//活动时间戳 单位秒
|
||||
long activity_time;
|
||||
//人数
|
||||
int people_num;
|
||||
//语音地址
|
||||
String voice;
|
||||
/*用户名*/
|
||||
String name;
|
||||
//设备头像
|
||||
String avatar;
|
||||
String address;
|
||||
long add_time;
|
||||
String file;
|
||||
int comment_count;
|
||||
int like_count;
|
||||
int join_num;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getType_name() {
|
||||
return type_name;
|
||||
}
|
||||
|
||||
public void setType_name(String type_name) {
|
||||
this.type_name = type_name;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public long getActivity_time() {
|
||||
return activity_time;
|
||||
}
|
||||
|
||||
public void setActivity_time(long activity_time) {
|
||||
this.activity_time = activity_time;
|
||||
}
|
||||
|
||||
public int getPeople_num() {
|
||||
return people_num;
|
||||
}
|
||||
|
||||
public void setPeople_num(int people_num) {
|
||||
this.people_num = people_num;
|
||||
}
|
||||
|
||||
public String getVoice() {
|
||||
return voice;
|
||||
}
|
||||
|
||||
public void setVoice(String voice) {
|
||||
this.voice = voice;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public long getAdd_time() {
|
||||
return add_time;
|
||||
}
|
||||
|
||||
public void setAdd_time(long add_time) {
|
||||
this.add_time = add_time;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
public int getComment_count() {
|
||||
return comment_count;
|
||||
}
|
||||
|
||||
public void setComment_count(int comment_count) {
|
||||
this.comment_count = comment_count;
|
||||
}
|
||||
|
||||
public int getLike_count() {
|
||||
return like_count;
|
||||
}
|
||||
|
||||
public void setLike_count(int like_count) {
|
||||
this.like_count = like_count;
|
||||
}
|
||||
|
||||
public int getJoin_num() {
|
||||
return join_num;
|
||||
}
|
||||
|
||||
public void setJoin_num(int join_num) {
|
||||
this.join_num = join_num;
|
||||
}
|
||||
}
|
||||
164
app/src/main/java/com/uiuios/aios/bean/AlarmClockData.java
Normal file
164
app/src/main/java/com/uiuios/aios/bean/AlarmClockData.java
Normal file
@@ -0,0 +1,164 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
import com.uiuios.aios.alarm.AlarmUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
|
||||
public class AlarmClockData implements Serializable {
|
||||
private static final long serialVersionUID = -5856502480745183157L;
|
||||
|
||||
int id;
|
||||
int type;//类型 1一次 2循环 3周一到周五 4 周六周日
|
||||
String time;//"2021-11-15 18:33:23",//时间格式化字符串,循环类型是18:33:23
|
||||
String title;//标题
|
||||
String voice;//语音文件地址
|
||||
String voice_md5;
|
||||
String file;//图片或视频文件地址
|
||||
int remind_type;
|
||||
int is_onoff;//0关闭 1开启
|
||||
|
||||
boolean finished = false;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(String time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getVoice() {
|
||||
return voice;
|
||||
}
|
||||
|
||||
public void setVoice(String voice) {
|
||||
this.voice = voice;
|
||||
}
|
||||
|
||||
public String getVoice_md5() {
|
||||
return voice_md5;
|
||||
}
|
||||
|
||||
public void setVoice_md5(String voice_md5) {
|
||||
this.voice_md5 = voice_md5;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
public boolean isFinished() {
|
||||
return finished;
|
||||
}
|
||||
|
||||
public void setFinished(boolean finished) {
|
||||
this.finished = finished;
|
||||
}
|
||||
|
||||
public int getRemind_type() {
|
||||
return remind_type;
|
||||
}
|
||||
|
||||
public void setRemind_type(int remind_type) {
|
||||
this.remind_type = remind_type;
|
||||
}
|
||||
|
||||
public int getIs_onoff() {
|
||||
return is_onoff;
|
||||
}
|
||||
|
||||
public void setIs_onoff(int is_onoff) {
|
||||
this.is_onoff = is_onoff;
|
||||
}
|
||||
|
||||
public long getTimeStamp() {
|
||||
if (TextUtils.isEmpty(time)) {
|
||||
return 0L;
|
||||
}
|
||||
if (time.length() == 5) {
|
||||
String[] timeSplit = time.split(":");
|
||||
int hour = Integer.parseInt(timeSplit[0]);
|
||||
int minute = Integer.parseInt(timeSplit[1]);
|
||||
Calendar c = Calendar.getInstance();
|
||||
c.set(c.get(Calendar.YEAR), c.get(Calendar.MONTH),
|
||||
c.get(Calendar.DAY_OF_MONTH), hour, minute, 0);
|
||||
long mTimeInfo = c.getTimeInMillis();
|
||||
Log.e("AlarmClockData", "getTimeStamp: " + mTimeInfo);
|
||||
long actualTime = mTimeInfo > System.currentTimeMillis() ? mTimeInfo : mTimeInfo + AlarmUtils.ONE_DAY_TIME;
|
||||
return actualTime;
|
||||
} else {
|
||||
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||
try {
|
||||
Date date = simpleDateFormat.parse(time);
|
||||
long timestamp = date.getTime();
|
||||
return timestamp;
|
||||
} catch (ParseException e) {
|
||||
return System.currentTimeMillis();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
if (obj == null) return false;
|
||||
if (!(obj instanceof AlarmClockData)) return false;
|
||||
if (id != ((AlarmClockData) obj).id) return false;
|
||||
if (type != ((AlarmClockData) obj).type) return false;
|
||||
if (!time.equals(((AlarmClockData) obj).time)) return false;
|
||||
if (!title.equals(((AlarmClockData) obj).title)) return false;
|
||||
if (!voice.equals(((AlarmClockData) obj).voice)) return false;
|
||||
if (!voice_md5.equals(((AlarmClockData) obj).voice_md5)) return false;
|
||||
if (!file.equals(((AlarmClockData) obj).file)) return false;
|
||||
if (remind_type != ((AlarmClockData) obj).remind_type) return false;
|
||||
if (is_onoff != ((AlarmClockData) obj).is_onoff) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
21
app/src/main/java/com/uiuios/aios/bean/AlarmItem.java
Normal file
21
app/src/main/java/com/uiuios/aios/bean/AlarmItem.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AlarmItem implements Serializable {
|
||||
private static final long serialVersionUID = -2760428066543837757L;
|
||||
public String mTitle;
|
||||
public String mTime;
|
||||
public String mRepeatType;
|
||||
public String mRepeatCode;
|
||||
public boolean mActive;
|
||||
|
||||
public AlarmItem(String time, String repeatNormal, String repeatDefine, boolean active) {
|
||||
// this.mTitle = title;
|
||||
this.mTime = time;
|
||||
this.mRepeatType = repeatNormal;
|
||||
this.mRepeatCode = repeatDefine;
|
||||
this.mActive = active;
|
||||
|
||||
}
|
||||
}
|
||||
41
app/src/main/java/com/uiuios/aios/bean/AppListInfo.java
Normal file
41
app/src/main/java/com/uiuios/aios/bean/AppListInfo.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class AppListInfo implements Serializable {
|
||||
String appName;
|
||||
String packageName;
|
||||
Bitmap icon;
|
||||
|
||||
public AppListInfo(String appName, String packageName, Bitmap icon) {
|
||||
this.appName = appName;
|
||||
this.packageName = packageName;
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getAppName() {
|
||||
return appName;
|
||||
}
|
||||
|
||||
public void setAppName(String appName) {
|
||||
this.appName = appName;
|
||||
}
|
||||
|
||||
public String getPackageName() {
|
||||
return packageName;
|
||||
}
|
||||
|
||||
public void setPackageName(String packageName) {
|
||||
this.packageName = packageName;
|
||||
}
|
||||
|
||||
public Bitmap getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Bitmap icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
}
|
||||
44
app/src/main/java/com/uiuios/aios/bean/ArticleDetails.java
Normal file
44
app/src/main/java/com/uiuios/aios/bean/ArticleDetails.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ArticleDetails implements Serializable {
|
||||
private static final long serialVersionUID = -1838902080467423485L;
|
||||
|
||||
int id;
|
||||
String title;
|
||||
String content;
|
||||
String img;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
}
|
||||
57
app/src/main/java/com/uiuios/aios/bean/ArticleInfo.java
Normal file
57
app/src/main/java/com/uiuios/aios/bean/ArticleInfo.java
Normal file
@@ -0,0 +1,57 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class ArticleInfo implements Serializable {
|
||||
private static final long serialVersionUID = 5156317868469352633L;
|
||||
|
||||
int id;
|
||||
/*标题*/
|
||||
String title;
|
||||
/*内容*/
|
||||
String content;
|
||||
/*缩略图链接*/
|
||||
String img;
|
||||
/*跳转链接*/
|
||||
String jump_url;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public String getJump_url() {
|
||||
return jump_url;
|
||||
}
|
||||
|
||||
public void setJump_url(String jump_url) {
|
||||
this.jump_url = jump_url;
|
||||
}
|
||||
}
|
||||
23
app/src/main/java/com/uiuios/aios/bean/BaseResponse.java
Normal file
23
app/src/main/java/com/uiuios/aios/bean/BaseResponse.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
public class BaseResponse<T> implements Serializable {
|
||||
private static final long serialVersionUID = 5468533687801294972L;
|
||||
|
||||
public int code;
|
||||
public String msg;
|
||||
public T data;
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
64
app/src/main/java/com/uiuios/aios/bean/Contact.java
Normal file
64
app/src/main/java/com/uiuios/aios/bean/Contact.java
Normal file
@@ -0,0 +1,64 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class Contact implements Serializable {
|
||||
private static final long serialVersionUID = 8814155739557674021L;
|
||||
|
||||
int id;
|
||||
String name;//名称
|
||||
int is_urgent;//是否紧急联系人 0否1是
|
||||
String mobile;//手机号
|
||||
String avatar;//头像
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getIs_urgent() {
|
||||
return is_urgent;
|
||||
}
|
||||
|
||||
public void setIs_urgent(int is_urgent) {
|
||||
this.is_urgent = is_urgent;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
142
app/src/main/java/com/uiuios/aios/bean/DemandBean.java
Normal file
142
app/src/main/java/com/uiuios/aios/bean/DemandBean.java
Normal file
@@ -0,0 +1,142 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class DemandBean implements Serializable {
|
||||
private static final long serialVersionUID = 8046770505423171522L;
|
||||
|
||||
int id;
|
||||
//分类名
|
||||
String type_name;
|
||||
//标题
|
||||
String title;
|
||||
String address;
|
||||
String location;
|
||||
//活动时间戳 单位秒
|
||||
long demand_time;
|
||||
//价格
|
||||
int price;
|
||||
//语音地址
|
||||
String voice;
|
||||
//设备名
|
||||
String name;
|
||||
//设备头像
|
||||
String avatar;
|
||||
long add_time;
|
||||
String file;
|
||||
int comment_count;
|
||||
int like_count;
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getType_name() {
|
||||
return type_name;
|
||||
}
|
||||
|
||||
public void setType_name(String type_name) {
|
||||
this.type_name = type_name;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public long getDemand_time() {
|
||||
return demand_time;
|
||||
}
|
||||
|
||||
public void setDemand_time(long demand_time) {
|
||||
this.demand_time = demand_time;
|
||||
}
|
||||
|
||||
public int getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setPrice(int price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
public String getVoice() {
|
||||
return voice;
|
||||
}
|
||||
|
||||
public void setVoice(String voice) {
|
||||
this.voice = voice;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public long getAdd_time() {
|
||||
return add_time;
|
||||
}
|
||||
|
||||
public void setAdd_time(long add_time) {
|
||||
this.add_time = add_time;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public void setFile(String file) {
|
||||
this.file = file;
|
||||
}
|
||||
|
||||
public int getComment_count() {
|
||||
return comment_count;
|
||||
}
|
||||
|
||||
public void setComment_count(int comment_count) {
|
||||
this.comment_count = comment_count;
|
||||
}
|
||||
|
||||
public int getLike_count() {
|
||||
return like_count;
|
||||
}
|
||||
|
||||
public void setLike_count(int like_count) {
|
||||
this.like_count = like_count;
|
||||
}
|
||||
}
|
||||
106
app/src/main/java/com/uiuios/aios/bean/DesktopIcon.java
Normal file
106
app/src/main/java/com/uiuios/aios/bean/DesktopIcon.java
Normal file
@@ -0,0 +1,106 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class DesktopIcon implements Serializable , Parcelable {
|
||||
private static final long serialVersionUID = 3358230413497783708L;
|
||||
|
||||
String packageName;
|
||||
Drawable icon;
|
||||
String lable;
|
||||
int position;
|
||||
|
||||
private DesktopIcon() {
|
||||
|
||||
}
|
||||
|
||||
private DesktopIcon(Parcel in) {
|
||||
packageName = in.readStringNoHelper();
|
||||
lable = in.readStringNoHelper();
|
||||
position = in.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {
|
||||
dest.writeStringNoHelper(packageName);
|
||||
dest.writeStringNoHelper(lable);
|
||||
dest.writeInt(position);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static final Creator<DesktopIcon> CREATOR = new Creator<DesktopIcon>() {
|
||||
@Override
|
||||
public DesktopIcon createFromParcel(Parcel in) {
|
||||
return new DesktopIcon(in);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DesktopIcon[] newArray(int size) {
|
||||
return new DesktopIcon[size];
|
||||
}
|
||||
};
|
||||
|
||||
public String getPackageName() {
|
||||
return packageName;
|
||||
}
|
||||
|
||||
public void setPackageName(String packageName) {
|
||||
this.packageName = packageName;
|
||||
}
|
||||
|
||||
public Drawable getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Drawable icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getLable() {
|
||||
return lable;
|
||||
}
|
||||
|
||||
public void setLable(String lable) {
|
||||
this.lable = lable;
|
||||
}
|
||||
|
||||
public int getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public void setPosition(int position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public static DesktopIcon creatDesktopIcon(Context context, ApplicationInfo applicationInfo) {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
DesktopIcon desktopIcon = new DesktopIcon();
|
||||
desktopIcon.setPackageName(applicationInfo.packageName);
|
||||
desktopIcon.setIcon(applicationInfo.loadIcon(pm));
|
||||
desktopIcon.setLable(applicationInfo.loadLabel(pm).toString());
|
||||
desktopIcon.setPosition(0);
|
||||
return desktopIcon;
|
||||
}
|
||||
|
||||
public static DesktopIcon creatDesktopIcon(Context context, ApplicationInfo applicationInfo, int position) {
|
||||
PackageManager pm = context.getPackageManager();
|
||||
DesktopIcon desktopIcon = new DesktopIcon();
|
||||
desktopIcon.setPackageName(applicationInfo.packageName);
|
||||
desktopIcon.setIcon(applicationInfo.loadIcon(pm));
|
||||
desktopIcon.setLable(applicationInfo.loadLabel(pm).toString());
|
||||
desktopIcon.setPosition(position);
|
||||
return desktopIcon;
|
||||
}
|
||||
|
||||
}
|
||||
88
app/src/main/java/com/uiuios/aios/bean/GoodsDetails.java
Normal file
88
app/src/main/java/com/uiuios/aios/bean/GoodsDetails.java
Normal file
@@ -0,0 +1,88 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class GoodsDetails implements Serializable {
|
||||
private static final long serialVersionUID = 8555224831444328502L;
|
||||
int id;
|
||||
String goods_name;
|
||||
String img;
|
||||
String goods_desc;
|
||||
float original_price;
|
||||
float buying_price;
|
||||
int stock;
|
||||
String details_img;
|
||||
String video_url;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getGoods_name() {
|
||||
return goods_name;
|
||||
}
|
||||
|
||||
public void setGoods_name(String goods_name) {
|
||||
this.goods_name = goods_name;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public String getGoods_desc() {
|
||||
return goods_desc;
|
||||
}
|
||||
|
||||
public void setGoods_desc(String goods_desc) {
|
||||
this.goods_desc = goods_desc;
|
||||
}
|
||||
|
||||
public float getOriginal_price() {
|
||||
return original_price;
|
||||
}
|
||||
|
||||
public void setOriginal_price(float original_price) {
|
||||
this.original_price = original_price;
|
||||
}
|
||||
|
||||
public float getBuying_price() {
|
||||
return buying_price;
|
||||
}
|
||||
|
||||
public void setBuying_price(float buying_price) {
|
||||
this.buying_price = buying_price;
|
||||
}
|
||||
|
||||
public int getStock() {
|
||||
return stock;
|
||||
}
|
||||
|
||||
public void setStock(int stock) {
|
||||
this.stock = stock;
|
||||
}
|
||||
|
||||
public String getDetails_img() {
|
||||
return details_img;
|
||||
}
|
||||
|
||||
public void setDetails_img(String details_img) {
|
||||
this.details_img = details_img;
|
||||
}
|
||||
|
||||
public String getVideo_url() {
|
||||
return video_url;
|
||||
}
|
||||
|
||||
public void setVideo_url(String video_url) {
|
||||
this.video_url = video_url;
|
||||
}
|
||||
}
|
||||
107
app/src/main/java/com/uiuios/aios/bean/GoodsInfo.java
Normal file
107
app/src/main/java/com/uiuios/aios/bean/GoodsInfo.java
Normal file
@@ -0,0 +1,107 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class GoodsInfo implements Serializable {
|
||||
private static final long serialVersionUID = -229267734972111105L;
|
||||
int id;
|
||||
/*商品名*/
|
||||
String goods_name;
|
||||
/*简介*/
|
||||
String goods_desc;
|
||||
/*缩略图链接*/
|
||||
String img;
|
||||
/*详情图链接*/
|
||||
String details_img;
|
||||
/*视频链接*/
|
||||
String video_url;
|
||||
/*原价*/
|
||||
float original_price;
|
||||
/*抢购价*/
|
||||
float buying_price;
|
||||
/*库存*/
|
||||
int stock;
|
||||
/*跳转链接*/
|
||||
String jump_url;
|
||||
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getGoods_name() {
|
||||
return goods_name;
|
||||
}
|
||||
|
||||
public void setGoods_name(String goods_name) {
|
||||
this.goods_name = goods_name;
|
||||
}
|
||||
|
||||
public String getGoods_desc() {
|
||||
return goods_desc;
|
||||
}
|
||||
|
||||
public void setGoods_desc(String goods_desc) {
|
||||
this.goods_desc = goods_desc;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
|
||||
public String getDetails_img() {
|
||||
return details_img;
|
||||
}
|
||||
|
||||
public void setDetails_img(String details_img) {
|
||||
this.details_img = details_img;
|
||||
}
|
||||
|
||||
public String getVideo_url() {
|
||||
return video_url;
|
||||
}
|
||||
|
||||
public void setVideo_url(String video_url) {
|
||||
this.video_url = video_url;
|
||||
}
|
||||
|
||||
public float getOriginal_price() {
|
||||
return original_price;
|
||||
}
|
||||
|
||||
public void setOriginal_price(float original_price) {
|
||||
this.original_price = original_price;
|
||||
}
|
||||
|
||||
public float getBuying_price() {
|
||||
return buying_price;
|
||||
}
|
||||
|
||||
public void setBuying_price(float buying_price) {
|
||||
this.buying_price = buying_price;
|
||||
}
|
||||
|
||||
public int getStock() {
|
||||
return stock;
|
||||
}
|
||||
|
||||
public void setStock(int stock) {
|
||||
this.stock = stock;
|
||||
}
|
||||
|
||||
public String getJump_url() {
|
||||
return jump_url;
|
||||
}
|
||||
|
||||
public void setJump_url(String jump_url) {
|
||||
this.jump_url = jump_url;
|
||||
}
|
||||
}
|
||||
26
app/src/main/java/com/uiuios/aios/bean/HealthCode.java
Normal file
26
app/src/main/java/com/uiuios/aios/bean/HealthCode.java
Normal file
@@ -0,0 +1,26 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class HealthCode implements Serializable {
|
||||
private static final long serialVersionUID = 3722434160181671038L;
|
||||
|
||||
int id;
|
||||
String img;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getImg() {
|
||||
return img;
|
||||
}
|
||||
|
||||
public void setImg(String img) {
|
||||
this.img = img;
|
||||
}
|
||||
}
|
||||
57
app/src/main/java/com/uiuios/aios/bean/NetDesktopIcon.java
Normal file
57
app/src/main/java/com/uiuios/aios/bean/NetDesktopIcon.java
Normal file
@@ -0,0 +1,57 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class NetDesktopIcon implements Serializable {
|
||||
private static final long serialVersionUID = 7070889522236163187L;
|
||||
int id;
|
||||
String name;
|
||||
@SerializedName("package")
|
||||
String packages;
|
||||
Bitmap icon;
|
||||
int num;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPackages() {
|
||||
return packages;
|
||||
}
|
||||
|
||||
public void setPackages(String packages) {
|
||||
this.packages = packages;
|
||||
}
|
||||
|
||||
public Bitmap getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(Bitmap icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public int getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public void setNum(int num) {
|
||||
this.num = num;
|
||||
}
|
||||
}
|
||||
191
app/src/main/java/com/uiuios/aios/bean/SnInfo.java
Normal file
191
app/src/main/java/com/uiuios/aios/bean/SnInfo.java
Normal file
@@ -0,0 +1,191 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SnInfo implements Serializable {
|
||||
private static final long serialVersionUID = -5268233433601073239L;
|
||||
|
||||
int id;
|
||||
String sn_value;
|
||||
int is_log;
|
||||
int is_log_type;
|
||||
int sex;
|
||||
int age;
|
||||
String height;
|
||||
String weight;
|
||||
String devices_version;
|
||||
String sn_name;
|
||||
String school;
|
||||
String is_lock;
|
||||
String is_reset;
|
||||
String grade;
|
||||
String name;
|
||||
int admin_id;
|
||||
String mobile;
|
||||
|
||||
/*
|
||||
*3 商用——企业用户
|
||||
4 C端——老人用户
|
||||
5 教育——机构用户
|
||||
6 C端——学生用户
|
||||
7 C端——DIY用户
|
||||
8 C端——经销商
|
||||
*
|
||||
* */
|
||||
int type_id;
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getSn_value() {
|
||||
return sn_value;
|
||||
}
|
||||
|
||||
public void setSn_value(String sn_value) {
|
||||
this.sn_value = sn_value;
|
||||
}
|
||||
|
||||
public int getIs_log() {
|
||||
return is_log;
|
||||
}
|
||||
|
||||
public void setIs_log(int is_log) {
|
||||
this.is_log = is_log;
|
||||
}
|
||||
|
||||
public int getIs_log_type() {
|
||||
return is_log_type;
|
||||
}
|
||||
|
||||
public void setIs_log_type(int is_log_type) {
|
||||
this.is_log_type = is_log_type;
|
||||
}
|
||||
|
||||
public int getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(int sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public int getAge() {
|
||||
return age;
|
||||
}
|
||||
|
||||
public void setAge(int age) {
|
||||
this.age = age;
|
||||
}
|
||||
|
||||
public String getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
public void setHeight(String height) {
|
||||
this.height = height;
|
||||
}
|
||||
|
||||
public String getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setWeight(String weight) {
|
||||
this.weight = weight;
|
||||
}
|
||||
|
||||
public String getDevices_version() {
|
||||
return devices_version;
|
||||
}
|
||||
|
||||
public void setDevices_version(String devices_version) {
|
||||
this.devices_version = devices_version;
|
||||
}
|
||||
|
||||
public String getSn_name() {
|
||||
return sn_name;
|
||||
}
|
||||
|
||||
public void setSn_name(String sn_name) {
|
||||
this.sn_name = sn_name;
|
||||
}
|
||||
|
||||
public String getSchool() {
|
||||
return school;
|
||||
}
|
||||
|
||||
public void setSchool(String school) {
|
||||
this.school = school;
|
||||
}
|
||||
|
||||
public String getIs_lock() {
|
||||
return is_lock;
|
||||
}
|
||||
|
||||
public void setIs_lock(String is_lock) {
|
||||
this.is_lock = is_lock;
|
||||
}
|
||||
|
||||
public String getIs_reset() {
|
||||
return is_reset;
|
||||
}
|
||||
|
||||
public void setIs_reset(String is_reset) {
|
||||
this.is_reset = is_reset;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getAdmin_id() {
|
||||
return admin_id;
|
||||
}
|
||||
|
||||
public void setAdmin_id(int admin_id) {
|
||||
this.admin_id = admin_id;
|
||||
}
|
||||
|
||||
public String getGrade() {
|
||||
return grade;
|
||||
}
|
||||
|
||||
public void setGrade(String grade) {
|
||||
this.grade = grade;
|
||||
}
|
||||
|
||||
public int getType_id() {
|
||||
return type_id;
|
||||
}
|
||||
|
||||
public void setType_id(int type_id) {
|
||||
this.type_id = type_id;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
429
app/src/main/java/com/uiuios/aios/bean/SystemSettings.java
Normal file
429
app/src/main/java/com/uiuios/aios/bean/SystemSettings.java
Normal file
@@ -0,0 +1,429 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class SystemSettings implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7763589370400496883L;
|
||||
|
||||
int setting_call;
|
||||
int setting_memory;
|
||||
String setting_usb;
|
||||
int setting_bluetooth;
|
||||
int setting_navigation;
|
||||
int setting_statusbar;
|
||||
int setting_tfmedia;
|
||||
String setting_phones;
|
||||
int setting_phone;
|
||||
int setting_camera;
|
||||
String setting_tfmedia_format;
|
||||
int setting_clock;
|
||||
int setting_recording;
|
||||
int setting_music;
|
||||
int setting_picture;
|
||||
int setting_wallpaper;
|
||||
int setting_file;
|
||||
int setting_browser;
|
||||
int setting_bhtvideo;
|
||||
String setting_context;
|
||||
|
||||
int setting_bht;
|
||||
int setting_hotspot;
|
||||
int qch_restore;
|
||||
int setting_browserInput;
|
||||
int dev_mode;
|
||||
List<Contact> setting_sos;
|
||||
String setting_volume;
|
||||
String setting_luminance;
|
||||
String setting_typeface;
|
||||
int setting_admin_app;
|
||||
int projection_screen;
|
||||
int hot_point;
|
||||
String desktop_app;
|
||||
String browser_app;
|
||||
String typewriting_app;
|
||||
int is_control;
|
||||
|
||||
int setting_rotation;
|
||||
int setting_airplane;
|
||||
int setting_disturbance;
|
||||
int setting_location;
|
||||
int setting_charge;
|
||||
int setting_other_appInstaller;
|
||||
|
||||
int is_health;
|
||||
int is_shopping;
|
||||
int is_info;
|
||||
|
||||
|
||||
public int getQch_restore() {
|
||||
return qch_restore;
|
||||
}
|
||||
|
||||
public void setQch_restore(int qch_restore) {
|
||||
this.qch_restore = qch_restore;
|
||||
}
|
||||
|
||||
public int getSetting_browserInput() {
|
||||
return setting_browserInput;
|
||||
}
|
||||
|
||||
public void setSetting_browserInput(int setting_browserInput) {
|
||||
this.setting_browserInput = setting_browserInput;
|
||||
}
|
||||
|
||||
public int getDev_mode() {
|
||||
return dev_mode;
|
||||
}
|
||||
|
||||
public void setDev_mode(int dev_mode) {
|
||||
this.dev_mode = dev_mode;
|
||||
}
|
||||
|
||||
|
||||
public int getSetting_call() {
|
||||
return setting_call;
|
||||
}
|
||||
|
||||
public void setSetting_call(int setting_call) {
|
||||
this.setting_call = setting_call;
|
||||
}
|
||||
|
||||
public int getSetting_memory() {
|
||||
return setting_memory;
|
||||
}
|
||||
|
||||
public void setSetting_memory(int setting_memory) {
|
||||
this.setting_memory = setting_memory;
|
||||
}
|
||||
|
||||
public String getSetting_usb() {
|
||||
return setting_usb;
|
||||
}
|
||||
|
||||
public void setSetting_usb(String setting_usb) {
|
||||
this.setting_usb = setting_usb;
|
||||
}
|
||||
|
||||
public int getSetting_bluetooth() {
|
||||
return setting_bluetooth;
|
||||
}
|
||||
|
||||
public void setSetting_bluetooth(int setting_bluetooth) {
|
||||
this.setting_bluetooth = setting_bluetooth;
|
||||
}
|
||||
|
||||
public int getSetting_navigation() {
|
||||
return setting_navigation;
|
||||
}
|
||||
|
||||
public void setSetting_navigation(int setting_navigation) {
|
||||
this.setting_navigation = setting_navigation;
|
||||
}
|
||||
|
||||
public int getSetting_statusbar() {
|
||||
return setting_statusbar;
|
||||
}
|
||||
|
||||
public void setSetting_statusbar(int setting_statusbar) {
|
||||
this.setting_statusbar = setting_statusbar;
|
||||
}
|
||||
|
||||
public int getSetting_tfmedia() {
|
||||
return setting_tfmedia;
|
||||
}
|
||||
|
||||
public void setSetting_tfmedia(int setting_tfmedia) {
|
||||
this.setting_tfmedia = setting_tfmedia;
|
||||
}
|
||||
|
||||
public String getSetting_phones() {
|
||||
return setting_phones;
|
||||
}
|
||||
|
||||
public void setSetting_phones(String setting_phones) {
|
||||
this.setting_phones = setting_phones;
|
||||
}
|
||||
|
||||
public int getSetting_phone() {
|
||||
return setting_phone;
|
||||
}
|
||||
|
||||
public void setSetting_phone(int setting_phone) {
|
||||
this.setting_phone = setting_phone;
|
||||
}
|
||||
|
||||
public int getSetting_camera() {
|
||||
return setting_camera;
|
||||
}
|
||||
|
||||
public void setSetting_camera(int setting_camera) {
|
||||
this.setting_camera = setting_camera;
|
||||
}
|
||||
|
||||
public String getSetting_tfmedia_format() {
|
||||
return setting_tfmedia_format;
|
||||
}
|
||||
|
||||
public void setSetting_tfmedia_format(String setting_tfmedia_format) {
|
||||
this.setting_tfmedia_format = setting_tfmedia_format;
|
||||
}
|
||||
|
||||
public int getSetting_clock() {
|
||||
return setting_clock;
|
||||
}
|
||||
|
||||
public void setSetting_clock(int setting_clock) {
|
||||
this.setting_clock = setting_clock;
|
||||
}
|
||||
|
||||
public int getSetting_recording() {
|
||||
return setting_recording;
|
||||
}
|
||||
|
||||
public void setSetting_recording(int setting_recording) {
|
||||
this.setting_recording = setting_recording;
|
||||
}
|
||||
|
||||
public int getSetting_music() {
|
||||
return setting_music;
|
||||
}
|
||||
|
||||
public void setSetting_music(int setting_music) {
|
||||
this.setting_music = setting_music;
|
||||
}
|
||||
|
||||
public int getSetting_picture() {
|
||||
return setting_picture;
|
||||
}
|
||||
|
||||
public void setSetting_picture(int setting_picture) {
|
||||
this.setting_picture = setting_picture;
|
||||
}
|
||||
|
||||
public int getSetting_wallpaper() {
|
||||
return setting_wallpaper;
|
||||
}
|
||||
|
||||
public void setSetting_wallpaper(int setting_wallpaper) {
|
||||
this.setting_wallpaper = setting_wallpaper;
|
||||
}
|
||||
|
||||
public int getSetting_file() {
|
||||
return setting_file;
|
||||
}
|
||||
|
||||
public void setSetting_file(int setting_file) {
|
||||
this.setting_file = setting_file;
|
||||
}
|
||||
|
||||
public int getSetting_browser() {
|
||||
return setting_browser;
|
||||
}
|
||||
|
||||
public void setSetting_browser(int setting_browser) {
|
||||
this.setting_browser = setting_browser;
|
||||
}
|
||||
|
||||
public int getSetting_bhtvideo() {
|
||||
return setting_bhtvideo;
|
||||
}
|
||||
|
||||
public void setSetting_bhtvideo(int setting_bhtvideo) {
|
||||
this.setting_bhtvideo = setting_bhtvideo;
|
||||
}
|
||||
|
||||
public String getSetting_context() {
|
||||
return setting_context;
|
||||
}
|
||||
|
||||
public void setSetting_context(String setting_context) {
|
||||
this.setting_context = setting_context;
|
||||
}
|
||||
|
||||
public int getSetting_bht() {
|
||||
return setting_bht;
|
||||
}
|
||||
|
||||
public void setSetting_bht(int setting_bht) {
|
||||
this.setting_bht = setting_bht;
|
||||
}
|
||||
|
||||
public int getSetting_hotspot() {
|
||||
return setting_hotspot;
|
||||
}
|
||||
|
||||
public void setSetting_hotspot(int setting_hotspot) {
|
||||
this.setting_hotspot = setting_hotspot;
|
||||
}
|
||||
|
||||
public List<Contact> getSetting_sos() {
|
||||
return setting_sos;
|
||||
}
|
||||
|
||||
public void setSetting_sos(List<Contact> setting_sos) {
|
||||
this.setting_sos = setting_sos;
|
||||
}
|
||||
|
||||
public String getSetting_volume() {
|
||||
return setting_volume;
|
||||
}
|
||||
|
||||
public void setSetting_volume(String setting_volume) {
|
||||
this.setting_volume = setting_volume;
|
||||
}
|
||||
|
||||
public String getSetting_luminance() {
|
||||
return setting_luminance;
|
||||
}
|
||||
|
||||
public void setSetting_luminance(String setting_luminance) {
|
||||
this.setting_luminance = setting_luminance;
|
||||
}
|
||||
|
||||
public String getSetting_typeface() {
|
||||
return setting_typeface;
|
||||
}
|
||||
|
||||
public void setSetting_typeface(String setting_typeface) {
|
||||
this.setting_typeface = setting_typeface;
|
||||
}
|
||||
|
||||
public int getSetting_admin_app() {
|
||||
return setting_admin_app;
|
||||
}
|
||||
|
||||
public void setSetting_admin_app(int setting_admin_app) {
|
||||
this.setting_admin_app = setting_admin_app;
|
||||
}
|
||||
|
||||
public int getProjection_screen() {
|
||||
return projection_screen;
|
||||
}
|
||||
|
||||
public void setProjection_screen(int projection_screen) {
|
||||
this.projection_screen = projection_screen;
|
||||
}
|
||||
|
||||
public int getHot_point() {
|
||||
return hot_point;
|
||||
}
|
||||
|
||||
public void setHot_point(int hot_point) {
|
||||
this.hot_point = hot_point;
|
||||
}
|
||||
|
||||
public String getDesktop_app() {
|
||||
return desktop_app;
|
||||
}
|
||||
|
||||
public void setDesktop_app(String desktop_app) {
|
||||
this.desktop_app = desktop_app;
|
||||
}
|
||||
|
||||
public String getBrowser_app() {
|
||||
return browser_app;
|
||||
}
|
||||
|
||||
public void setBrowser_app(String browser_app) {
|
||||
this.browser_app = browser_app;
|
||||
}
|
||||
|
||||
public String getTypewriting_app() {
|
||||
return typewriting_app;
|
||||
}
|
||||
|
||||
public void setTypewriting_app(String typewriting_app) {
|
||||
this.typewriting_app = typewriting_app;
|
||||
}
|
||||
|
||||
public int getIs_control() {
|
||||
return is_control;
|
||||
}
|
||||
|
||||
public void setIs_control(int is_control) {
|
||||
this.is_control = is_control;
|
||||
}
|
||||
|
||||
public int getSetting_rotation() {
|
||||
return setting_rotation;
|
||||
}
|
||||
|
||||
public void setSetting_rotation(int setting_rotation) {
|
||||
this.setting_rotation = setting_rotation;
|
||||
}
|
||||
|
||||
public int getSetting_airplane() {
|
||||
return setting_airplane;
|
||||
}
|
||||
|
||||
public void setSetting_airplane(int setting_airplane) {
|
||||
this.setting_airplane = setting_airplane;
|
||||
}
|
||||
|
||||
public int getSetting_disturbance() {
|
||||
return setting_disturbance;
|
||||
}
|
||||
|
||||
public void setSetting_disturbance(int setting_disturbance) {
|
||||
this.setting_disturbance = setting_disturbance;
|
||||
}
|
||||
|
||||
public int getSetting_location() {
|
||||
return setting_location;
|
||||
}
|
||||
|
||||
public void setSetting_location(int setting_location) {
|
||||
this.setting_location = setting_location;
|
||||
}
|
||||
|
||||
public int getSetting_charge() {
|
||||
return setting_charge;
|
||||
}
|
||||
|
||||
public void setSetting_charge(int setting_charge) {
|
||||
this.setting_charge = setting_charge;
|
||||
}
|
||||
|
||||
public int getSetting_other_appInstaller() {
|
||||
return setting_other_appInstaller;
|
||||
}
|
||||
|
||||
public void setSetting_other_appInstaller(int setting_other_appInstaller) {
|
||||
this.setting_other_appInstaller = setting_other_appInstaller;
|
||||
}
|
||||
|
||||
public int getIs_health() {
|
||||
return is_health;
|
||||
}
|
||||
|
||||
public void setIs_health(int is_health) {
|
||||
this.is_health = is_health;
|
||||
}
|
||||
|
||||
public int getIs_shopping() {
|
||||
return is_shopping;
|
||||
}
|
||||
|
||||
public void setIs_shopping(int is_shopping) {
|
||||
this.is_shopping = is_shopping;
|
||||
}
|
||||
|
||||
public int getIs_info() {
|
||||
return is_info;
|
||||
}
|
||||
|
||||
public void setIs_info(int is_info) {
|
||||
this.is_info = is_info;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return JsonParser.parseString(new Gson().toJson(this)).getAsJsonObject().toString();
|
||||
}
|
||||
}
|
||||
44
app/src/main/java/com/uiuios/aios/bean/UserAvatarInfo.java
Normal file
44
app/src/main/java/com/uiuios/aios/bean/UserAvatarInfo.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserAvatarInfo implements Serializable {
|
||||
private static final long serialVersionUID = 7700643058775210597L;
|
||||
|
||||
String username;
|
||||
String avatar;
|
||||
String gread;
|
||||
int id;
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public String getGread() {
|
||||
return gread;
|
||||
}
|
||||
|
||||
public void setGread(String gread) {
|
||||
this.gread = gread;
|
||||
}
|
||||
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
17
app/src/main/java/com/uiuios/aios/bean/UserId.java
Normal file
17
app/src/main/java/com/uiuios/aios/bean/UserId.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class UserId implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 8035934571639651952L;
|
||||
int user_id;
|
||||
|
||||
public int getUser_id() {
|
||||
return user_id;
|
||||
}
|
||||
|
||||
public void setUser_id(int user_id) {
|
||||
this.user_id = user_id;
|
||||
}
|
||||
}
|
||||
294
app/src/main/java/com/uiuios/aios/bean/WeatherDailyJson.java
Normal file
294
app/src/main/java/com/uiuios/aios/bean/WeatherDailyJson.java
Normal file
@@ -0,0 +1,294 @@
|
||||
package com.uiuios.aios.bean;
|
||||
|
||||
import com.qweather.sdk.bean.Basic;
|
||||
import com.qweather.sdk.bean.Refer;
|
||||
import com.qweather.sdk.bean.base.Code;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
public class WeatherDailyJson implements Serializable {
|
||||
private static final long serialVersionUID = 1585791680452421396L;
|
||||
|
||||
private Code code;
|
||||
private Basic basic;
|
||||
private List<DailyJson> daily;
|
||||
private Refer refer;
|
||||
|
||||
public WeatherDailyJson() {
|
||||
}
|
||||
|
||||
public Refer getRefer() {
|
||||
return this.refer;
|
||||
}
|
||||
|
||||
public void setRefer(Refer var1) {
|
||||
this.refer = var1;
|
||||
}
|
||||
|
||||
public Code getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public void setCode(Code var1) {
|
||||
this.code = var1;
|
||||
}
|
||||
|
||||
public Basic getBasic() {
|
||||
return this.basic;
|
||||
}
|
||||
|
||||
public void setBasic(Basic var1) {
|
||||
this.basic = var1;
|
||||
}
|
||||
|
||||
public List<DailyJson> getDaily() {
|
||||
return this.daily;
|
||||
}
|
||||
|
||||
public void setDaily(List<DailyJson> var1) {
|
||||
this.daily = var1;
|
||||
}
|
||||
|
||||
public static class DailyJson {
|
||||
String fxDate = "";
|
||||
String sunrise = "";
|
||||
String sunset = "";
|
||||
String moonRise = "";
|
||||
String moonSet = "";
|
||||
String moonPhase = "";
|
||||
String tempMax = "";
|
||||
String tempMin = "";
|
||||
String iconDay = "";
|
||||
String textDay = "";
|
||||
String iconNight = "";
|
||||
String textNight = "";
|
||||
String wind360Day = "";
|
||||
String windDirDay = "";
|
||||
String windScaleDay = "";
|
||||
String windSpeedDay = "";
|
||||
String wind360Night = "";
|
||||
String windDirNight = "";
|
||||
String windScaleNight = "";
|
||||
String windSpeedNight = "";
|
||||
String humidity = "";
|
||||
String precip = "";
|
||||
String pressure = "";
|
||||
String vis = "";
|
||||
String cloud = "";
|
||||
String uvIndex = "";
|
||||
|
||||
public DailyJson() {
|
||||
|
||||
}
|
||||
|
||||
public String getFxDate() {
|
||||
return this.fxDate;
|
||||
}
|
||||
|
||||
public void setFxDate(String var1) {
|
||||
this.fxDate = var1;
|
||||
}
|
||||
|
||||
public String getSunrise() {
|
||||
return this.sunrise;
|
||||
}
|
||||
|
||||
public void setSunrise(String var1) {
|
||||
this.sunrise = var1;
|
||||
}
|
||||
|
||||
public String getSunset() {
|
||||
return this.sunset;
|
||||
}
|
||||
|
||||
public void setSunset(String var1) {
|
||||
this.sunset = var1;
|
||||
}
|
||||
|
||||
public String getMoonRise() {
|
||||
return this.moonRise;
|
||||
}
|
||||
|
||||
public void setMoonRise(String var1) {
|
||||
this.moonRise = var1;
|
||||
}
|
||||
|
||||
public String getMoonSet() {
|
||||
return this.moonSet;
|
||||
}
|
||||
|
||||
public void setMoonSet(String var1) {
|
||||
this.moonSet = var1;
|
||||
}
|
||||
|
||||
public String getMoonPhase() {
|
||||
return this.moonPhase;
|
||||
}
|
||||
|
||||
public void setMoonPhase(String var1) {
|
||||
this.moonPhase = var1;
|
||||
}
|
||||
|
||||
public String getTempMax() {
|
||||
return this.tempMax;
|
||||
}
|
||||
|
||||
public void setTempMax(String var1) {
|
||||
this.tempMax = var1;
|
||||
}
|
||||
|
||||
public String getTempMin() {
|
||||
return this.tempMin;
|
||||
}
|
||||
|
||||
public void setTempMin(String var1) {
|
||||
this.tempMin = var1;
|
||||
}
|
||||
|
||||
public String getIconDay() {
|
||||
return this.iconDay;
|
||||
}
|
||||
|
||||
public void setIconDay(String var1) {
|
||||
this.iconDay = var1;
|
||||
}
|
||||
|
||||
public String getTextDay() {
|
||||
return this.textDay;
|
||||
}
|
||||
|
||||
public void setTextDay(String var1) {
|
||||
this.textDay = var1;
|
||||
}
|
||||
|
||||
public String getIconNight() {
|
||||
return this.iconNight;
|
||||
}
|
||||
|
||||
public void setIconNight(String var1) {
|
||||
this.iconNight = var1;
|
||||
}
|
||||
|
||||
public String getTextNight() {
|
||||
return this.textNight;
|
||||
}
|
||||
|
||||
public void setTextNight(String var1) {
|
||||
this.textNight = var1;
|
||||
}
|
||||
|
||||
public String getWind360Day() {
|
||||
return this.wind360Day;
|
||||
}
|
||||
|
||||
public void setWind360Day(String var1) {
|
||||
this.wind360Day = var1;
|
||||
}
|
||||
|
||||
public String getWindDirDay() {
|
||||
return this.windDirDay;
|
||||
}
|
||||
|
||||
public void setWindDirDay(String var1) {
|
||||
this.windDirDay = var1;
|
||||
}
|
||||
|
||||
public String getWindScaleDay() {
|
||||
return this.windScaleDay;
|
||||
}
|
||||
|
||||
public void setWindScaleDay(String var1) {
|
||||
this.windScaleDay = var1;
|
||||
}
|
||||
|
||||
public String getWindSpeedDay() {
|
||||
return this.windSpeedDay;
|
||||
}
|
||||
|
||||
public void setWindSpeedDay(String var1) {
|
||||
this.windSpeedDay = var1;
|
||||
}
|
||||
|
||||
public String getWind360Night() {
|
||||
return this.wind360Night;
|
||||
}
|
||||
|
||||
public void setWind360Night(String var1) {
|
||||
this.wind360Night = var1;
|
||||
}
|
||||
|
||||
public String getWindDirNight() {
|
||||
return this.windDirNight;
|
||||
}
|
||||
|
||||
public void setWindDirNight(String var1) {
|
||||
this.windDirNight = var1;
|
||||
}
|
||||
|
||||
public String getWindScaleNight() {
|
||||
return this.windScaleNight;
|
||||
}
|
||||
|
||||
public void setWindScaleNight(String var1) {
|
||||
this.windScaleNight = var1;
|
||||
}
|
||||
|
||||
public String getWindSpeedNight() {
|
||||
return this.windSpeedNight;
|
||||
}
|
||||
|
||||
public void setWindSpeedNight(String var1) {
|
||||
this.windSpeedNight = var1;
|
||||
}
|
||||
|
||||
public String getHumidity() {
|
||||
return this.humidity;
|
||||
}
|
||||
|
||||
public void setHumidity(String var1) {
|
||||
this.humidity = var1;
|
||||
}
|
||||
|
||||
public String getPrecip() {
|
||||
return this.precip;
|
||||
}
|
||||
|
||||
public void setPrecip(String var1) {
|
||||
this.precip = var1;
|
||||
}
|
||||
|
||||
public String getPressure() {
|
||||
return this.pressure;
|
||||
}
|
||||
|
||||
public void setPressure(String var1) {
|
||||
this.pressure = var1;
|
||||
}
|
||||
|
||||
public String getVis() {
|
||||
return this.vis;
|
||||
}
|
||||
|
||||
public void setVis(String var1) {
|
||||
this.vis = var1;
|
||||
}
|
||||
|
||||
public String getCloud() {
|
||||
return this.cloud;
|
||||
}
|
||||
|
||||
public void setCloud(String var1) {
|
||||
this.cloud = var1;
|
||||
}
|
||||
|
||||
public String getUvIndex() {
|
||||
return this.uvIndex;
|
||||
}
|
||||
|
||||
public void setUvIndex(String var1) {
|
||||
this.uvIndex = var1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user