private void OnTimerTick(object sender, object e) { if (measurement != null) { LightText.Text = ((int)measurement.Lux).ToString(); if (!animating) { animating = true; LightGraph.Start(); } LightGraph.SetCurrentValue(measurement.Lux); } }
public LGUtilities(LightGraph lightGraph) { this.lightGraph = lightGraph; }
public LogicChip(int width, int height, string name) : base(name) { this.lightGraph = new LightGraph(this, width, height); }