This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

View File

@@ -0,0 +1,11 @@
namespace DTS.Common.Enums.Sensors
{
public enum SensorStatus
{
Available,
InUse,
OutForService,
OutForCalibration,
Retired
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTS.Common.Interface.DASFactory
{
/// <summary>
/// describes the argument to configuration events
/// 17872 Use DASConfig XMLs on disk when performing an emergency download with DAS that have blank filestore(s)
/// </summary>
public interface IDASConfigurationArg
{
IDASCommunication DAS { get; }
bool BlankConfigurationRead { get; }
bool ConfigurationFailedValidation { get; }
}
}

View File

@@ -0,0 +1,18 @@
using DTS.Common.Base;
using Microsoft.Practices.Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTS.Common.Events
{
public class SaveReportToCSVRequestedEvent : CompositePresentationEvent<SaveReportToCSVRequestedEventArgs> { }
public class SaveReportToCSVRequestedEventArgs
{
public string Directory { get; set; }
public IBaseViewModel ParentVM { get; set; }
}
}

View File

@@ -0,0 +1,35 @@
using DTS.Common.Base;
namespace DTS.Common.Interface.Database
{
/// <summary>
/// this viewmodel provides a way for transferring a remote database to a local database
/// it clears the local database and populates it with the remote databse
/// it requires a local database that has the right tables and stored procedures already
/// </summary>
public interface IDatabaseSwitchViewModel : IBaseViewModel
{
/// <summary>
/// the view associated with the model
/// </summary>
IDatabaseSwitchView View { get; set; }
/// <summary>
/// frees up any memory associated with viewmodel
/// </summary>
void Unset();
bool RemoteIsActive { get; }
string DefaultDbName { get; }
//void SetDefaultDbName(string defaultDbName);
void InitializeDbSettings(string defaultDbName, string dbHost, bool ntlmAuthentication, string dbUser,
string dbPassword);
void SwitchRemote();
void SwitchLocal();
string DbHost{ get; }
bool NTLMAuthentication{ get; }
string DbUser { get; }
string DbPassword { get; }
}
}