diff --git a/ProjectGasolineTanker/ProjectGasolineTanker/Drawnings/ExtentionDrawningTanker.cs b/ProjectGasolineTanker/ProjectGasolineTanker/Drawnings/ExtentionDrawningTanker.cs index c3a2bee..aaedc34 100644 --- a/ProjectGasolineTanker/ProjectGasolineTanker/Drawnings/ExtentionDrawningTanker.cs +++ b/ProjectGasolineTanker/ProjectGasolineTanker/Drawnings/ExtentionDrawningTanker.cs @@ -39,7 +39,7 @@ public static class ExtentionDrawningTanker /// /// Получение данных для сохранения в файл /// - /// Сохраняемый объект + /// Сохраняемый объект /// Строка с данными по объекту public static string GetDataForSave(this DrawningTanker drawningTanker) { diff --git a/ProjectGasolineTanker/ProjectGasolineTanker/Entities/EntityGasolineTanker.cs b/ProjectGasolineTanker/ProjectGasolineTanker/Entities/EntityGasolineTanker.cs index 7bebe45..70e564d 100644 --- a/ProjectGasolineTanker/ProjectGasolineTanker/Entities/EntityGasolineTanker.cs +++ b/ProjectGasolineTanker/ProjectGasolineTanker/Entities/EntityGasolineTanker.cs @@ -14,11 +14,11 @@ public class EntityGasolineTanker : EntityTanker /// /// Наличие безнобака /// - public bool Tank { get; private set; } + public bool Signalbeacon { get; private set; } /// /// Наличие радара /// - public bool Signalbeacon { get; private set; } + public bool Tank { get; private set; } /// /// Инициализация полей объекта-класса зенитной установки @@ -30,7 +30,7 @@ public class EntityGasolineTanker : EntityTanker /// Признак /// Признак - public EntityGasolineTanker(int speed, double weight, Color bodyColor, Color additionalColor, bool tank, bool signalbeacon) : base(speed, weight, bodyColor) + public EntityGasolineTanker(int speed, double weight, Color bodyColor, Color additionalColor, bool signalbeacon, bool tank) : base(speed, weight, bodyColor) { Signalbeacon = signalbeacon; Tank = tank; diff --git a/ProjectGasolineTanker/ProjectGasolineTanker/FormTankerConfig.cs b/ProjectGasolineTanker/ProjectGasolineTanker/FormTankerConfig.cs index 2776e7c..1b0edea 100644 --- a/ProjectGasolineTanker/ProjectGasolineTanker/FormTankerConfig.cs +++ b/ProjectGasolineTanker/ProjectGasolineTanker/FormTankerConfig.cs @@ -79,7 +79,7 @@ public partial class FormTankerConfig : Form break; case "labelModifiedObject": _tanker = new DrawningGasolineTanker((int)numericUpDownSpeed.Value, (double)numericUpDownWeight.Value, Color.White, - Color.Black, checkBoxTanker.Checked, checkBoxSignalbeacon.Checked); + Color.Black, checkBoxSignalbeacon.Checked, checkBoxTanker.Checked); break; } labelBodyColor.BackColor = Color.Empty;