archerpmorgan / azureiotedge-stablewaveform-generator

This IoT Edge performs as a stand-in
MIT License
2 stars 1 forks source link

Model wave form noise as sub-object in twins and cmd args #6

Open WilliamBerryiii opened 6 years ago

WilliamBerryiii commented 6 years ago

I'd like to propose that the noise section of the module twin and and cmd args should be modeled as an independent object ... looking something like:

{
    "properties": {
        "desired": {
            "SendData": true,
            "Frequency": 1,
            "Amplitude": 1,
            "VerticalShift": 0,
            "SendInterval": 0.05,
            "WaveType": "Sine",
            "Noise": {
                 "Start": 0.5,
                 "Duration": 0.25,
                 ...
             }
        }
    }
}
archerpmorgan commented 6 years ago

Look at the current layout and see if its what you mean

WilliamBerryiii commented 6 years ago

Yes that looks good ... just need to update the models.