Beispiel #1
0
 /// <summary>
 /// constructor
 /// </summary>
 public ChannelsSetting()
 {
     typeOfClass = TYPEOFCLASS.ChannelsSetting;
     ChannelMeasSetting = new ChannelMeasSetting();
     ChannelSettingList = new ChannelSetting[10];
     for (int i = 0; i < ChannelSettingList.Length; i++)
     {
         ChannelSettingList[i] = new ChannelSetting();
         ChannelSettingList[i].ChKind = ChannelKindType.N;
         ChannelSettingList[i].ChNo = 1;
     }
 }
Beispiel #2
0
        public object Clone()
        {
            ChannelSetting ret = new ChannelSetting();

            ret.ChNo = this.ChNo;
            ret.ChKind = this.ChKind;

            if(this.BoardSetting != null)
                ret.BoardSetting = (BoardSettingBase)this.BoardSetting.Clone();

            ret.Mode1_Trigger = this.Mode1_Trigger;
            ret.NumPoint = this.NumPoint;

            return ret;
        }