public SignalMetadataViewModel(FileMetadata metadata)
 {
     this.Signature = metadata.Signature;
     this.ChannelNumber = metadata.ChannelNumber;
     this.ChannelSize = metadata.ChannelSize;
     this.SpectrumLineNumber = metadata.SpectrumLineNumber;
     this.CutoffFrequency = metadata.CutoffFrequency;
     this.FrequencyDefinition = metadata.FrequencyDefinition;
     this.DataBlockReceiveTime = metadata.DataBlockReceiveTime;
     this.TotalReceiveTime = metadata.TotalReceiveTime;
     this.DataBlockNumber = metadata.DataBlockNumber;
     this.DataSize = metadata.DataSize;
     this.ReceivedBlocksNumber = metadata.ReceivedBlocksNumber;
     this.MaxValue = metadata.MaxValue;
     this.MinValue = metadata.MinValue;
 }
Exemplo n.º 2
0
 internal FileParserResult(FileMetadata metadata, IList<float> dataPoints)
 {
     this.FileMetadata = metadata;
     this.SignalValues = new ReadOnlyCollection<float>(dataPoints);
 }