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

View File

@@ -0,0 +1,12 @@
using Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// sets the property UseZeroForUnfiltered
/// this controls whether 0 or P is used in isocode filter field
/// when modifying an isocode from a filter
/// </summary>
public class SetUseZeroForUnfilteredEvent : PubSubEvent<bool> { }
}

View File

@@ -0,0 +1,12 @@
using DTS.Common.Base;
namespace DTS.Common.Interface
{
public interface IDockPanelVerticalViewModel : IBaseViewModel
{
/// <summary>
/// Gets the Tab View.
/// </summary>
IDockPanelVerticalView View { get; }
}
}

View File

@@ -0,0 +1,7 @@
namespace DTS.Common.Interface.DASFactory
{
public interface ITiltSensorCalAware
{
double[] TiltSensorCals { get; }
}
}

View File

@@ -0,0 +1,8 @@
<xtoolkit:BusyIndicator x:Class="DTS.Common.BusyIndicatorManager.xBusyIndicator"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:xtoolkit="http://schemas.xceed.com/wpf/xaml/toolkit">
</xtoolkit:BusyIndicator>

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

View File

@@ -0,0 +1,96 @@
using DTS.Common.Enums;
using System;
namespace DTS.Common.Interface.Sensors.SensorsList
{
/// <summary>
/// interface describes objects used in the UI to display digital inputs
/// </summary>
public interface IDigitalInputSetting
{
/// <summary>
/// ID in the database for the digital input setting
/// only positive numbers are valid database ids
/// </summary>
int DatabaseId { get; set; }
/// <summary>
/// whether the digital input is checked in a list with a checkbox
/// </summary>
bool Included { get; set; }
/// <summary>
/// the serial number / setting name
/// </summary>
string SerialNumber { get; set; }
/// <summary>
/// description or comment of setting
/// </summary>
string Description { get; set; }
/// <summary>
/// string representation of the Digital Input Mode of the setting
/// </summary>
string DIMode { get; set; }
/// <summary>
/// the user who last modified setting
/// </summary>
string ModifiedBy { get; set; }
/// <summary>
/// when the setting was last modified
/// </summary>
DateTime LastModified { get; set; }
/// <summary>
/// returns true if digital input matches filter criteria
/// </summary>
/// <param name="term"></param>
/// <returns></returns>
bool Filter(string term);
/// <summary>
/// whether the digital input is associated with a channel
/// </summary>
bool Assigned { get; set; }
/// <summary>
/// whether the digital input is online or not
/// </summary>
bool Online { get; set; }
/// <summary>
/// electronic id associated with the digital input
/// </summary>
string EID { get; set; }
/// <summary>
/// the isocode for the digital input
/// </summary>
string ISOCode { get; set; }
/// <summary>
/// the iso channel name for the digital input
/// </summary>
string ISOChannelName { get; set; }
/// <summary>
/// the user code for the digital input
/// </summary>
string UserCode { get; set; }
/// <summary>
/// the user channel name for the digital input
/// </summary>
string UserChannelName { get; set; }
/// <summary>
/// the active value of digital input as a string
/// this is the what to display when the digital input is in active state
/// </summary>
string ActiveValue { get; set; }
/// <summary>
/// the string representation of the state of the digital input in it's default state
/// this is what to display when the digital input is in idle, inactive, or the default state
/// </summary>
string DefaultValue { get; set; }
DigitalInputModes Mode { get; set; }
/// <summary>
/// marks the digital input setting as broken or not
/// broken sensors do not appear in selectable lists of sensors in edit test setup or edit group
/// </summary>
bool Broken { get; set; }
/// <summary>
/// marks the digital input setting as donotuse
/// donotuse sensors do not appear in selectable lists of sensors in edit test setup or edit group
/// </summary>
bool DoNotUse { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System.Collections.Generic;
using System.Collections.Specialized;
using DTS.Common.Base;
// ReSharper disable CheckNamespace
namespace DTS.Common.Interface
{
public interface IGraphMainViewModel : IBaseViewModel
{
/// <summary>
/// Gets the Graph Main View.
/// </summary>
IGraphMainView View { get; set; }
IBaseViewModel Parent { get; set; }
List<ITestChannel> LockedChannelList { get; set; }
List<ITestChannel> SelectedChannelList { get; set; }
string LockedGroupName { get; set; }
void PublishSelectedChannels();
void AddSelectedChannel(ITestChannel channel);
void AddSelectedGroupChannels(string groupName, List<ITestChannel> channels);
void AddLockedChannel(ITestChannel channel, bool isLocked);
void AddLockedGroupChannels(string testName, string groupName, List<ITestChannel> channels, bool isLocked);
void GraphList_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e);
}
}