Exemple #1
0
 /// <summary>
 /// 获取设计条件
 /// </summary>
 /// <returns>设计条件</returns>
 public override string[] GetConditions()
 {
     string[] conditions =
     {
         GetType().Name,
         Math_Psys.ToString(),
         Math_Vin_min.ToString(),
         Math_Vin_max.ToString(),
         Math_Vo.ToString(),
         Function.IntArrayToString(NumberRange),
         Function.StringArrayToString(TopologyRange),
         Function.DoubleArrayToString(FrequencyRange, 1e-3)
     };
     return(conditions);
 }
 /// <summary>
 /// 获取设计条件
 /// </summary>
 /// <returns>设计条件</returns>
 public override string[] GetConditions()
 {
     string[] conditions;
     if (IsInputVoltageVariation)
     {
         conditions = new string[]
         {
             GetType().Name + "_TwoStage",
             Math_Psys.ToString(),
             Math_Vin_min.ToString(),
             Math_Vin_max.ToString(),
             Math_Vo.ToString(),
             Function.IntArrayToString(Math_No_Range),
             Function.IntArrayToString(NumberRange),
             Function.StringArrayToString(TopologyRange),
             Function.DoubleArrayToString(FrequencyRange, 1e-3),
             Function.DoubleArrayToString(Math_Q_Range),
             Function.DoubleArrayToString(Math_k_Range),
         };
     }
     else
     {
         conditions = new string[]
         {
             GetType().Name,
             Math_Psys.ToString(),
             Math_Vin.ToString(),
             Math_Vo.ToString(),
             Function.IntArrayToString(Math_No_Range),
             Function.IntArrayToString(NumberRange),
             Function.StringArrayToString(TopologyRange),
             Function.DoubleArrayToString(FrequencyRange, 1e-3),
             Function.DoubleArrayToString(Math_Q_Range),
             Function.DoubleArrayToString(Math_k_Range),
         };
     }
     return(conditions);
 }