jimu-decompiled/sources/com/ubt/jimu/blockly/bean/JimuMotion.java
2025-05-13 19:24:51 +02:00

159 lines
3.7 KiB
Java

package com.ubt.jimu.blockly.bean;
import com.google.gson.reflect.TypeToken;
import com.ubt.jimu.utils.JsonHelper;
import java.util.ArrayList;
import org.greenrobot.greendao.converter.PropertyConverter;
/* loaded from: classes.dex */
public class JimuMotion {
public ArrayList<JimuServo> actionData;
private String actionID;
private String actionName;
private String customModelId;
private String defaultName;
private String isDeleted;
private int isFirst;
private boolean isUploadService;
private long lastUploadTime;
private Long localId;
private int modelId;
private String modelType;
private String userId;
public static class JimuServo {
public int degree;
public int ms;
public int servo;
}
public static class JimuServoConverter implements PropertyConverter<ArrayList<JimuServo>, String> {
public String convertToDatabaseValue(ArrayList<JimuServo> arrayList) {
return JsonHelper.a(arrayList);
}
public ArrayList<JimuServo> convertToEntityProperty(String str) {
return (ArrayList) JsonHelper.a(str, new TypeToken<ArrayList<JimuServo>>() { // from class: com.ubt.jimu.blockly.bean.JimuMotion.JimuServoConverter.1
}.getType());
}
}
public JimuMotion(Long l, String str, String str2, String str3, int i, boolean z, long j, int i2, String str4, String str5, String str6, ArrayList<JimuServo> arrayList) {
this.localId = l;
this.modelType = str;
this.customModelId = str2;
this.isDeleted = str3;
this.modelId = i;
this.isUploadService = z;
this.lastUploadTime = j;
this.isFirst = i2;
this.actionName = str4;
this.actionID = str5;
this.userId = str6;
this.actionData = arrayList;
}
public ArrayList<JimuServo> getActionData() {
return this.actionData;
}
public String getActionID() {
return this.actionID;
}
public String getActionName() {
return this.actionName;
}
public String getCustomModelId() {
return this.customModelId;
}
public String getDefaultName() {
return this.defaultName;
}
public String getIsDeleted() {
return this.isDeleted;
}
public int getIsFirst() {
return this.isFirst;
}
public boolean getIsUploadService() {
return this.isUploadService;
}
public long getLastUploadTime() {
return this.lastUploadTime;
}
public Long getLocalId() {
return this.localId;
}
public int getModelId() {
return this.modelId;
}
public String getModelType() {
return this.modelType;
}
public String getUserId() {
return this.userId;
}
public void setActionData(ArrayList<JimuServo> arrayList) {
this.actionData = arrayList;
}
public void setActionID(String str) {
this.actionID = str;
}
public void setActionName(String str) {
this.actionName = str;
}
public void setCustomModelId(String str) {
this.customModelId = str;
}
public void setIsDeleted(String str) {
this.isDeleted = str;
}
public void setIsFirst(int i) {
this.isFirst = i;
}
public void setIsUploadService(boolean z) {
this.isUploadService = z;
}
public void setLastUploadTime(long j) {
this.lastUploadTime = j;
}
public void setLocalId(Long l) {
this.localId = l;
}
public void setModelId(int i) {
this.modelId = i;
}
public void setModelType(String str) {
this.modelType = str;
}
public void setUserId(String str) {
this.userId = str;
}
public JimuMotion() {
}
}