qin
2025-03-18 1e3745dcf4b5206ac494632d50c02eeb4208a557
WinFrmUI/IBox.WinFrmUI/MonitorSignalForm/MonitorGroupEditForm.cs
@@ -1,14 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace IBox.WinFrmUI
namespace IBox.WinFrmUI
{
    public partial class MonitorGroupEditForm : Form
    {
@@ -33,25 +23,25 @@
            };
        }
        private void SetData()
        {
            foreach(var item in GetFlags())
            {
                //textEditFlags.Properties.Items.Add(item);
            }
        }
        private void BindData(MonitorPointGroup group)
        /// <summary>
        ///
        /// </summary>
        /// <param name="group"></param>
        public void BindData(MonitorPointGroup group)
        {
            this.group = group;
            textEditName.EditValue = group.Name;
        }
        /// <summary>
        /// 获取数据
        /// </summary>
        private void GetData()
        {
            if (this.group == null)
                this.group = new MonitorPointGroup();
            this.group.Name= textEditName.EditValue.ToString();
            this.group.Name = textEditName.EditValue.ToString();
            //this.group.Flags= textEditFlags.EditValue.ToString().Split(',').ToList();
        }