Beispiel #1
0
 private void CopyMembers(LightMode other, Light light)
 {
     this.id         = other.id;
     this.light      = light;
     this.name       = other.name;
     this.time       = other.time;
     this.flash      = other.flash;
     this.brightness = other.brightness;
     this.active     = other.active;
 }
Beispiel #2
0
 private void InitializeMembers()
 {
     this.id         = 255;
     this.light      = null;
     this.name       = null;
     this.time       = LightTime.Off;
     this.flash      = 0;
     this.brightness = 0;
     this.active     = false;
 }