Beispiel #1
0
        /// <summary>
        /// 更新信号设置信息中可选选项
        /// </summary>
        /// <param name="onesetting"></param>
        public static void GetCardAllowSetting(OneCardSetting onesetting)
        {
            string selectcardname = onesetting.cardname.Value;

            onesetting.channel.channel.AllowList.Clear();
            onesetting.channel.channel.AllowList.AddRange(GetChannelAllowList(selectcardname, onesetting.channel.channeltype));
            onesetting.range.AllowList.Clear();
            onesetting.range.AllowList.AddRange(GetRangeList(selectcardname));
            return;
        }
Beispiel #2
0
 public OneListSetting(string name)
 {
     SignalName      = name;
     _onecardsetting = new OneCardSetting();
 }