(self, value)
| 131 | self.epics_pv.put(0) |
| 132 | |
| 133 | def set_value(self, value): |
| 134 | if not self.get_app_instance(): |
| 135 | return |
| 136 | with self.get_app_instance().update_lock: |
| 137 | #this function gets called when the camonitor notifies a change on the PV |
| 138 | self.led_status = float(value)>0.0 |
| 139 | self.led.style.update({'background-color':self.color_active if self.led_status else self.color_inactive}) |
| 140 | |
| 141 | |
| 142 | class EPICSLed(HBox, EPICSWidget): |
nothing calls this directly
no test coverage detected