public GraphParameters(string image, DateTime timeStart, DateTime timeEnd) { ImageFileName = image; TimeStart = TimeStampConverter.ConvertToTimestamp(timeStart).ToString(); TimeEnd = TimeStampConverter.ConvertToTimestamp(timeStart).ToString(); Items = new List <GraphItem>(); }
public InsertPair(int value, DateTime time) { Value = value.ToString(); TimeStamp = TimeStampConverter.ConvertToTimestamp(time).ToString(); }