init
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
using DTS.Common.Enums;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DTS.Common.Interface.Sensors
|
||||
{
|
||||
public interface ISquibDbRecord
|
||||
{
|
||||
string SerialNumber { get; set; }
|
||||
[Key]
|
||||
int Id { get; set; }
|
||||
bool BypassCurrentFilter { get; set; }
|
||||
bool BypassVoltageFilter { get; set; }
|
||||
[Column("DelayMS")]
|
||||
double DelayMs { get; set; }
|
||||
[Column("DurationMS")]
|
||||
double DurationMs { get; set; }
|
||||
SquibFireMode FireMode { get; set; }
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
string IsoCode { get; set; }
|
||||
[Required]
|
||||
[StringLength(255)]
|
||||
string IsoChannelName { get; set; }
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
string UserCode { get; set; }
|
||||
[Required]
|
||||
[StringLength(255)]
|
||||
string UserChannelName { get; set; }
|
||||
SquibMeasurementType MeasurementType { get; set; }
|
||||
double SquibOutputCurrent { get; set; }
|
||||
double SquibToleranceLow { get; set; }
|
||||
double SquibToleranceHigh { get; set; }
|
||||
bool LimitDuration { get; set; }
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
string ArticleId { get; set; }
|
||||
int Version { get; set; }
|
||||
[Column(TypeName = "datetime")]
|
||||
DateTime LastModified { get; set; }
|
||||
[Required]
|
||||
[StringLength(50)]
|
||||
string LastModifiedBy { get; set; }
|
||||
[StringLength(255)]
|
||||
string UserValue1 { get; set; }
|
||||
[StringLength(255)]
|
||||
string UserValue2 { get; set; }
|
||||
[StringLength(255)]
|
||||
string UserValue3 { get; set; }
|
||||
byte[] UserTags { get; set; }
|
||||
bool DoNotUse { get; set; }
|
||||
bool Broken { get; set; }
|
||||
bool DefineDelayInTest { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IPSDReportResultsView : IBaseView
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using DTS.Common.Converters;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace DTS.Common.Enums.Viewer.Reports
|
||||
{
|
||||
[TypeConverter(typeof(EnumDescriptionTypeConverter))]
|
||||
public enum PassFilterType
|
||||
{
|
||||
[Description("Bessel")]
|
||||
Bessel,
|
||||
[Description("Butterworth")]
|
||||
Butterworth,
|
||||
[Description("Chebyshev")]
|
||||
Chebyshev,
|
||||
//[Description("Critical Damping")] // REMOVE THIS HACK / uncomment when implemented in exocortex
|
||||
//CriticalDamping,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using DTS.Common.Base;
|
||||
using DTS.Common.Enums.Sensors;
|
||||
using System;
|
||||
|
||||
namespace DTS.Common.Interface.Sensors.SoftwareFilters
|
||||
{
|
||||
public interface ISoftwareFiltersView : IBaseView { }
|
||||
|
||||
/// <summary>
|
||||
/// FB 13120 Filter class interface
|
||||
/// </summary>
|
||||
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
|
||||
public interface IFilterClass : IComparable
|
||||
{
|
||||
string FilterName { get; }
|
||||
FilterClassType FClass { get; set; }
|
||||
double Frequency { get; set; }
|
||||
int GetFilterClassNumericValue();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using Microsoft.Practices.Prism.Events;
|
||||
// ReSharper disable CheckNamespace
|
||||
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The Data Folder changed event.
|
||||
/// </summary>
|
||||
public class CursorsAlailableChangedEvent : CompositePresentationEvent<bool> { }
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.Constant.DASSpecific
|
||||
{
|
||||
public class SLICEDB
|
||||
{
|
||||
public const uint MaxAAFilterRateHz = 200000;
|
||||
|
||||
public const byte MIN_PROTOCOL_VER = 1;
|
||||
|
||||
public const byte MIN_PROTOCOL_ARM = 2;
|
||||
public const byte MIN_PROTOCOL_ENABLEFAULTCHECKING = MIN_PROTOCOL_ARM;
|
||||
|
||||
public const byte MIN_PROTOCOL_DIAGNOSTICS = 3;
|
||||
|
||||
public const byte MIN_PROTOCOL_ONOVERRIDE = 4;
|
||||
public const byte MIN_PROTOCOL_OMAP_GPIO = MIN_PROTOCOL_ONOVERRIDE;
|
||||
public const byte MIN_PROTOCOL_INITHARDWAREINPUTLINES = MIN_PROTOCOL_ONOVERRIDE;
|
||||
//FB 16049 Support ECM Caldate
|
||||
public const byte MIN_PROTOCOL_BASECALDATE = 5;
|
||||
// 10582 Implement auto-discover and monitor DAS status.
|
||||
// firmware B0H3 first supported this according to documentation
|
||||
public const byte MIN_PROTOCOL_QUERYMACTABLE = 9;
|
||||
public const byte MIN_PROTOCOL_TILT = 14;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user