和布置图获取值有关代码更新
This commit is contained in:
parent
ed968f39f9
commit
9d346502eb
@ -88,7 +88,7 @@ namespace Learun.Application.Web.AppApi
|
|||||||
return -1;//无效的x off导致的
|
return -1;//无效的x off导致的
|
||||||
}
|
}
|
||||||
if (double.TryParse(nearPanelProps.FirstOrDefault(x => x.PropertyName == GlobalObject.propName_YOff)?.PropertyValue,
|
if (double.TryParse(nearPanelProps.FirstOrDefault(x => x.PropertyName == GlobalObject.propName_YOff)?.PropertyValue,
|
||||||
, out double YOffValue))
|
out double YOffValue))
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -129,7 +129,7 @@ namespace Learun.Application.Web.AppApi
|
|||||||
return null;//无效的x off导致的
|
return null;//无效的x off导致的
|
||||||
}
|
}
|
||||||
if (double.TryParse(curPanelProps.FirstOrDefault(x => x.PropertyName == GlobalObject.propName_YOff)?.PropertyValue,
|
if (double.TryParse(curPanelProps.FirstOrDefault(x => x.PropertyName == GlobalObject.propName_YOff)?.PropertyValue,
|
||||||
, out double AssignPanelYValue))
|
out double AssignPanelYValue))
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -181,7 +181,7 @@ namespace Learun.Application.Web.AppApi
|
|||||||
{
|
{
|
||||||
#region 每个基点关联的设备
|
#region 每个基点关联的设备
|
||||||
//甲板 区域都和基点一致的设备
|
//甲板 区域都和基点一致的设备
|
||||||
var DeckMatchedTagIds = EquipPropAll.Where(x => x.PropertyName == "甲板号" && x.PropertyValue == basePoint.deck).Select(X => X.EngineDataID).ToList();
|
var DeckMatchedTagIds = EquipPropAll.Where(x => x.PropertyName == "甲板号" && (x.PropertyValue?.Split(new[] { "||" }, StringSplitOptions.None)[0] == basePoint.deck)).Select(X => X.EngineDataID).ToList();
|
||||||
//var AreaMatchedTagIds = EquipPropAll.Where(x => x.PropertyName == "区域" && x.PropertyValue == basePoint.area).Select(X => X.EngineDataID).ToList();
|
//var AreaMatchedTagIds = EquipPropAll.Where(x => x.PropertyName == "区域" && x.PropertyValue == basePoint.area).Select(X => X.EngineDataID).ToList();
|
||||||
//#task 9542
|
//#task 9542
|
||||||
var matchPointTagIds = DeckMatchedTagIds;//.Intersect(AreaMatchedTagIds).ToList();
|
var matchPointTagIds = DeckMatchedTagIds;//.Intersect(AreaMatchedTagIds).ToList();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user