Example #1
0
 internal TableColumn(Type type, string name, Task loader, TableTimeIndex index, string uri)
 {
     DataType = type;
     Name     = name;
     Index    = index;
     _loader  = loader;
     URI      = uri;
 }
Example #2
0
 protected TableColumnViewer(TableTimeIndex index, TableColumn column)
 {
     Index  = index;
     Column = column;
 }
Example #3
0
 protected virtual IDataViewer CreateGenericViewer(TableTimeIndex index)
 {
     throw new NotSupportedException();
 }
 public static void AddColumn <T>(this BaseDataStructure datastructure, string name, Task <T[]> loader,
                                  TableTimeIndex index, string uri, string unit) where T : IConvertible
 {
     datastructure.AddDataPoint(new GenericColumn <T>(name, loader, index, uri, unit));
 }
 public static void AddColumn(this BaseDataStructure datastructure, string name, Task <string[]> loader, TableTimeIndex index, string uri, string unit)
 {
     datastructure.AddDataPoint(new StringColumn(name, loader, index, uri, unit));
 }
 internal TableTimeIndexViewer(TableTimeIndex index) : base(null, index)
 {
     _time = index;
 }