public IEnumerable <Sample> Read(IChanel chanel, string path) { using (var stream = chanel.Connect(path)) { return(Read(stream)); } }
public IEnumerable <Sample> Read(IChanel chanel, string path) { return(Enumerable.Empty <Sample>()); }
public IEnumerable <Sample> Read(IChanel chanel, string path) { throw new NotImplementedException(); }
/// <summary>Adds to module error a error module.</summary> /// <param name="chanel" >The chanel data.</param> /// <param name="errorCode" >The error code.</param> protected void AddModuleError(IChanel chanel, ModuleErrorCode errorCode) { this.Errors.Add(this.Name, this.IpAddress, this.Port, chanel.Id, chanel.Key, errorCode, DateTime.Now); }