改了点小地方,不然没有房间号只有肋位号的位号出不来。
This commit is contained in:
parent
d88f2c2654
commit
560d62a6d6
@ -244,9 +244,8 @@ namespace Learun.Application.Web.AppApi
|
||||
area = "ERR",
|
||||
};
|
||||
basePoint.Tags.Add(layoutTagInfoInvalid);
|
||||
foreach (var item in EquipPropAll)
|
||||
foreach (var item in EquipPropAll.Where(x=>x.EngineDataID== matchPointTagId))
|
||||
{
|
||||
if (matchPointTagIdSet.Contains(item.EngineDataID))
|
||||
item.Marker = true;
|
||||
}
|
||||
continue;
|
||||
@ -266,6 +265,11 @@ namespace Learun.Application.Web.AppApi
|
||||
{
|
||||
strRoom = matchedRoom.DataItemName;
|
||||
}
|
||||
if(matchedRoom==null && basePoint.RoomNo!=string.Empty)//这里基点也要判断下,只有是基点带ROOMNO值的才不统计
|
||||
{
|
||||
//如果房间号没有匹配的,肋位号有,则不打标记,而且应该把该位号放到只有肋位号的基点上去,没有这种基点则不统计
|
||||
continue;
|
||||
}
|
||||
var Prop_FrameOff = tagProps.FirstOrDefault(x => x.PropertyName == GlobalObject.propName_FrameOff)?.PropertyValue;
|
||||
var Prop_YOff = tagProps.FirstOrDefault(x => x.PropertyName == GlobalObject.propName_YOff)?.PropertyValue;
|
||||
|
||||
@ -365,9 +369,8 @@ namespace Learun.Application.Web.AppApi
|
||||
RoomNo = strRoom
|
||||
};
|
||||
basePoint.Tags.Add(layoutTagInfo);
|
||||
foreach (var item in EquipPropAll)
|
||||
foreach (var item in EquipPropAll.Where(x => x.EngineDataID == matchPointTagId))
|
||||
{
|
||||
if (matchPointTagIdSet.Contains(item.EngineDataID))
|
||||
item.Marker = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user