Пример #1
0
        public void SetGeo(GeographicCoordinates newgeo)
        {
            vObjectProperty pr = GetProperty("GEO");

            if (pr == null)
            {
                SetProperty(new GeographicPosition(this, newgeo));
            }
            else
            {
                ((GeographicPosition)pr).SetCoord(newgeo.longitude, newgeo.latitude);
            }
        }
Пример #2
0
 public GeographicPosition(vObject owner,GeographicCoordinates crd): base("GEO",owner)
 {
     _val=crd;
 }
Пример #3
0
 public GeographicPosition(vObject owner): base("GEO",owner)
 {
     _val=new GeographicCoordinates();
 }
Пример #4
0
		public void SetGeo(GeographicCoordinates newgeo)
		{
			vObjectProperty pr=GetProperty("GEO");
			if(pr==null)SetProperty(new GeographicPosition(this,newgeo));
			else ((GeographicPosition)pr).SetCoord(newgeo.longitude,newgeo.latitude);
		}
Пример #5
0
 public GeographicPosition(vObject owner, GeographicCoordinates crd) : base("GEO", owner)
 {
     _val = crd;
 }
Пример #6
0
 public GeographicPosition(vObject owner) : base("GEO", owner)
 {
     _val = new GeographicCoordinates();
 }