示例#1
0
文件: P528.cs 项目: dalerxli/p528
        /// <summary>
        /// Recommendation ITU-R P.528-4
        /// </summary>
        /// <param name="d__km">Path distance, in km</param>
        /// <param name="h_1__meter">Height of the low terminal, in meters</param>
        /// <param name="h_2__meter">Height of the high terminal, in meters</param>
        /// <param name="f__mhz">Frequency, in MHz</param>
        /// <param name="time_percentage">Time percentage (0 &lt; q &lt; 1)</param>
        /// <param name="result">Result data structure</param>
        /// <param name="terminal_1">Intermediate values for terminal 1 geometry</param>
        /// <param name="terminal_2">Intermediate values for terminal 2 geometry</param>
        /// <param name="tropo">Intermediate values for troposcatter calculations</param>
        /// <param name="path">Intermediate values for propagation path</param>
        /// <param name="los_params">Intermediate values for Line-of-Sight calculations</param>
        /// <returns>Return code</returns>
        public static int InvokeEx(double d__km, double h_1__meter, double h_2__meter, double f__mhz, double time_percentage, out Result result,
                                   out Terminal terminal_1, out Terminal terminal_2, out TroposcatterParams tropo, out Path path, out LineOfSightParams los_params)
        {
            result     = new Result();
            terminal_1 = new Terminal();
            terminal_2 = new Terminal();
            tropo      = new TroposcatterParams();
            path       = new Path();
            los_params = new LineOfSightParams();

            return(P528Ex_Invoke(d__km, h_1__meter, h_2__meter, f__mhz, time_percentage, ref result, ref terminal_1, ref terminal_2, ref tropo, ref path, ref los_params));
        }
示例#2
0
 private static extern int P528Ex_x64(double d__km, double h_1__meter, double h_2__meter, double f__mhz, int T_pol,
                                      double p, out Result result, out Terminal terminal_1, out Terminal terminal_2,
                                      out TroposcatterParams tropo, out Path path, out LineOfSightParams los_params);
示例#3
0
文件: P528.cs 项目: dalerxli/p528
 private static extern int P528Ex_x64(double d__km, double h_1__meter, double h_2__meter, double f__mhz, double time_percentage, ref Result result,
                                      ref Terminal terminal_1, ref Terminal terminal_2, ref TroposcatterParams tropo, ref Path path, ref LineOfSightParams los_params);
示例#4
0
 /// <summary>
 /// Recommendation ITU-R P.528-5
 /// </summary>
 /// <param name="d__km">Path distance, in km</param>
 /// <param name="h_1__meter">Height of the low terminal, in meters</param>
 /// <param name="h_2__meter">Height of the high terminal, in meters</param>
 /// <param name="f__mhz">Frequency, in MHz</param>
 /// <param name="T_pol">Polarization</param>
 /// <param name="p">Time percentage</param>
 /// <param name="result">Result data structure</param>
 /// <param name="terminal_1">Intermediate values for terminal 1 geometry</param>
 /// <param name="terminal_2">Intermediate values for terminal 2 geometry</param>
 /// <param name="tropo">Intermediate values for troposcatter calculations</param>
 /// <param name="path">Intermediate values for propagation path</param>
 /// <param name="los_params">Intermediate values for Line-of-Sight calculations</param>
 /// <returns>Return code</returns>
 public static int InvokeEx(double d__km, double h_1__meter, double h_2__meter, double f__mhz, Polarization T_pol, double p, out Result result,
                            out Terminal terminal_1, out Terminal terminal_2, out TroposcatterParams tropo, out Path path, out LineOfSightParams los_params)
 {
     return(P528Ex_Invoke(d__km, h_1__meter, h_2__meter, f__mhz, (int)T_pol, p, out result, out terminal_1,
                          out terminal_2, out tropo, out path, out los_params));
 }