| | |
| | | |
| | | builder.Services.AddSingleton<IPersistenceService>(sp => new FilePersistenceService(dataPath)); |
| | | builder.Services.AddSingleton<IProtocolTemplateService>(sp => new FileProtocolTemplateService(dataPath)); |
| | | builder.Services.AddSingleton<IRobotClientManager, RobotClientManager>(); |
| | | builder.Services.Configure<ProtocolMonitoringOptions>(builder.Configuration.GetSection("ProtocolMonitoring")); |
| | | builder.Services.AddSingleton<MirrorAckProtocolHandler>(); |
| | | builder.Services.AddSingleton<IDeviceProtocolHandler, WcsLineProtocolHandler>(); |