Exemplo n.º 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;
     }
 }
Exemplo n.º 2
0
        public object Clone()
        {
            ChannelMeasSetting ret = new ChannelMeasSetting();

            ret.MainTrigger = this.MainTrigger;
            ret.Mode2_Trigger = this.Mode2_Trigger;
            ret.Degree1 = this.Degree1;
            ret.Degree2 = this.Degree2;

            return ret;
        }