package com.njcn.csharmonic.offline.log.vo;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;

@Data
public class TagComtradeCfg implements Serializable {
    private int nChannelNum; //通道总个数
    private int nAnalogNum; //模拟量通道的个数 WW 2013-05-15
    private int nDigitalNum; //数字量通道的个数 WW 2013-05-15
    private ArrayList<TagOneChannleCfg> oneChannleCfg; //模拟量通道记录类链表
    private ArrayList<TagOneChannleCfgDigital> oneChannleCfgDig; //数字量通道记录类链表
    private LocalDateTime timeTrigger = LocalDateTime.MIN; //暂态触发时间
    private LocalDateTime timeStart = LocalDateTime.MIN; //波形起始时间  注：相较于TimeTrigger波形触发时间起始有一段平滑过渡波形时间，约100ms
    private LocalDateTime timeEnd = LocalDateTime.MIN; //波形结束时间
    private String path; //对应波形cfg文件全路径名称

    public TagComtradeCfg() {
        oneChannleCfg = new ArrayList<TagOneChannleCfg>();
        oneChannleCfgDig = new ArrayList<TagOneChannleCfgDigital>();
    }
}
