优化双通道高压源
This commit is contained in:
@@ -245,6 +245,9 @@ class SensorService:
|
||||
|
||||
for device in self.devices:
|
||||
try:
|
||||
enabled = device.get("enabled", False)
|
||||
if not enabled:
|
||||
continue
|
||||
slave_id = int(device.get('address'))
|
||||
logger.info(f"开始读取设备 {device.get('code')} (从站ID: {slave_id}) 数据")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user