Example #1
0
 /// <summary>
 ///     创建基本构型组
 /// </summary>
 /// <param name="aircraftType">机型</param>
 /// <param name="description">描述</param>
 /// <param name="groupNo">基本构型组号</param>
 /// <returns></returns>
 public static BasicConfigGroup CreateBasicConfigGroup(AircraftType aircraftType, string description,
     string groupNo)
 {
     var basicConfigGroup = new BasicConfigGroup();
     basicConfigGroup.GenerateNewIdentity();
     basicConfigGroup.SetAircraftType(aircraftType);
     basicConfigGroup.SetDescription(description);
     basicConfigGroup.SetGroupNo(groupNo);
     return basicConfigGroup;
 }
Example #2
0
 /// <summary>
 ///     创建BasicConfigGroup。
 /// </summary>
 /// <returns>BasicConfigGroup</returns>
 public static BasicConfigGroup CreateBasicConfigGroup()
 {
     var basicConfigGroup = new BasicConfigGroup();
     basicConfigGroup.GenerateNewIdentity();
     return basicConfigGroup;
 }