I need to see if the pallet is stackable or not. If I get two pallets the following LINQ work fine but if we have only one pallet with information does not work.
var stackableUDC = (from ms in Model.CurrentMissions
where (ms.CurrentStationId == StationId
&& ms.Lgv.Station.Positions.Select(y => y.TrackingId > 0
&& y.TrackingInfo.StackableType > 0
&& y.TrackingInfo.StackableType == (int)EStackableType.doubleStack
&& y.TrackingInfo.StackableType != (int)EStackableType.singleStack
I need to get the single pallet two if is Stackable.
Please see the picture for better explanation.