namespace DD.Persistence.Client; internal class SetpointConfigStorage : ISetpointConfigStorage { private readonly Dictionary setpointTypeConfigs; public SetpointConfigStorage(Dictionary? setpointTypeConfigs) { this.setpointTypeConfigs = setpointTypeConfigs?? new Dictionary(); } public bool TryGetType(Guid id, out Type type) { return setpointTypeConfigs.TryGetValue(id, out type); } }