File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Source/Libraries/ECAClientUtilities Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -787,17 +787,20 @@ private void ParseSampleRate(FieldMapping fieldMapping)
787
787
788
788
// Parse the next token as the sample rate
789
789
fieldMapping . SampleRate = ParseNumber ( ) ;
790
+ fieldMapping . TimeWindowExpression += " @ " + fieldMapping . SampleRate ;
790
791
SkipWhitespace ( ) ;
791
792
792
793
// Parse the "per" keyword
793
794
identifier = ParseIdentifier ( ) ;
795
+ fieldMapping . TimeWindowExpression += " " + identifier ;
794
796
SkipWhitespace ( ) ;
795
797
796
798
if ( identifier != "per" )
797
799
RaiseCompileError ( $ "Unexpected identifier: { identifier } . Expected 'per' keyword.") ;
798
800
799
801
// Parse the time unit
800
802
identifier = ParseIdentifier ( ) ;
803
+ fieldMapping . TimeWindowExpression += " " + identifier ;
801
804
fieldMapping . SampleUnit = ToTimeUnit ( identifier ) ;
802
805
803
806
if ( fieldMapping . SampleUnit == TimeSpan . Zero )
You can’t perform that action at this time.
0 commit comments