Skip to content

Commit

Permalink
simulated analyzer updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ctacke committed Jan 3, 2025
1 parent 9fbfa31 commit cc4c25a
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public class SimulatedDigitalSignalAnalyzer : IDigitalSignalAnalyzer
{
private Frequency frequency;
private double dutyCycle = 0.5;
private ulong count;

public SimulatedDigitalSignalAnalyzer(Frequency frequency)
{
Expand Down Expand Up @@ -37,4 +38,14 @@ public Frequency GetMeanFrequency()
{
return frequency;
}

public void SetCount(ulong count)
{
this.count = count;
}

public ulong GetCount()
{
return count;
}
}

0 comments on commit cc4c25a

Please sign in to comment.