public int MyDistance(MapPosition targetPosition)
 {
     return(Position.MyDistance(targetPosition));
 }
Ejemplo n.º 2
0
        public bool InAddress(MapPosition targetPosition)
        {
            var posRange = Vehicle.Instance.MainFlowConfig.RealPositionRangeMm;

            return(MyDistance(targetPosition) <= posRange);
        }