和位号更新后刷新电缆的from/to有关代码
This commit is contained in:
parent
231e088199
commit
68559cf7f5
@ -1839,6 +1839,7 @@ namespace Learun.Application.TwoDevelopment.ZZDT_EC
|
||||
}
|
||||
//更新电缆属性里的 起始设备 和 终止设备
|
||||
//不需要 查询时会自动处理
|
||||
Db.Updateable(existCableConns).AS($"ec_enginedata_rel_{ProjectEntity.ProjectIndex}").ExecuteCommand();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1667,6 +1667,7 @@ Select((a, b, c) => new
|
||||
model.RelTypeID = RelTypeID;
|
||||
model.RelEngineData1ID = RelEngineData1ID;
|
||||
model.RelEngineData2ID = item;
|
||||
model.OPCPixel = tagPixelId;
|
||||
engineDataRelAdd.Add(model);
|
||||
continue;
|
||||
}
|
||||
@ -1685,6 +1686,7 @@ Select((a, b, c) => new
|
||||
model.RelTypeID = RelTypeID;
|
||||
model.RelEngineData1ID = RelEngineData1ID;
|
||||
model.RelEngineData2ID = item;
|
||||
model.OPCPixel = tagPixelId;
|
||||
engineDataRelAdd.Add(model);
|
||||
continue;
|
||||
}
|
||||
@ -1749,6 +1751,7 @@ Select((a, b, c) => new
|
||||
model.RelTypeID = RelTypeID;
|
||||
model.RelEngineData1ID = item;
|
||||
model.RelEngineData2ID = relEngineData2ID;
|
||||
model.OPCPixel = tagPixelId;
|
||||
engineDataRelAdd.Add(model);
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user