Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Add Clone method to Waveform struct #111

Open
sean-moore3 opened this issue Nov 19, 2019 · 0 comments
Open

Add Clone method to Waveform struct #111

sean-moore3 opened this issue Nov 19, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@sean-moore3
Copy link
Contributor

sean-moore3 commented Nov 19, 2019

I think this would be a nifty add in:

public Waveform Clone()
{
    Waveform clone = this;
    clone.Data = Data.Clone();
    clone.BurstStartLocations = (int[])BurstStartLocations.Clone();
    clone.BurstStopLocations = (int[])BurstStopLocations.Clone();
    return clone;
}
@sean-moore3 sean-moore3 added the enhancement New feature or request label Nov 19, 2019
@mdwhitten mdwhitten added this to the RFIC Next Release milestone Nov 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants