init
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using Prism.Events;
|
||||
namespace DTS.Common.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// The <see cref="RaiseNotification"/> event.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The <see cref="RaiseNotification"/> event is used to display the notification content such as message and icon.
|
||||
/// </remarks>
|
||||
public class RaiseNotification : PubSubEvent<NotificationContentEventArgs> { }
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
G\PN:{NAME OF PROGRAM};
|
||||
G\TA:{TEST ID}_{DAS SERIAL NUMBER};
|
||||
G\106:17;
|
||||
G\DSI\N:1;
|
||||
G\DSI-1:{TEST ID};
|
||||
G\DST-1:STO;
|
||||
R-1\ID:{TEST ID};
|
||||
R-1\RID:S6A_1;
|
||||
R-1\R1:generated from XML CH10 mapping;
|
||||
R-1\TC1:OTHR;
|
||||
R-1\COM:=========================================================================;
|
||||
R-1\COM: This simple settings for PCM stream
|
||||
R-1\COM: Mapping defined in the CH10 Programmers Handbook (RCC document 123-16) ;
|
||||
R-1\COM: appendix P/Q from the definition of a user defined external XML file;
|
||||
R-1\COM:=========================================================================;
|
||||
R-1\RML:E;
|
||||
R-1\ERBS:AUTO;
|
||||
R-1\NSB:0;
|
||||
R-1\RI1:Data Bus Tools GmbH;
|
||||
R-1\RI2:S6A_1;
|
||||
R-1\RI3:N;
|
||||
R-1\RI6:N;
|
||||
R-1\CRE:F;
|
||||
R-1\RSS:R;
|
||||
R-1\N:2;
|
||||
R-1\TK1-1:1;
|
||||
R-1\TK4-1:1;
|
||||
R-1\COM: ======================= Time Channel ========================;
|
||||
R-1\COM: == Format 2 with PTP timestamp ==;
|
||||
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:{STREAM TIME FORMAT};
|
||||
R-1\SHTF-1:1;
|
||||
R-1\COM: ======================= PCM Channel Description =====================;
|
||||
R-1\DSI-2:PCMIN;
|
||||
R-1\TK1-2:3;
|
||||
R-1\TK4-2:3;
|
||||
R-1\CHE-2:T;
|
||||
R-1\CDT-2:PCMIN;
|
||||
R-1\CDLN-2:{DAS SERIAL NUMBER};
|
||||
R-1\PDTF-2:1;
|
||||
R-1\PDP-2:TM;
|
||||
R-1\ICE-2:180;
|
||||
R-1\IST-2:SE;
|
||||
R-1\ITH-2:1;
|
||||
R-1\ITM-2:Low-Z;
|
||||
R-1\PTF-2:NONE;
|
||||
P-1\DLN:{DAS SERIAL NUMBER};
|
||||
P-1\D1:NRZ-L;
|
||||
P-1\D2:{DAS BIT RATE};
|
||||
P-1\D3:U;
|
||||
P-1\D4:N;
|
||||
P-1\D7:N;
|
||||
P-1\D8:NA;
|
||||
P-1\TF:ONE;
|
||||
P-1\F1:16;
|
||||
P-1\F2:M;
|
||||
P-1\F3:NO;
|
||||
P-1\F4:T;
|
||||
P-1\ISF\N:0;
|
||||
P-1\MF\N:1;
|
||||
P-1\COM: === Number of channels (including time sync) ===;
|
||||
P-1\MF1:{NUMBER OF CHANNELS PLUS TIME};
|
||||
P-1\MF2:{NUMBER OF BITS PER MINOR FRAME};
|
||||
P-1\MF3:FPT;
|
||||
P-1\MF4:32;
|
||||
P-1\MF5:11111110011010110010100001000000;
|
||||
D-1\DLN:{DAS SERIAL NUMBER};
|
||||
D-1\ML\N:1;
|
||||
D-1\MLN-1:Measurement List;
|
||||
D-1\COM: === Number of channels in the measurement list ===;
|
||||
D-1\MN\N-1:{NUMBER OF STREAMED CHANNELS};
|
||||
@@ -0,0 +1,132 @@
|
||||
namespace DTS.Common.Enums
|
||||
{
|
||||
public enum ApplicationStatusTypes
|
||||
{
|
||||
IDLE,
|
||||
SettingConfiguration,
|
||||
ClearingFlash,
|
||||
Arm,
|
||||
AutoArmPrepare,
|
||||
WaitingForStart,
|
||||
WaitingForTrigger,
|
||||
WaitingForStartWithEvent,
|
||||
WaitingForTriggerCheck,
|
||||
WaitingForAutoArm,
|
||||
WaitingForStreaming,
|
||||
Passed,
|
||||
FailedStart,
|
||||
FailedTrigger,
|
||||
Done,
|
||||
FailedArm,
|
||||
FailedDisarm,
|
||||
InvalidSampleRate,
|
||||
InvalidEventLength,
|
||||
InvalidArmMode,
|
||||
UnimplementedArmMode,
|
||||
EventNumberTooLarge,
|
||||
MemoryFull,
|
||||
InvalidSliceCount,
|
||||
ShortedStartRecordInput,
|
||||
ShortedTriggerInput,
|
||||
InvalidPretriggerSamplesRequested,
|
||||
ShortedStartAndTrigger,
|
||||
EventUncompleted,
|
||||
SafeSwitchUnplugged,
|
||||
SquibResistanceFault,
|
||||
BatteryLowVoltage,
|
||||
Failed,
|
||||
ROIFailed,
|
||||
PreparingForArming,
|
||||
WaitingForArmSwitch,
|
||||
Arming,
|
||||
Armed,
|
||||
Disarmed,
|
||||
WaitingForFlashWrite,
|
||||
IdleWaitingForTrigger,
|
||||
IdleWaitingForStart,
|
||||
IdleWaitingForStartWithEvent,
|
||||
PostTestProcessing,
|
||||
ReadyForDownload,
|
||||
ReadyForDownloadFaulted,
|
||||
ReadyForDownloadNoneTriggered,
|
||||
ReadyForDownloadSomeTriggered,
|
||||
Faulted,
|
||||
Detached,
|
||||
FillingBuffer,
|
||||
Recording,
|
||||
NoChannelsInTest,
|
||||
Connecting,
|
||||
NotIncluded,
|
||||
SomeConnected,
|
||||
Validating,
|
||||
CheckingDAS,
|
||||
NoDataToDownload,
|
||||
NoUARTDataToDownload,
|
||||
Cancelled,
|
||||
CancelledPartial,
|
||||
UnexpectedFirmwareVersion,
|
||||
ExpiredCalDate,
|
||||
ChannelCountMismatch,
|
||||
CheckingForExistingData,
|
||||
CheckArmSwitch,
|
||||
CheckingArmSwitch,
|
||||
ExcitationWarmup,
|
||||
//UpdatingConfig,
|
||||
PreparingForDiagnostics,
|
||||
PerformingDiagnostics,
|
||||
NotImplemented,
|
||||
Finished,
|
||||
WaitingForOptions,
|
||||
Exporting,
|
||||
QueryEventData,
|
||||
Downloading,
|
||||
UARTDownloading,
|
||||
CleaningUp,
|
||||
Preparing,
|
||||
WaitingForDAS,
|
||||
UnexpectedMaxMemory,
|
||||
QueryConfiguration,
|
||||
FailBatteryLow,
|
||||
FailBatteryHigh,
|
||||
FailInputLow,
|
||||
FailInputHigh,
|
||||
FailInputInvalid,
|
||||
FailBatteryInvalid,
|
||||
GettingEventInfo,
|
||||
CheckingForData,
|
||||
NoDataCollected,
|
||||
NoDataCollectedSomeTriggered,
|
||||
NoDataCollectedNoneTriggered,
|
||||
Connected,
|
||||
Disconnected,
|
||||
LowPowerMode,
|
||||
DiagnosticsDone, //indicates that diagnostics is complete (maybe not all units have run though, so overall pass/fail is not available yet)
|
||||
FailedArmCheckListSetConfig,
|
||||
ReadingVoltages,
|
||||
FailedSetConfiguration,
|
||||
CreatingCalculatedChannels,
|
||||
NoDASConfigs,
|
||||
UserCanceled,
|
||||
ArmPrepareComplete,
|
||||
AutoDiscovery,
|
||||
LevelTriggered,
|
||||
CapturingAttributes,
|
||||
CheckingArmState,
|
||||
ActivelyStreaming,
|
||||
//14060 DataPRO should fail download ROI if channels are not included in at least one ROI.
|
||||
//this is a status when download ROI has finished all downloads however one or more data channels were not
|
||||
//included in any roi. This explictly excludes output only channels
|
||||
NotAllChannelsDownloaded,
|
||||
// FB15335: Move UART and ClockProfile sets to RunTest -> Hardware NavStep, add Reboot
|
||||
CheckingClockSources,
|
||||
SettingClockSources,
|
||||
CheckingUARTSettings,
|
||||
SettingUARTSettings,
|
||||
Rebooting,
|
||||
Rearming,
|
||||
WaitingForScheduleStartTime,
|
||||
WaitingForInterval,
|
||||
WaitingForMotion,
|
||||
AwakeWaitingForTrigger
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user