исправление
This commit is contained in:
parent
73e7ef53de
commit
ddc2987b68
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user