using System; using Shared; namespace HDL_ON.Entity { /// /// 第三方集成品牌对象类 /// public class IntegratedBrand { public IntegratedBrand() { } /// /// 品牌名称 /// public string brandName; /// /// 品牌图标 /// public string brandIcon; /// /// 品牌标识 /// public string productBrand; /// /// 平台标识 /// public string productPlatform; } /// /// 第三方集成品牌对象类 /// public class IntegratedBrand_Iot { public IntegratedBrand_Iot() { } /// /// id /// public string authBrandId; public string brandName { get { if(Language.CurrentLanguage == "Chinese") { return authBrandNameCn; } else { return authBrandNameEn; } } } /// /// 品牌名称中文 /// public string authBrandNameCn; /// /// 品牌名称英文 /// public string authBrandNameEn; /// /// 品牌副标题(中文) /// public string authBrandSubheadCn; /// /// 品牌副标题(英文) /// public string authBrandSubheadEn; /// /// 图片url /// public string authBrandIconUrl; /// /// 认证授权地址 /// public string authorizationUrl; /// /// 是否已经授权 /// public bool hasAuthorization; /// /// 公司id /// public string companyId; public string clientId; } /// /// 第三方设备信息 /// public class IntegratedBrandDevice { /// /// 产品唯一标识 /// public string productId; /// /// 产品名称 /// public string productName; public string productNameEn; public string ProductShowName { get { if(Language.CurrentLanguage == "Chinese") { return productName; } else { return productNameEn; } } } /// /// 产品厂商 /// public string productSupplier; /// /// 产品品牌(品牌标识) /// public string productBrand; /// /// 产品类型 /// public string productType; /// /// 第二品类名 /// public string categorySecondName; /// /// 第二品类code /// public string categorySecondCode; /// /// 第一品类code /// public string categoryFirstCode; /// /// 第一品类名称 /// public string categoryFirstName; /// /// 产品型号 /// public string productVersion; /// /// 产品平台(平台标识) /// public string productPlatform; /// /// 产品图片 /// public string productPic; /// /// 功能类型Key /// public string spk; /// /// 设备绑定方式 WIFI、QRSCAN、ZIG_BEE、ETHERNET /// public string bindType; /// /// icon文件名称 /// public string IconName { get { return spk.Replace(".", ""); } } } }