diff --git a/MainWindow.xaml b/MainWindow.xaml index cd1734f..181c061 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -75,6 +75,7 @@ + diff --git a/MainWindowViewModel.cs b/MainWindowViewModel.cs index d66861a..663ebaa 100644 --- a/MainWindowViewModel.cs +++ b/MainWindowViewModel.cs @@ -210,6 +210,12 @@ private void UpdateMediumInfo() _hardware.IsIPEnabled = true; _hardware.BusCurrent = null; } + else if (_hardware2Program.MediumTypes[0] == "MT-2") + { + _applicationProgram.MaskVersion = "MV-27B0"; + _hardware.IsIPEnabled = false; + _hardware.BusCurrent = null; + } else { _applicationProgram.MaskVersion = "MV-07B0"; @@ -478,6 +484,7 @@ private void CreateNew(object param) OrderNumber = "0"; _hardware2Program.MediumTypes.Add("MT-5"); + _hardware2Program.MediumTypes.Add("MT-2"); _catalogSection.Name = Ressources.Devices; _catalogSection.Number = "1"; diff --git a/Properties/Ressources.resx b/Properties/Ressources.resx index faa315f..ecd7d8b 100644 --- a/Properties/Ressources.resx +++ b/Properties/Ressources.resx @@ -255,6 +255,9 @@ Enumeration + + RF + Float diff --git a/README.md b/README.md index ed6d5ac..e2a8898 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,5 @@ C:\Program Files (x86)\ETS5\CV\4.0.1997.50261 You can also change UICulture and Culture from 'de' to 'en' there. If ETS doesn't import the generated file, try removing underscores from product name, hardware name etc. Maybe version numbers have to be at least 10 too. + +A knx-stack for multiple platforms can be found [here](https://github.com/thelsing/knx). diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 467243d..1fe8a57 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -29,7 +29,7 @@ steps: - task: ArchiveFiles@2 inputs: - rootFolderOrFile: '$(Build.BinariesDirectory)' + rootFolderOrFile: 'bin/$(buildConfiguration)' includeRootFolder: true archiveType: 'zip' archiveFile: '$(Build.ArtifactStagingDirectory)/CreateKnxProd.zip'