alielie
2025-11-25 006c98e5650b530e5220f279c1e803fefe69d40d
HMI.ParameterManage/SettingModal.xaml.cs
@@ -102,7 +102,7 @@
            return flag;
        }
        public bool? Open(ParameterData data, ObservableCollection<ParameterData> datasource,List<string> groups)
        public bool? Open(ParameterData data, ObservableCollection<ParameterData> datasource, List<string> groups)
        {
            Datasource = datasource;
            Data = data;
@@ -122,11 +122,12 @@
        private string GetTargetValue()
        {
            if (CbType.Text == "Int" || Data.Type == "Double")
            var type = CbType.Text;
            if (type == "Int" || type == "Double")
            {
                return NiNumberValue.Text;
            }
            else if (CbType.Text == "Bool")
            else if (type == "Bool")
            {
                return CbBoolValue.Text;
            }