|
@@ -163,6 +163,8 @@ class SyncEquipment : SyncObject{
|
|
|
dcEquip.bimTypeID = it.value.bimTypeID
|
|
|
dcEquip.bimTypeName = it.value.bimTypeName
|
|
|
dcEquip.infos = it.value.infos
|
|
|
+ dcEquip.aliasCode = it.value.aliasCode
|
|
|
+ dcEquip.aliasName = it.value.aliasName
|
|
|
generateCADID(dcEquip)
|
|
|
val point = it.value.location?.points?.get(0)
|
|
|
addLocationAndFloorId(point, dcEquip, sb)
|
|
@@ -210,6 +212,8 @@ class SyncEquipment : SyncObject{
|
|
|
dcEquip.modelId = equip.modelId
|
|
|
dcEquip.bimTypeID = equip.bimTypeID
|
|
|
dcEquip.bimTypeName = equip.bimTypeName
|
|
|
+ dcEquip.aliasCode = equip.aliasCode
|
|
|
+ dcEquip.aliasName = equip.aliasName
|
|
|
updateList.add(dcEquip)
|
|
|
if(equip.propertyId != null && dcEquip.id != null)
|
|
|
propertyMap[equip.propertyId!!] = dcEquip.id!!
|