public override bool Update(BaseConfigurationType newValue) { var v = (ConfigurationType)newValue; Log.WriteLine("updating from {0} to {1}", this.ToString(), v.ToString()); return(false); }
public override bool Update(BaseConfigurationType newValue) { var v = (ConfigurationType)newValue; Log.WriteLine("updating from {0} to {1}", this.ToString(), v.ToString()); bool rc = GpioPins.Update(v.GpioPins); Log.WriteLine("{0} update to {1}", rc ? "did" : "did not", this.ToString()); return(rc); }
public override bool Update(BaseConfigurationType newValue) { var v = (ConfigurationType)newValue; Log.WriteLine("updating from {0} to {1}", this.ToString(), v.ToString()); // TODO: implement cloud side device configuration bool rc = false; //bool rc = GpioPins.Update(v.GpioPins); Log.WriteLine("{0} update to {1}", rc ? "did" : "did not", this.ToString()); return(rc); }
public override bool Update(BaseConfigurationType newValue) { // TODO: implement cloud side device configuration Log.WriteLine("updating from {0} to {1}", this.ToString(), newValue.ToString()); return(true); }