using AIK.Models.ApiModels.Brand; using CommunityToolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Imaging; namespace AIK.Models { /// /// 车钥匙数据类 /// public partial class VehKeyClass : ObservableObject { public int parentId { get; set; } public int id { get; set; } public string keyId { get; set; } /// /// 中文名称 /// private string name; public string Name { get => name; set => SetProperty(ref name, value); } /// /// 中文名称 /// public string modelName { get; set; } /// /// 英文名称 /// public string modelEngName { get; set; } public string modelPuName { get; set; } public string modelXiName { get; set; } public string modelInName { get; set; } /// /// 频率 /// public string rate { get; set; } /// /// 子机中文描述 /// public string usable { get; set; } /// /// 子机英文描述 /// public string usableEn { get; set; } public string usablePu { get; set; } public string usableXi { get; set; } /// /// 参考信息 /// public string information { get; set; } /// /// 图片路径 分割符,号取第一张 /// public string picUrl { get; set; } /// /// Bin文件名称 分割符,号取多个 /// public string firmwareNo { get; set; } /// /// Bin文件路径 分割符,号取多个 /// public string sourceUrl { get; set; } /// /// 烧录完成 提示内容 分割符,号 一个文件提示2个比如(1,1 , 1,1) 提示 1,1一起 /// public string spCode { get; set; } /// /// (1是K3 MINI 2是 K3 TOOL)只查询包含1和2的 /// public string support { get; set; } /// /// 芯片 /// public string chipType { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 匹配方法描述 /// public keyMatch keyMatch { get; set; } /// /// 扩展子机 /// public List kzInfoList { get; set; } private BitmapImage _bitmapImage; public BitmapImage BitmapImage { get => _bitmapImage; set => SetProperty(ref _bitmapImage, value); } [ObservableProperty] private bool _isSelected; [ObservableProperty] private string _localImagePath; [ObservableProperty] private bool _isShowLabel = false; [ObservableProperty] private bool _isShowCloudLabel = false; [ObservableProperty] private bool _isShowCFLabel = false; [ObservableProperty] private string _cloudLabel; } /// /// 匹配方法描述 /// public class keyMatch { public string content { get; set; } public string contentEn { get; set; } public string contentPu { get; set; } public string contentXi { get; set; } public string contentIn { get; set; } } }