private void UpdateLights(JObject jobject) { foreach (HueLamp h in HueLampen) { HueLampFactory.UpdateHueLamp(h, jobject); } }
public HueLamp(int id, JObject jsonObject) { ID = id; HueLampFactory.UpdateHueLamp(this, jsonObject); }
private void UpdateLights(JObject jobject) { foreach (HueLamp h in HueLampen) { HueLampFactory.UpdateHueLamp(h, jobject); } }
public HueLamp(int id, JObject jsonObject) { ID = id; HueLampFactory.UpdateHueLamp(this, jsonObject); }