init
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
G\PN:{NAME OF PROGRAM};
|
||||
G\TA:{TEST ID};
|
||||
G\106:17;
|
||||
G\DSI\N:1;
|
||||
G\DSI-1:PTP;
|
||||
G\DSI-2:{TEST ID};
|
||||
G\DST-1:DRS;
|
||||
G\DSC-1:U;
|
||||
G\SC:U;
|
||||
G\COM:--- DTS Analog Time format 2 file export -----;
|
||||
R-1\ID:{TEST ID};
|
||||
R-1\RID:S6ACH6;
|
||||
R-1\N:2;
|
||||
R-1\NSB:0;
|
||||
R-1\RI1:DTS;
|
||||
R-1\RI2:S6A;
|
||||
R-1\RI3:Y;
|
||||
R-1\RI4:{CREATE DATE};
|
||||
R-1\COM:Ver-17;
|
||||
V-1\ID:{TEST ID};
|
||||
V-1\VN:DTS;
|
||||
V-1\DTS:STREAMCH10;
|
||||
R-1\EV\E:F;
|
||||
R-1\IDX\E:F;
|
||||
R-1\IDX\IT:F;
|
||||
R-1\RI6:N;
|
||||
R-1\CRE:F;
|
||||
R-1\RSS:R;
|
||||
R-1\RML:E;
|
||||
R-1\ERBS:AUTO;
|
||||
R-1\COM:--- Channel '1', ID: 0x0001, TIME Data Packet Format ---------------;
|
||||
R-1\TK1-1:1;
|
||||
R-1\TK2-1:OTHER;
|
||||
R-1\DSI-1:1;
|
||||
R-1\TK3-1:FWD;
|
||||
R-1\TK4-1:1;
|
||||
R-1\CHE-1:T;
|
||||
R-1\CDT-1:TIMEIN;
|
||||
R-1\CDLN-1:1;
|
||||
R-1\TTF-1:2;
|
||||
R-1\TFMT-1:B;
|
||||
R-1\TSRC-1:E;
|
||||
R-1\SHTF-1:1;
|
||||
R-1\COM:--------------------- Main Analog Channel Description --------------;
|
||||
R-1\DSI-2:{UDP STREAM DATA CHANNEL ID};
|
||||
R-1\TK1-2:{UDP STREAM DATA CHANNEL ID};
|
||||
R-1\TK2-2:OTHER;
|
||||
R-1\TK3-2:FWD;
|
||||
R-1\TK4-2:{UDP STREAM DATA CHANNEL ID};
|
||||
R-1\CHE-2:T;
|
||||
R-1\CDLN-2:DTS_CH10_Export;
|
||||
R-1\CDT-2:ANAIN;
|
||||
R-1\ATF-2:1;
|
||||
R-1\ACH\N-2:{NUMBER_OF_CHANNELS};
|
||||
R-1\ADP-2:NO;
|
||||
R-1\ASR-2:{DAS SAMPLE RATE};
|
||||
R-1\SHTF-2:1;
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Converters
|
||||
{
|
||||
public class ActiveContentConverter : IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
if (value is ContentControl)
|
||||
return value;
|
||||
|
||||
return Binding.DoNothing;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
if (value is ContentControl)
|
||||
return value;
|
||||
|
||||
return Binding.DoNothing;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DTS.Common.XMLUtils
|
||||
{
|
||||
public class FieldsXMLClass
|
||||
{
|
||||
public string SetupName { get; set; }
|
||||
public string SetupDescription { get; set; }
|
||||
public string AutomaticTestProgression { get; set; }
|
||||
public string AutomaticProgressionDelayMS { get; set; }
|
||||
public string InvertTrigger { get; set; }
|
||||
public string InvertStart { get; set; }
|
||||
public string IgnoreShortedStart { get; set; }
|
||||
public string IgnoreShortedTrigger { get; set; }
|
||||
public string ViewDiagnostics { get; set; }
|
||||
public string VerifyChannels { get; set; }
|
||||
public string AutoVerifyChannels { get; set; }
|
||||
public string VerifyChannelsDelayMS { get; set; }
|
||||
public string RecordingMode { get; set; }
|
||||
public string SamplesPerSecond { get; set; }
|
||||
public string PreTriggerSeconds { get; set; }
|
||||
public string PostTriggerSeconds { get; set; }
|
||||
public string NumberOfEvents { get; set; }
|
||||
public string WakeUpMotionTimeout { get; set; }
|
||||
public string ScheduledStartDateTime { get; set; }
|
||||
public string IntervalBetweenEventStartsMinutes { get; set; }
|
||||
public string StartWithEvent { get; set; }
|
||||
public string WakeUpWithMotion { get; set; }
|
||||
public string StrictDiagnostics { get; set; }
|
||||
public string RequireConfirmationOnErrors { get; set; }
|
||||
public string ROIDownload { get; set; }
|
||||
public string ViewROIDownload { get; set; }
|
||||
public string DownloadAll { get; set; }
|
||||
public string ViewRealtime { get; set; }
|
||||
public string RealtimePlotCount { get; set; }
|
||||
//public RegionsOfInterestXMLClass RegionsOfInterest { get; set; }
|
||||
public string ROIStart { get; set; }
|
||||
public string ROIEnd { get; set; }
|
||||
public string ViewDownloadAll { get; set; }
|
||||
public string Export { get; set; }
|
||||
public string ExportFormat { get; set; }
|
||||
public string LabDetails { get; set; }
|
||||
public string UseLabDetails { get; set; }
|
||||
public string CustomerDetails { get; set; }
|
||||
public string UseCustomerDetails { get; set; }
|
||||
public string AllowMissingSensors { get; set; }
|
||||
public string AllowSensorIdToBlankChannel { get; set; }
|
||||
public string ExcitationWarmupTimeMS { get; set; }
|
||||
public string LocalOnly { get; set; }
|
||||
public string LastModified { get; set; }
|
||||
public string LastModifiedBy { get; set; }
|
||||
public string TurnOffExcitation { get; set; }
|
||||
public string TriggerCheckRealtime { get; set; }
|
||||
public string TriggerCheckStep { get; set; }
|
||||
public string PostTestDiagnostics { get; set; }
|
||||
public string ExportFolder { get; set; }
|
||||
public string DownloadFolder { get; set; }
|
||||
public string CommonStatusLine { get; set; }
|
||||
public string SameAsDownloadFolder { get; set; }
|
||||
public string UploadData { get; set; }
|
||||
public string UploadDataFolder { get; set; }
|
||||
public string UploadExportsOnly { get; set; }
|
||||
public string Settings { get; set; }
|
||||
public string WarnOnBatteryFail { get; set; }
|
||||
public string Dirty { get; set; }
|
||||
public string Complete { get; set; }
|
||||
public string ErrorMessage { get; set; }
|
||||
public string TestEngineerDetails { get; set; }
|
||||
public string UseTestEngineerDetails { get; set; }
|
||||
public string UserTags { get; set; }
|
||||
public string DoAutoArm { get; set; }
|
||||
public string DoEnableRepeat { get; set; }
|
||||
public string DoStreaming { get; set; }
|
||||
public string CheckoutMode { get; set; }
|
||||
public string QuitTestWithoutWarning { get; set; }
|
||||
public string SuppressMissingSensorsWarning { get; set; }
|
||||
public string ISFFile { get; set; }
|
||||
public string NotAllChannelsRealTime { get; set; }
|
||||
public string NotAllChannelsViewer { get; set; }
|
||||
public string CalibrationBehavior { get; set; }
|
||||
public string ClockSyncProfileMaster { get; set; }
|
||||
public string ClockSyncProfileSlave { get; set; }
|
||||
public string ExtraProperties { get; set; }
|
||||
public string MeasureSquibResistancesStep { get; set; }
|
||||
public string TestSetupUniqueId { get; set; }
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
using DTS.Common.Base;
|
||||
|
||||
namespace DTS.Common.Interface
|
||||
{
|
||||
public interface IMenuViewModel : IBaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the Shell View.
|
||||
/// </summary>
|
||||
IMenuView View { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user