public void SetCalibration(CalibrationInfo calibrationInfo)
 {
     this.SetCalibrationAsync(calibrationInfo).ConfigureAwait(false).GetAwaiter().GetResult();
 }
 public Task SetCalibrationAsync(CalibrationInfo calibrationInfo)
 {
     return(this.ExecuteAsync("emeter", "set_vgain_igain",
                              new JProperty("vgain", calibrationInfo.VoltageGain),
                              new JProperty("igain", calibrationInfo.CurrentGain)));
 }