feat: #169 添加成都双流机场次要看板

This commit is contained in:
denglihong2007
2025-06-08 21:58:24 +08:00
parent eca2a43d14
commit 090f136e6b
14 changed files with 427 additions and 7 deletions

View File

@@ -0,0 +1,22 @@
using System.Globalization;
using System.Windows.Data;
namespace CRSim.ScreenSimulator.Converters
{
public class IntAddOneConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value is int intValue)
return intValue + 1;
return value;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value is int intValue)
return intValue - 1;
return value;
}
}
}