| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- /* ==============================================================================
- * 功能描述:MManufacturer
- * 创 建 者:Garrett
- * 创建日期:2018/4/27 10:22:28
- * ==============================================================================*/
- using Com.FirmLib.Entity;
- using Com.FirmLib.UI.BllCommon;
- using Newtonsoft.Json.Linq;
- using SAGA.DotNetUtils;
- using SAGA.DotNetUtils.Utilities;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SAGA.MBI.Model
- {
- /// <summary>
- /// MManufacturer
- /// </summary>
- public class MManufacturer : CloudDataBase
- {
- #region CloudProperty
- private string m_Name;
- /// <summary>
- /// 生产厂家
- /// </summary>
- [Description("EquipName")]
- public string Name
- {
- get { return m_Name; }
- set
- {
- m_Name = value;
- if (!string.IsNullOrEmpty(value))
- {
- this.Pinyin = value.GetFirstPinyin().ToUpper();
- }
-
- NotifyPropertyChanged("Name");
- }
- }
- private string m_Brand;
- /// <summary>
- /// 品牌
- /// </summary>
- [Description("EquipBrand")]
- public string Brand
- {
- get { return m_Brand; }
- set
- {
- m_Brand = value;
- NotifyPropertyChanged("Brand");
- }
- }
- private string m_ModeNumber;
- /// <summary>
- /// 型号
- /// </summary>
- [Description("EquipModeNumber")]
- public string ModeNumber
- {
- get { return m_ModeNumber; }
- set
- {
- m_ModeNumber = value;
- RaisePropertyChanged(() => this.ModeNumber);
- }
- }
- private string m_BimID;
- [Description("BIMID")]
- public string BimID
- {
- get { return m_BimID; }
- set
- {
- m_BimID = value;
- NotifyPropertyChanged("BimID");
- }
- }
- #endregion Model
- #region 扩展数据
- public string Pinyin
- {
- get;private set;
- }
- #endregion
- #region id信息
- /// <summary>
- /// 厂商Id
- /// </summary>
- public string VenderId { get; set; } = "";
- /// <summary>
- /// 品牌Id
- /// </summary>
- public string BrandId { get; set; } = "";
- /// <summary>
- /// 产品Id
- /// </summary>
- public string ProductId { get; set; } = "";
- /// <summary>
- /// 类型Id
- /// </summary>
- public string ProductTypeId { get; set; } = "";
- /// <summary>
- /// 关联信息点
- /// </summary>
- public List<ParameterItem> Parameters { get; set; }
- /// <summary>
- /// 保养周期
- /// </summary>
- public string MaintainPeriod { get; set; } = "";
- /// <summary>
- /// 使用寿命
- /// </summary>
- public string ServiceLife { get; set; } = "";
- #endregion
-
- }
- }
|