motorTest/Model/CommonClass.cs
2026-10-17 11:39:30 +08:00

60 lines
1.2 KiB
C#

using Community;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model
{
/// <summary>
/// 通用类
/// </summary>
public class CommonClass: NotificationObject
{
public int ID { get; set; }
public ushort UID { get; set; }
private string commonName;
/// <summary>
/// 通用名称
/// </summary>
public string CommonName
{
get { return commonName; }
set { commonName = value;
this.RaisePropertyChanged("CommonName");
}
}
private string cmdStr;
/// <summary>
/// 交互指令
/// </summary>
public string CmdStr
{
get { return cmdStr; }
set { cmdStr = value;
this.RaisePropertyChanged("CmdStr");
}
}
private string shortCode;
/// <summary>
/// 简码
/// </summary>
public string ShortCode
{
get { return shortCode; }
set { shortCode = value;
this.RaisePropertyChanged("ShortCode");
}
}
}
}