public ConfigurationFile(string id, string configurationDate, string upgradeCount, string aircraftCount, string filename, string programmImage, ConfigurationState state) { UniqueId = id; ConfigurationDate = configurationDate; UpgradeCount = upgradeCount; AircraftCount = aircraftCount; Filename = filename; AircraftProgrammImage = programmImage; State = state; }
public Configuration(string uniqueId, List<IUpgradeItem> upgrades, List<IAircraft> aircrafts, string configurationDate, ConfigurationState state, IAircraftProgramm programm, ICustomer customer) : base(uniqueId) { SelectedAircrafts = aircrafts; Upgrades = upgrades; ConfigurationDate = configurationDate; State = state; Programm = programm; ConfigurationGroups = new List<IConfigurationGroup>(); ConfigurationCustomer = customer; }
public static Brush GetColorByState(ConfigurationState state) { InitializeMapIfNotDone(); return _colorMap[state.ReadableName]; }