private void updateLabels() { CurveEnable = false; cabStateLT.getValueTextBlock().Text = box.cab_state.Equals("Normal")?"正常":"异常"; rainyStateLT.getValueTextBlock().Text = box.rainy_state; rainTimeLT.getValueTextBlock().Text = box.rain_time; }
private void updateLabels() { values.Clear(); values.Add(box.value); updateChart(values); valueLT.getValueTextBlock().Text = box.value; stateLT.getValueTextBlock().Text = DeviceInUI.State.Equals("Normal") ? "正常" : "异常"; }
private void updateLabels() { values.Clear(); values.Add(box.presure); values.Add(box.real_traffic); values.Add(box.keep_time); values.Add(box.sample_volume); presureLT.getValueTextBlock().Text = box.presure; realTrafficLT.getValueTextBlock().Text = box.real_traffic; sampleVolumeLT.getValueTextBlock().Text = box.sample_volume; keepTimeLT.getValueTextBlock().Text = box.keep_time; if (MainWindow.getInstance().IsMute) { DeviceBuzzer.muteBuzzer(); } }
private void updateLabels() { values.Clear(); values.Add(box.value); updateChart(values); stateLT.getValueTextBlock().Text = DeviceInUI.State.Equals("Normal")?"正常":"异常"; valueLT.getValueTextBlock().Text = box.value; if (MainWindow.getInstance().IsMute) { //DeviceBuzzer.muteBuzzer(); } //if (DeviceInUI.State.Equals("Normal") && !DeviceBuzzer.IsAlarming) //{ // startToAlrm(); //} }