Некоторые поля - тип boolean

This commit is contained in:
Olga Nemt 2024-06-27 09:47:57 +05:00
parent f9b1884a39
commit 8b6efdee84
4 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ public class ProcessMapPlanFunctionsDrillTest : ProcessMapPlanBase
[Column("id_autostart_or_warning"), Comment("Автозапуск или Предупреждение")]
[Required]
public int IdAutostartOrWarning { get; set; }
public bool IdAutostartOrWarning { get; set; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string Note { get; set; } = string.Empty;

View File

@ -35,7 +35,7 @@ public class ProcessMapPlanFunctionsOscillation : ProcessMapPlanBase
[Column("id_mode"), Comment("Режим Авто/Руч")]
[Required]
public double Mode { get; set; }
public bool Mode { get; set; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string Note { get; set; } = string.Empty;

View File

@ -40,7 +40,7 @@ public class ProcessMapPlanFunctionsShockTest : ProcessMapPlanBase
[Column("id_autostart_or_warning"), Comment("Автозапуск или Предупреждение")]
[Required]
public int IdAutostartOrWarning { get; set; }
public bool IdAutostartOrWarning { get; set; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string Note { get; set; } = string.Empty;

View File

@ -9,7 +9,7 @@ namespace AsbCloudDb.Model.ProcessMaps;
public class ProcessMapPlanFunctionsUpgradeNoload : ProcessMapPlanBase
{
[Column("id_decline_socket_column"), Comment("СПУСК ОК Да/Нет")]
public double IdDeclineSocketColumn { get; set; }
public bool IdDeclineSocketColumn { get; set; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string Note { get; set; } = string.Empty;