(self, value)
| 355 | self.plc_instance.set_bool(self.db_index, self.byte_index, self.bit_index, 0) |
| 356 | |
| 357 | def _set_value(self, value): |
| 358 | #this function gets called when the camonitor notifies a change on the PV |
| 359 | self.led_status = value |
| 360 | self.led.style.update({'background-color':self.color_active if self.led_status else self.color_inactive}) |
| 361 | |
| 362 | def update(self, *args): |
| 363 | #this method gets called by the plc_instance |