예제 #1
0
 public SeasonPlannerFullLine(SeasonPlannerDecision _spDecisions,
                              SeasonPlannerForDataTable _spTable, SeasonPlannerForOptimizer _spOptimizer,
                              SeasonPlannerTab _spTab)
 {
     spDecisions = _spDecisions;
     spTable     = _spTable;
     spOptimizer = _spOptimizer;
     spTab       = _spTab;
 }
예제 #2
0
 public static bool IsNull(SeasonPlannerDecision spDecision)
 {
     if (spDecision.SeasonRace == 0 && spDecision.Training == DriverTrainning.Nothing && spDecision.Testing == false &&
         spDecision.TargetCarLevelEngBra == 0 && spDecision.TargetCarLevelOthers == 0 && spDecision.CT == 0)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }