CAN配置下拉框选择配置信息

This commit is contained in:
2024-12-21 20:17:47 +08:00
parent a99c5962a3
commit 948367f5be
3 changed files with 113 additions and 2 deletions

View File

@@ -0,0 +1,36 @@
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapMachine.Wpf.Dtos
{
/// <summary>
/// 下拉框的模型
/// </summary>
public class CbxItems : BindableBase
{
private string _Key;
/// <summary>
/// Key值
/// </summary>
public string Key
{
get { return _Key; }
set { _Key = value; RaisePropertyChanged(); }
}
private string _Text;
/// <summary>
/// Text 值
/// </summary>
public string Text
{
get { return _Text; }
set { _Text = value; RaisePropertyChanged(); }
}
}
}