init
This commit is contained in:
157
Common/DTS.Common.Storage/Classes/Abstract/TestSetups.cs
Normal file
157
Common/DTS.Common.Storage/Classes/Abstract/TestSetups.cs
Normal file
@@ -0,0 +1,157 @@
|
||||
namespace DTS.Storage
|
||||
{
|
||||
public abstract class TestSetups
|
||||
{
|
||||
public const string HardwareTable = "tblTestSetupHardware";
|
||||
public enum HardwareFields
|
||||
{
|
||||
TestSetupName,
|
||||
HardwareId,
|
||||
AddOrRemove //0=remove,1=add
|
||||
}
|
||||
|
||||
public const string DASSettingsTable = "tblTestSetupDASSettings";
|
||||
|
||||
public const string ChannelSettingsTable = "tblTestChannelSettings";
|
||||
public enum ChannelSettingFields
|
||||
{
|
||||
TestName,
|
||||
TestObjectName,
|
||||
ChannelId,
|
||||
Setting,
|
||||
SensorSerial
|
||||
}
|
||||
public const string TestSetupsTable = "tblTestSetups";
|
||||
public enum Fields
|
||||
{
|
||||
SetupName,
|
||||
SetupDescription,
|
||||
AutomaticTestProgression,
|
||||
AutomaticProgressionDelayMS,
|
||||
InvertTrigger,
|
||||
InvertStart,
|
||||
ViewDiagnostics,
|
||||
VerifyChannels,
|
||||
AutoVerifyChannels,
|
||||
VerifyChannelsDelayMS,
|
||||
RecordingMode,
|
||||
SamplesPerSecond,
|
||||
PreTriggerSeconds,
|
||||
PostTriggerSeconds,
|
||||
StrictDiagnostics,
|
||||
RequireConfirmationOnErrors,
|
||||
ROIDownload,
|
||||
ViewROIDownload,
|
||||
DownloadAll,
|
||||
ViewRealtime,
|
||||
RealtimePlotCount,
|
||||
ROIStart,
|
||||
ROIEnd,
|
||||
ViewDownloadAll,
|
||||
Export,
|
||||
ExportFormat,
|
||||
LabDetails,
|
||||
UseLabDetails,
|
||||
CustomerDetails,
|
||||
UseCustomerDetails,
|
||||
AllowMissingSensors,
|
||||
AllowSensorIdToBlankChannel,
|
||||
LocalOnly,
|
||||
LastModified,
|
||||
LastModifiedBy,
|
||||
TurnOffExcitation,
|
||||
TriggerCheckRealtime,
|
||||
TriggerCheckStep,
|
||||
PostTestDiagnostics,
|
||||
ExportFolder,
|
||||
DownloadFolder,
|
||||
CommonStatusLine,
|
||||
SameAsDownloadFolder,
|
||||
UploadData,
|
||||
UploadDataFolder,
|
||||
Settings,
|
||||
WarnOnBatteryFail,
|
||||
Dirty,
|
||||
Complete,
|
||||
ErrorMessage,
|
||||
TestEngineerDetails,
|
||||
UseTestEngineerDetails,
|
||||
UserTags,
|
||||
DoAutoArm,
|
||||
CheckoutMode,
|
||||
QuitTestWithoutWarning,
|
||||
SuppressMissingSensorsWarning,
|
||||
ISFFile,
|
||||
NotAllChannelsRealTime,
|
||||
NotAllChannelsViewer
|
||||
}
|
||||
public const string TestSetupObjectsTable = "tblTestSetupObjects";
|
||||
public enum TestSetupObjectFields
|
||||
{
|
||||
TestObjectSerialNumber,
|
||||
TestSetupName,
|
||||
TargetSampleRate,
|
||||
ExcitationWarmupTimeMS,
|
||||
LocalOnly,
|
||||
TestObjectType,
|
||||
TestObjectPosition
|
||||
}
|
||||
public const string TestObjectMetaDataTable = "tblTestSetupObjectMetaData";
|
||||
public enum TestObjectMetaDataFields
|
||||
{
|
||||
TestObject,
|
||||
SetupName,
|
||||
PropName,
|
||||
PropValue,
|
||||
Optional,
|
||||
Version
|
||||
}
|
||||
public const string TestObjectTemplatesTable = "tblTestObjectTemplates";
|
||||
public enum TestObjectTemplatesFields
|
||||
{
|
||||
TemplateName,
|
||||
Icon,
|
||||
Description,
|
||||
LocalOnly,
|
||||
Version,
|
||||
LastModifiedBy,
|
||||
CRC32,
|
||||
TestObject,
|
||||
LastModified,
|
||||
ParentTemplate,
|
||||
SysBuilt
|
||||
}
|
||||
public const string TestObjectsTable = "tblTestObjects";
|
||||
public enum TestObjectsFields
|
||||
{
|
||||
SerialNumber,
|
||||
LastModifiedBy,
|
||||
LastModified,
|
||||
Template,
|
||||
LocalOnly,
|
||||
ParentObject,
|
||||
SysBuilt,
|
||||
Embedded,
|
||||
OriginalTemplate,
|
||||
OriginalSerialNumber
|
||||
}
|
||||
public const string TestGraphsTable = "tblTestGraphs";
|
||||
public enum GraphFields
|
||||
{
|
||||
GraphName,
|
||||
GraphDescription,
|
||||
TemplateName,
|
||||
Channels,
|
||||
UseDomainMin,
|
||||
DomainMin,
|
||||
UseDomainMax,
|
||||
DomainMax,
|
||||
UseRangeMin,
|
||||
RangeMin,
|
||||
UseRangeMax,
|
||||
RangeMax,
|
||||
Thresholds,
|
||||
LocalOnly
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user