Пример #1
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 public Slice(DateTime timestamp, int[] cnlNums)
 {
     Timestamp = timestamp;
     CnlNums   = cnlNums ?? throw new ArgumentNullException(nameof(cnlNums));
     CnlData   = new CnlData[cnlNums.Length];
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 public Slice(DateTime timestamp, int cnlCnt)
 {
     Timestamp = timestamp;
     CnlNums   = new int[cnlCnt];
     CnlData   = new CnlData[cnlCnt];
 }