|
@@ -161,6 +161,7 @@ class SyncEquipment : SyncObject{
|
|
dcEquip.familySymbol = it.value.familySymbol
|
|
dcEquip.familySymbol = it.value.familySymbol
|
|
dcEquip.modelId = it.value.modelId
|
|
dcEquip.modelId = it.value.modelId
|
|
dcEquip.bimTypeID = it.value.bimTypeID
|
|
dcEquip.bimTypeID = it.value.bimTypeID
|
|
|
|
+ dcEquip.bimTypeName = it.value.bimTypeName
|
|
dcEquip.infos = it.value.infos
|
|
dcEquip.infos = it.value.infos
|
|
generateCADID(dcEquip)
|
|
generateCADID(dcEquip)
|
|
val point = it.value.location?.points?.get(0)
|
|
val point = it.value.location?.points?.get(0)
|
|
@@ -208,6 +209,7 @@ class SyncEquipment : SyncObject{
|
|
dcEquip.familySymbol = equip.familySymbol
|
|
dcEquip.familySymbol = equip.familySymbol
|
|
dcEquip.modelId = equip.modelId
|
|
dcEquip.modelId = equip.modelId
|
|
dcEquip.bimTypeID = equip.bimTypeID
|
|
dcEquip.bimTypeID = equip.bimTypeID
|
|
|
|
+ dcEquip.bimTypeName = equip.bimTypeName
|
|
updateList.add(dcEquip)
|
|
updateList.add(dcEquip)
|
|
if(equip.propertyId != null && dcEquip.id != null)
|
|
if(equip.propertyId != null && dcEquip.id != null)
|
|
propertyMap[equip.propertyId!!] = dcEquip.id!!
|
|
propertyMap[equip.propertyId!!] = dcEquip.id!!
|