//private IRepoDeviceReader repoReader { get; set; } public OpenHabRepo(string name, string id, string path, List <Ball> form, DeviceHolder holder) : base(name, id, path, form, holder) { if (!path.StartsWith("http://")) { path = "http://" + path; } this.setReader(new OpenHABDeviceReader(path)); }
public RepositoryRepresentation(string name, string id, string path, List <Ball> form, DeviceHolder holder) : base(name, id, path, form) { this.deviceHolder = holder; }