init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IViewerShellViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Shell View.
|
||||
/// </summary>
|
||||
IViewerShellView View { get; }
|
||||
List<FrameworkElement> GetRegions();
|
||||
object ContextMainRegion { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestCalculatedChannel : INotifyPropertyChanged
|
||||
{
|
||||
string SerialNumber { get; set; }
|
||||
string ChannelId { get; set; }
|
||||
string Description { get; set; }
|
||||
string ChannelGroupName { get; set; }
|
||||
string ChannelType { get; set; }
|
||||
int Number { get; set; }
|
||||
string DigitalMultiplier { get; set; }
|
||||
string DigitalMode { get; set; }
|
||||
DateTime Start { get; set; }
|
||||
string Bridge { get; set; }
|
||||
int BridgeResistanceOhms { get; set; }
|
||||
double ZeroPoint { get; set; }
|
||||
string ChannelDescriptionString { get; set; }
|
||||
string ChannelName2 { get; set; }
|
||||
string HardwareChannelName { get; set; }
|
||||
double DesiredRange { get; set; }
|
||||
double Sensitivity { get; set; }
|
||||
string SoftwareFilter { get; set; }
|
||||
bool ProportionalToExcitation { get; set; }
|
||||
bool IsInverted { get; set; }
|
||||
string LinearizationFormula { get; set; }
|
||||
bool IsSubsampled { get; set; }
|
||||
int AbsoluteDisplayOrder { get; set; }
|
||||
DateTime LastCalibrationDate { get; set; }
|
||||
string SensorId { get; set; }
|
||||
int OffsetToleranceLowMv { get; set; }
|
||||
int OffsetToleranceHighMv { get; set; }
|
||||
int DataFlag { get; set; }
|
||||
int ExcitationVoltage { get; set; }
|
||||
string Eu { get; set; }
|
||||
bool CalSignalEnabled { get; set; }
|
||||
bool ShuntEnabled { get; set; }
|
||||
bool VoltageInsertionCheckEnabled { get; set; }
|
||||
bool RemoveOffset { get; set; }
|
||||
string ZeroMethod { get; set; }
|
||||
double ZeroAverageWindowBegin { get; set; }
|
||||
double ZeroAverageWindowEnd { get; set; }
|
||||
int InitialEu { get; set; }
|
||||
string InitialOffset { get; set; }
|
||||
int UnsubsampledSampleRateHz { get; set; }
|
||||
double MeasuredShuntDeflectionMv { get; set; }
|
||||
double TargetShuntDeflectionMv { get; set; }
|
||||
double MeasuredExcitationVoltage { get; set; }
|
||||
double FactoryExcitationVoltage { get; set; }
|
||||
double TimeOfFirstSample { get; set; }
|
||||
int Multiplier { get; set; }
|
||||
int UserOffsetEu { get; set; }
|
||||
int UnitConversion { get; set; }
|
||||
bool AtCapacity { get; set; }
|
||||
int CapacityOutputIsBasedOn { get; set; }
|
||||
string SourceChannelNumber { get; set; }
|
||||
string SourceModuleNumber { get; set; }
|
||||
string SourceModuleSerialNumber { get; set; }
|
||||
string Calculation { get; set; }
|
||||
int SampleRateHz { get; set; }
|
||||
string SensitivityUnits { get; set; }
|
||||
int SensorCapacity { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ITestModuleViewModel : IBaseViewModel
|
||||
{
|
||||
List<Assembly> AssemblyList { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IEngineerDetailsViewModel : IBaseViewModel
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class LevelTriggerXMLClass
|
||||
{
|
||||
[XmlAttribute]
|
||||
public string GroupChannelId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string HardwareChannelId { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string SensorSerialNumber { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string GreaterThanEnabled { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string GreaterThanValue { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string LessThanEnabled { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string LessThanValue { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string TriggerInside { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string TriggerOutside { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string InsideLowerEU { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string InsideUpperEU { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string OutsideLowerEU { get; set; }
|
||||
|
||||
[XmlAttribute]
|
||||
public string OutsideUpperEU { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using System.Collections.Generic;
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Utils;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface ILevelTriggerViewModel : IBaseViewModel
|
||||
{
|
||||
ILevelTriggerView View { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
using DTS.Common.Enums.Hardware;
|
||||
using DTS.Common.Interface.DASFactory.Diagnostics;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace DTS.Common.Interface.Hardware.AddEditHardware
|
||||
{
|
||||
/// <summary>
|
||||
/// describes interface used in AddEditHardware
|
||||
/// </summary>
|
||||
public interface IAddEditHardwareHardware
|
||||
{
|
||||
/// <summary>
|
||||
/// the das type
|
||||
/// </summary>
|
||||
HardwareTypes HardwareType { get; set; }
|
||||
/// <summary>
|
||||
/// the serial number for the das
|
||||
/// </summary>
|
||||
string SerialNumber { get; set; }
|
||||
/// <summary>
|
||||
/// the firmware version of the das
|
||||
/// </summary>
|
||||
string FirmwareVersion { get; set; }
|
||||
/// <summary>
|
||||
/// the ipaddress of the das (if supported)
|
||||
/// </summary>
|
||||
string IPAddress { get; set; }
|
||||
/// <summary>
|
||||
/// whether the das supports an ip address
|
||||
/// </summary>
|
||||
bool SupportsIPAddress { get; }
|
||||
/// <summary>
|
||||
/// whether the das supports rack sizes
|
||||
/// </summary>
|
||||
bool SupportsRackSize { get; }
|
||||
/// <summary>
|
||||
/// the configuration of the das (if supported)
|
||||
/// </summary>
|
||||
bool SupportsConfiguration { get; }
|
||||
bool SupportsSLICEPROSIMConfiguration { get; }
|
||||
bool SupportsSLICETCConfiguration { get; }
|
||||
/// <summary>
|
||||
/// the configuration of the SLICE PRO SIM das
|
||||
/// </summary>
|
||||
SLICEPROSIMConfigurations SLICEPROSIMConfiguration { get; set; }
|
||||
/// <summary>
|
||||
/// the configuration of the SLICE6 AIR-TC das
|
||||
/// </summary>
|
||||
SLICETCConfigurations SLICETCConfiguration { get; set; }
|
||||
/// <summary>
|
||||
/// the size of the rack (if supported)
|
||||
/// </summary>
|
||||
RackSizes RackSize { get; set; }
|
||||
/// <summary>
|
||||
/// an image representing the das
|
||||
/// </summary>
|
||||
ImageSource DASImage { get; }
|
||||
|
||||
ObservableCollection<IAddEditHardwareDASModule> Modules { get; set; }
|
||||
void RemoveModule(IAddEditHardwareDASModule module);
|
||||
void AddModule();
|
||||
/// <summary>
|
||||
/// returns a new ISOHardware representation of the hardware
|
||||
/// </summary>
|
||||
IISOHardware ToISOHardware();
|
||||
/// <summary>
|
||||
/// whether this is actual physical hardware or just stand in hardware/not real hardware
|
||||
/// </summary>
|
||||
bool StandIn { get; set; }
|
||||
bool IsModule { get; set; }
|
||||
/// <summary>
|
||||
/// indicates whether this record already exists in the database or is a new entry
|
||||
/// </summary>
|
||||
bool IsAdd { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace DTS.Common.Enums.Sensors.SensorsList
|
||||
{
|
||||
public enum DigitalInputFields
|
||||
{
|
||||
Included,
|
||||
SerialNumber,
|
||||
Description,
|
||||
Mode,
|
||||
ModifiedBy,
|
||||
LastModified
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user