private string Compute(DataEntity Data) { var time = new Time(2014, 1, 20, 14, 56, 10.0); double ele = 45; double T = 20, P = 1001, H = 45.0; var rx = new Position(30, 114, 30, CoordinateSystem.Geodetic); var model = new NeillTropModel(rx, time); model.SetWeather(T, P, H); string line = String.Format("elevation:{0:0.00}, ZHD:{1:0.0000},ZWD:{2:0.000},Correction:{3:0.000}", ele, model.DryZenithDelay(), model.WetZenithDelay(), model.Correction(ele)); return(line); }
public Algo(DataEntity data) { Data = data; }