From 312e8ccad554d6d0e7d21444e069731e770db978 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 27 Oct 2019 12:09:07 +0200 Subject: Added DEVICE_ID, DEVICE_NAME & IS_DEVICE_REGISTERED fields to db. Prevent multiple machine setup from different devices. Moved notification to inner layout on PPC. Improved PPC notification bar. Added more machine status support from embedded. FIxed issue with external bridge and emergency pressed. --- .../Visual_Studio/Tango.DAL.Remote/DB/MACHINE.cs | 4 + .../Tango.DAL.Remote/DB/RemoteADO.edmx | 12 ++ .../Tango.DAL.Remote/DB/RemoteADO.edmx.diagram | 142 ++++++++++----------- 3 files changed, 87 insertions(+), 71 deletions(-) (limited to 'Software/Visual_Studio/Tango.DAL.Remote') diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/MACHINE.cs b/Software/Visual_Studio/Tango.DAL.Remote/DB/MACHINE.cs index ac820fd27..9e83e7e4d 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/MACHINE.cs +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/MACHINE.cs @@ -49,8 +49,12 @@ namespace Tango.DAL.Remote.DB public bool SETUP_FPGA { get; set; } public bool IS_DEMO { get; set; } public bool SUSPEND_VERSION_UPDATE { get; set; } + public bool FORCE_VERSION_UPDATE { get; set; } public bool PERFORM_SCHEMA_UPDATE_ON_DATA_UPDATE { get; set; } public string DEVICE_COM_PORT { get; set; } + public bool IS_DEVICE_REGISTERED { get; set; } + public string DEVICE_ID { get; set; } + public string DEVICE_NAME { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CATS { get; set; } diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx index f641e3185..59eaba8d0 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx @@ -724,8 +724,12 @@ + + + + @@ -3793,8 +3797,12 @@ + + + + @@ -6030,8 +6038,12 @@ + + + + diff --git a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram index 422102d3d..842c5b9a6 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram +++ b/Software/Visual_Studio/Tango.DAL.Remote/DB/RemoteADO.edmx.diagram @@ -5,79 +5,79 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + -- cgit v1.3.1