forked from ddrilling/AsbCloudServer
Некоторые поля - тип boolean
This commit is contained in:
parent
f9b1884a39
commit
8b6efdee84
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user