исправление

This commit is contained in:
ivans 2024-05-21 10:54:47 +04:00 committed by Roman-Klemendeev
parent 73e7ef53de
commit ddc2987b68
3 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ public static class ExtentionDrawningTanker
/// <summary>
/// Получение данных для сохранения в файл
/// </summary>
/// <param name="drawningCar">Сохраняемый объект</param>
/// <param name="drawningTanker">Сохраняемый объект</param>
/// <returns>Строка с данными по объекту</returns>
public static string GetDataForSave(this DrawningTanker drawningTanker)
{

View File

@ -14,11 +14,11 @@ public class EntityGasolineTanker : EntityTanker
/// <summary>
/// Наличие безнобака
/// </summary>
public bool Tank { get; private set; }
public bool Signalbeacon { get; private set; }
/// <summary>
/// Наличие радара
/// </summary>
public bool Signalbeacon { get; private set; }
public bool Tank { get; private set; }
/// <summary>
/// Инициализация полей объекта-класса зенитной установки
@ -30,7 +30,7 @@ public class EntityGasolineTanker : EntityTanker
/// <param name="tank">Признак</param>
/// <param name="signalbeacon">Признак </param>
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;

View File

@ -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;