兼容win7版应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB

using CommunityToolkit.Mvvm.ComponentModel;
namespace AIK.ViewModels.IDCardCopy;
public partial class CardInfoItem : ObservableObject
{
[ObservableProperty]
private string _title = string.Empty;
[ObservableProperty]
private string _cardType = "--";
[ObservableProperty]
private string _cardNumber = "--";
[ObservableProperty]
private string _uid = "--";
[ObservableProperty]
private string _protocol = "--";
[ObservableProperty]
private string _frequency = "--";
[ObservableProperty]
private string _sectorCount = "--";
[ObservableProperty]
private string _writableStatus = "--";
[ObservableProperty]
private string _currentStatus = "--";
public CardInfoItem Clone()
{
return new CardInfoItem
{
Title = Title,
CardType = CardType,
CardNumber = CardNumber,
Uid = Uid,
Protocol = Protocol,
Frequency = Frequency,
SectorCount = SectorCount,
WritableStatus = WritableStatus,
CurrentStatus = CurrentStatus
};
}
}