public int MyDistance(MapPosition targetPosition) { return(Position.MyDistance(targetPosition)); }
public bool InAddress(MapPosition targetPosition) { var posRange = Vehicle.Instance.MainFlowConfig.RealPositionRangeMm; return(MyDistance(targetPosition) <= posRange); }