public RouteEntry(POTI.POTIRoute.POTIPoint entry) { //Position = entry.Position; PositionX = entry.Position.X; PositionY = entry.Position.Y; PositionZ = entry.Position.Z; Speed = entry.RouteSpeed; Setting2 = entry.Setting2; }
public POTI.POTIRoute.POTIPoint ToPOTIPoint() { POTI.POTIRoute.POTIPoint point = new POTI.POTIRoute.POTIPoint(); //point.Position = Position; point.Position = new Vector3(PositionX, PositionY, PositionZ); point.RouteSpeed = Speed; point.Setting2 = Setting2; return(point); }