| | |
| | | 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; |
| | |
| | | |
| | | 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; |
| | | } |