fix(drivers): ILoggerFactory on FOCAS+TwinCAT factories; replace stale TODO(v3 WaveC); AbCip browsePageDelayMs form field; document Device1 + Modbus health (#608 #602 #596)
Claude-Session: https://claude.ai/code/session_01Ef2ozxS7QPanGT8uoATbTe
This commit is contained in:
@@ -511,8 +511,9 @@ public sealed class RawTreeService(IDbContextFactory<OtOpcUaConfigDbContext> dbF
|
||||
DriverConfig = string.IsNullOrWhiteSpace(driverConfigJson) ? "{}" : driverConfigJson,
|
||||
});
|
||||
|
||||
// Auto-create the default device so a freshly-created driver has a child to show. Wave B (WP3)
|
||||
// refines device/driver config authoring; here the default device carries an empty config.
|
||||
// Auto-create the default device so a freshly-created driver has a child to show. By design
|
||||
// (#596): every driver needs at least one device for browse + tags, and DriverDeviceConfigMerger treats
|
||||
// the sole device's DeviceConfig as the endpoint. It is renamable/deletable and carries an empty config.
|
||||
db.Devices.Add(new Device
|
||||
{
|
||||
DeviceId = NewId("DEV"),
|
||||
|
||||
Reference in New Issue
Block a user