修改数据上传

This commit is contained in:
squallzhjch
2023-05-05 14:33:54 +08:00
parent b98e8b1614
commit 4d4549557d
15 changed files with 157 additions and 82 deletions

View File

@@ -7,9 +7,16 @@ import kotlinx.parcelize.Parcelize
data class SignBean(
//图标ID
val iconId: Int,
//定位点到目标距离
val distance: Int = 0,
//图表中的问题
val iconText: String = "",
//绑定的要素id
val elementId: String = "",
//绑定的linkid
val linkId: String,
//坐标
val geometry: String,
//底部文字
val bottomText: String,
) : Parcelable

View File

@@ -64,9 +64,11 @@ open class TaskBean @JvmOverloads constructor(
var syncStatus: Int = FileManager.Companion.FileUploadStatus.NONE,
@Ignore
var message: String = ""
var message: String = "",
var color: Int = 0xFF00AA
) : RealmObject() {
fun getDownLoadUrl(): String {
return "${Constant.SERVER_ADDRESS}devcp/download?fileStr=$id"
}
}