alielie
2025-11-21 3a471ae651b228231bebb3a2d438baa1d4ac0261
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;
            }