예제 #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];
 }