StructList.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MOKA_Factory_Tools
  4. {
  5. class StructList
  6. {
  7. public static string CheckServerConnectionUrl = "https://cn.uc.qhmoka.com/scbc-server";//检查网络是否通顺对应URL
  8. }
  9. public class LocalPath
  10. {
  11. public static string localpath { get; set; }= AppDomain.CurrentDomain.BaseDirectory;
  12. }
  13. public class MidList
  14. {
  15. public string message { get; set; }
  16. public string code { get; set; }
  17. public string factoryname { get; set; }
  18. public string factoryip { get; set; }
  19. public string factoryNum { get; set; }
  20. public string version { get; set; }
  21. public string projectid { get; set; }
  22. public string clienttype { get; set; }
  23. public string host { get; set; }
  24. public string quantity { get; set; }
  25. public string whiteType { get; set; }
  26. public RokuCustomer rokuCustomer { get; set; }
  27. public Dictionary <string,string> keytype { get; set; }
  28. }
  29. public class RokuCustomer
  30. {
  31. public string id { get; set; }
  32. public string ordernum { get; set; }
  33. public string brand { get; set; }
  34. public string region { get; set; }
  35. public string oemmodel { get; set; }
  36. public string supporturl { get; set; }
  37. public string supportphone { get; set; }
  38. public string productiondate { get; set; }
  39. public string remotetype { get; set; }
  40. public string updatetime { get; set; }
  41. public string createtime { get; set; }
  42. public string isdelete { get; set; }
  43. }
  44. public class WhiteBalanceInput
  45. {
  46. public string bid { get; set; }
  47. public string mac { get; set; }
  48. }
  49. public class WhiteBalanceList
  50. {
  51. public string message { get; set; }
  52. public string code { get; set; }
  53. public WhiteBalanceInfo whiteBalanceInfo { get; set; }
  54. }
  55. public class WhiteBalanceInfo
  56. {
  57. public string id { get; set; }
  58. public string ordernum { get; set; }
  59. public string hdmirgain { get; set; }
  60. public string hdmiggain { get; set; }
  61. public string hdmibgain { get; set; }
  62. public string nrgain { get; set; }
  63. public string nggain { get; set; }
  64. public string nbgain { get; set; }
  65. public string lrgain { get; set; }
  66. public string lggain { get; set; }
  67. public string lbgain { get; set; }
  68. public string updatetime { get; set; }
  69. public string createtime { get; set; }
  70. public string isdelete { get; set; }
  71. public string isExemption { get; set; }
  72. }
  73. public class MidAddress
  74. {
  75. public string host { get; set; }
  76. public string order { get; set; }
  77. public string number { get; set; }
  78. public string pid { get; set; }
  79. public string ctype { get; set; }
  80. public string version { get; set; }
  81. public string purl { get; set; }
  82. public string psize { get; set; }
  83. public string pmd5 { get; set; }
  84. public string status { get; set; }
  85. public string start_date { get; set; }
  86. public string finish_date { get; set; }
  87. public string des { get; set; }
  88. public string code { get; set; }
  89. }
  90. public class OrderInput
  91. {
  92. public string clientType { get; set; }
  93. public string version { get; set; }
  94. public string bid { get; set; }
  95. public string mac { get; set; }
  96. }
  97. public class DBKeysStringFormat
  98. {
  99. public string cikey { get; set; }
  100. public string esn { get; set; }
  101. public string hdcp { get; set; }
  102. public string widevine { get; set; }
  103. public string hdcp22 { get; set; }
  104. public string did { get; set; }
  105. public string mac { get; set; }
  106. public string widi { get; set; }
  107. public string mgk { get; set; }
  108. public string attestation { get; set; }
  109. }
  110. public class FunctionSetting
  111. {
  112. public string TVCOM { get; set; }
  113. public string TVBaud { get; set; }
  114. public int TVParity { get; set; } = 0; // 校验位默认为None
  115. public string ChannelList { get; set; }
  116. public bool WriteChannel { get; set; }
  117. public bool WriteOSD { get; set; }
  118. public string OSDList { get; set; }
  119. public bool WriteSHOP { get; set; }
  120. public string SHOPList { get; set; }
  121. public bool WriteWB { get; set; }
  122. public bool WBInit { get; set; }
  123. public string WBPath { get; set; }
  124. public string WBFileName { get; set; }
  125. public byte[] ChannelCode { get; set; }
  126. public byte[] OSDLCode { get; set; }
  127. public byte[] ShopLCode { get; set; }
  128. public byte[] NormalRGB { get; set; }
  129. public byte[] CoolRGB { get; set; }
  130. public byte[] WarmRGB { get; set; }
  131. public int EnterFactoryRetry { get; set; }
  132. /// <summary>
  133. /// 全部Key抄写成功后,且上报成功后等待多久控件可用;
  134. /// </summary>
  135. public int Wait_after_completion { get; set; }
  136. public int LocalDidSize { get; set; }
  137. public int LocalMacSize { get; set; }
  138. public int LocalHdcpSize { get; set; }
  139. public int LocalWidiSize { get; set; }
  140. public int LocalHdcp22Size { get; set; }
  141. public int LocalEsnSize { get; set; }
  142. public int LocalMGKSize { get; set; }
  143. public int LocalCiSize { get; set; }
  144. public int LocalWidevineSize { get; set; }
  145. public int LocalFairplaySize { get; set; }
  146. public int LocalECPSize { get; set; }
  147. public int LocalWifiMacSize { get; set; }
  148. public int LocalBTMacSize { get; set; }
  149. public int localACASKeySize { get; set; }
  150. public bool NoDoublewrite { get; set; }//Local DB模式下不允许扫描已经抄写过的SN
  151. public string BarcodeKeyword { get; set; }
  152. public int BarcodeLength { get; set; }
  153. public bool BarcodeLimit { get; set; }
  154. public bool BarcodeWrite { get; set; }
  155. public int SerailDelay { get; set; }
  156. public bool UsingLocalServer { get; set; }
  157. public Dictionary<string, string> CustomCMD { get; set; }
  158. /// <summary>
  159. /// 允许不用扫条码抄写(单击按钮);
  160. /// </summary>
  161. public bool AllowNoScanning { get; set; }
  162. public int ReportTimeOut { get; set; }
  163. /// <summary>
  164. /// 是否启用G客户防呆措施;
  165. /// </summary>
  166. public bool UsingGFoolProofing { get; set; } = false;
  167. /// <summary>
  168. /// G客户防呆抄写次数限制,默认2次;
  169. /// </summary>
  170. public int GFoolProofingCount { get; set; } = 2;
  171. /// <summary>
  172. /// 是否导出日本板卡的ACAS ID与SN号;
  173. /// </summary>
  174. public bool ExportSNACASID { get; set; } = false;
  175. /// <summary>
  176. /// 串口指令读超时值,单位毫秒;
  177. /// </summary>
  178. public int ReadTimeout { get; set; } = 3000;
  179. /// <summary>
  180. /// 串口完成一次指令的Write、Read后,下一条指令等待多久开始执行;
  181. /// 单位:毫秒
  182. /// </summary>
  183. public int NextCommandWaitTime { get; set; } = 100;
  184. /// <summary>
  185. /// G客户NTF功能是否开启;
  186. /// </summary>
  187. public bool NTF { get; set; } = false;
  188. /// <summary>
  189. /// 产线线体;
  190. /// </summary>
  191. public string Line { get; set; }
  192. /// <summary>
  193. /// 产线工站,抄写工具默认为DataBurning
  194. /// </summary>
  195. public string Station { get; set; } = "DataBurning";
  196. #region 波兰工厂DHA解决方案;
  197. /// <summary>
  198. /// DHA抄写完后等待完成时间;
  199. /// </summary>
  200. public int CheckDHAWaitTime { get; set; } = 8000;
  201. /// <summary>
  202. /// 是否开启DHA功能,默认关闭;
  203. /// </summary>
  204. public bool DHA { get; set; } = false;
  205. #endregion
  206. #region 小米FireTV功能模块启用;
  207. /// <summary>
  208. /// 是否启用小米FireTV功能模块 ;
  209. /// </summary>
  210. public bool MITVEnable { get; set; } = false;
  211. public string MIKeyUrl { get; set; } = "http://smes-app-prod.tclking.com:9006/api/SMESCustomer/GetXMCard";
  212. public string MIKeyReportUrl { get; set; } = "http://smes-app-prod.tclking.com:9006/api/SMESCustomer/UploadXMDataControl";
  213. #endregion
  214. #region 离线EDID
  215. public bool edid_offline { get; set; } = false;
  216. public string edid_pid { get; set; } = "";
  217. public string edid_model_name { get; set; } = "";
  218. #endregion
  219. #region 串口重试机制
  220. public bool EnableRetry { get; set; } = false;
  221. public int RetryCount { get;set; } = 3;
  222. #endregion
  223. // 抄写结束时,是否触发离开工厂模式指令;
  224. public bool LeaveFactory { get; set; } = false;
  225. }
  226. public class KeyData
  227. {
  228. // 要抄写的Key的名称;
  229. public string name { get; set; }
  230. // 是否要抄写该Key;
  231. public bool enable { get; set; } = false;
  232. // 要抄写的Key数据;
  233. public string data { get; set; }
  234. // 要抄写的Key数据md5值;
  235. public string md5 { get;set; }
  236. // 抄写结果;
  237. public bool result { get; set; } = false;
  238. // 抄写结果描述;
  239. public string msg { get; set; }
  240. // 要抄写的Key数据长度;
  241. public int Length
  242. {
  243. get { return data == null ? 0 : data.Length; }
  244. }
  245. /// <summary>
  246. /// KeyData kd; string data; data = kd;
  247. /// </summary>
  248. /// <param name="v"></param>
  249. public static implicit operator string(KeyData v)
  250. {
  251. return v.data;
  252. }
  253. }
  254. public class KeyInfo
  255. {
  256. public KeyData DID = new KeyData();
  257. public KeyData Mac = new KeyData();
  258. public KeyData HDCP = new KeyData();
  259. public KeyData HDCP22 = new KeyData();
  260. public KeyData ESN = new KeyData();
  261. public KeyData WiDi = new KeyData();
  262. public KeyData Widevine = new KeyData();
  263. public KeyData CI_plus = new KeyData();
  264. public KeyData Attestation = new KeyData();
  265. public KeyData AttestationMD5 = new KeyData();
  266. public KeyData MGK = new KeyData();
  267. public KeyData Fairplay = new KeyData();
  268. public KeyData DSN = new KeyData();
  269. public KeyData WiFi_MAC = new KeyData();
  270. public KeyData BT_MAC = new KeyData();
  271. public KeyData LEK = new KeyData();
  272. public KeyData PEK = new KeyData();
  273. public KeyData Playready = new KeyData();
  274. public KeyData Hashkey = new KeyData();
  275. public KeyData ECP = new KeyData();
  276. public KeyData YouTube_KEY = new KeyData();
  277. public KeyData EDIDPid = new KeyData();
  278. public KeyData EDIDModelName = new KeyData();
  279. public KeyData ACASKey_Data = new KeyData();
  280. public KeyData ACASKey_Tool = new KeyData();
  281. public KeyData ACASKey_DataMd5 = new KeyData();
  282. public KeyData ACASKey_ToolMd5 = new KeyData();
  283. public KeyData DAK = new KeyData();
  284. public KeyData FVP = new KeyData();
  285. #region Kayla所需数据;
  286. public KeyData _PSN = new KeyData();
  287. #endregion
  288. }
  289. public class FireTVKey
  290. {
  291. public bool LEK { get; set; }
  292. public bool PEK { get; set; }
  293. public bool Playready { get; set; }
  294. public bool Hashkey { get; set; }
  295. }
  296. public class FireTVDsnInput
  297. {
  298. public string ordernum { get; set; }
  299. public string fsn { get; set; }
  300. public string psn { get; set; }
  301. public string deviceCode { get; set; }
  302. public string mac { get; set; }
  303. }
  304. public class Config_ReadCheck
  305. {
  306. public bool PIDReadcheck { get; set; }
  307. public bool OSDReadcheck { get; set; }
  308. public bool SHOPReadcheck { get; set; }
  309. public bool DIDReadcheck { get; set; }
  310. public bool MacReadcheck { get; set; }
  311. public bool HDCPReadcheck { get; set; }
  312. public bool HDCP22Readcheck { get; set; }
  313. public bool ESNReadcheck { get; set; }
  314. public bool WidevineReadcheck { get; set; }
  315. public bool CI_plusReadcheck { get; set; }
  316. public bool AttestationReadcheck { get; set; }
  317. public bool MGKReadcheck { get; set; }
  318. public bool FairplayReadcheck { get; set; }
  319. public bool ECPReadcheck { get; set; }
  320. public bool WifiMacReadcheck { get; set; }
  321. public bool BTMacReadcheck { get; set; }
  322. public bool LEKReadcheck { get; set; }
  323. public bool PEKReadcheck { get; set; }
  324. public bool PlayreadyReadcheck { get; set; }
  325. public bool HashReadcheck { get; set; }
  326. public bool DSNReadcheck { get; set; }
  327. public bool YouTubeReadcheck { get; set; }
  328. public bool EDIDPIDReadcheck { get; set; }
  329. public bool EDIDModeNameReadcheck { get; set; }
  330. public bool ACASKeyReadcheck { get; set; }
  331. public bool ACASIDReadcheck { get; set; }
  332. public bool FVPReadcheck { get; set; }
  333. public bool DAKReadcheck { get; set; }
  334. public bool DolbyReadcheck { get; set; }
  335. }
  336. public class Config_WriteCheck
  337. {
  338. public bool DIDCheckcheck { get; set; }
  339. public bool MacCheckcheck { get; set; }
  340. public bool HDCPCheckcheck { get; set; }
  341. public bool HDCP22Checkcheck { get; set; }
  342. public bool ESNCheckcheck { get; set; }
  343. public bool WidevineCheckcheck { get; set; }
  344. public bool CI_plusCheckcheck { get; set; }
  345. public bool AttestationCheckcheck { get; set; }
  346. public bool MGKCheckcheck { get; set; }
  347. public bool FairplayCheckcheck { get; set; }
  348. public bool ECPCheckcheck { get; set; }
  349. public bool WifiMacCheckcheck { get; set; }
  350. public bool BTMacCheckcheck { get; set; }
  351. public bool LEKCheckcheck { get; set; }
  352. public bool PEKCheckcheck { get; set; }
  353. public bool PlayreadyCheckcheck { get; set; }
  354. public bool HashCheckcheck { get; set; }
  355. public bool DSNCheckcheck { get; set; }
  356. public bool YouTubeCheckcheck { get; set; }
  357. public bool ACASKeyCheckcheck { get; set; }
  358. public bool FVPCheckcheck { get; set; }
  359. public bool DAKCheckcheck { get; set; }
  360. public bool DolbyCheckcheck { get; set; }
  361. }
  362. public class Config_WriteDone
  363. {
  364. public bool PIDWrite_YesNo { get; set; }
  365. public int PIDWriteDelay { get; set; }
  366. public bool AutoWhiteBalance { get; set; }
  367. public bool ChannelWrite_YesNo { get; set; }
  368. public bool OSDWrite_YesNo { get; set; }
  369. public bool SHOPWrite_YesNo { get; set; }
  370. public bool ClientTypeCheck_YesNo { get; set; }
  371. public bool SoftwareVersionCheck_YesNo { get; set; }
  372. public bool EDIDPIDWrite_YesNo { get; set; }
  373. public bool EDIDModeNameWrite_YesNo { get; set; }
  374. public bool FVPWrite_YesNo { get; set; }
  375. public bool DolbyWrite_YesNo { get;set; }
  376. #region getmessage接口对应需要在线获取的key类型;
  377. public bool DIDWrite_YesNo { get; set; }
  378. public bool MacWrite_YesNo { get; set; }
  379. public bool HDCPWrite_YesNo { get; set; }
  380. public bool HDCP22Write_YesNo { get; set; }
  381. public bool ESNWrite_YesNo { get; set; }
  382. public bool WidevineWrite_YesNo { get; set; }
  383. public bool CI_plusWrite_YesNo { get; set; }
  384. public bool AttestationWrite_YesNo { get; set; }
  385. public bool MGKWrite_YesNo { get; set; }
  386. public bool FairplayWrite_YesNo { get; set; }
  387. public bool ECPWrite_YesNo { get; set; }
  388. public bool WifiMacWrite_YesNo { get; set; }
  389. public bool BTMacWrite_YesNo { get; set; }
  390. public bool LEKWrite_YesNo { get; set; }
  391. public bool PEKWrite_YesNo { get; set; }
  392. public bool PlayreadyWrite_YesNo { get; set; }
  393. public bool HashWrite_YesNo { get; set; }
  394. public bool DSNWrite_YesNo { get; set; }
  395. public bool YouTubeWrite_YesNo { get; set; }
  396. public bool ACASKeyWrite_YesNo { get; set; }
  397. public bool DAKWrite_YesNo { get; set; }
  398. #endregion
  399. }
  400. public class ErrorInfo
  401. {
  402. public string reportType { get; set; }
  403. public string reportData { get; set; }
  404. public string version { get; set; }
  405. public string factory { get; set; }
  406. public string mac { get; set; }
  407. public string reportTime { get; set; }
  408. }
  409. public class UpgradeCheckInput
  410. {
  411. public string appid { get; set; }
  412. public string devicemodel { get; set; }
  413. public string dnum { get; set; }
  414. public string ver { get; set; }
  415. public string type { get; set; }
  416. }
  417. public class UpgradeMsgList
  418. {
  419. public string servertime { get; set; }
  420. public string callid { get; set; }
  421. public string state { get; set; }
  422. public string note { get; set; }
  423. public string language { get; set; }
  424. public UpgradeMsgList2 upgrade { get; set; }
  425. public string apiversion { get; set; }
  426. }
  427. public class UpgradeReportInput
  428. {
  429. public string appid { get; set; }
  430. public string devmodel { get; set; }
  431. public string dnum { get; set; }
  432. public string ver { get; set; }
  433. public string result { get; set; }
  434. public string type { get; set; }
  435. }
  436. public class UpgradeMsgList2
  437. {
  438. public string type { get; set; }
  439. public string appid { get; set; }
  440. public string apptype { get; set; }
  441. public string version { get; set; }
  442. public string verid { get; set; }
  443. public object md5 { get; set; }
  444. public string size { get; set; }
  445. public string minicon { get; set; }
  446. public object midicon { get; set; }
  447. public string fileurl { get; set; }
  448. public string increment { get; set; }
  449. public object appendver { get; set; }
  450. public string updatetime { get; set; }
  451. }
  452. public static class Serverurl
  453. {
  454. public static string Testurl = "http://test.scbc.qhmoka.com/scbc-server/clientType/getMessage.do";//测试用服务器
  455. public static string Officialurl = "https://cn.uc.qhmoka.com/scbc-server/clientType/getMessage.do";//生产用服务器
  456. }
  457. public static class UpgradeUrl
  458. {
  459. public static string Officialurl = "https://cn.ota.qhmoka.com/ota-services/upmp/upgradeIncrForTool";//生产用升级检查接口
  460. public static string Testurl = "https://test.uc.qhmoka.com/ota-services/upmp/upgradeIncrForTool";//测试用升级检查接口
  461. }
  462. public static class UpgradeReportUrl
  463. {
  464. public static string Officialurl = "https://cn.ota.qhmoka.com/ota-services/upmp/operateInterfaceForPC";//生产用升级上报接口
  465. //public static string Testurl = "https://test.uc.qhmoka.com/ota-services/upmp/operateInterfaceForPC";//测试用升级上报接口
  466. }
  467. public static class ErrorreportServerurl
  468. {
  469. public static string Testurl = "http://test.micro.server.qhmoka.com/report/reportToolsLog";//异常上报测试服务器
  470. public static string Officialurl = "https://ap.micro.server.qhmoka.com/report/reportToolsLog";//异常上报正式服务器
  471. }
  472. public static class GetWhiteBalanceInfoUrl
  473. {
  474. public static string Testurl = "http://test.scbc.qhmoka.com/scbc-server/clientType/getBalanceMessage.do";//获取订单白平衡配置测试接口
  475. public static string Officialurl = "https://cn.uc.qhmoka.com/scbc-server/clientType/getBalanceMessage.do";//获取订单白平衡配置正式接口
  476. }
  477. public static class FireTVDsnUrl
  478. {
  479. public static string Testurl = "http://test.scbc.qhmoka.com/scbc-server/dsn/";//获取FireTV DSN相关测试接口
  480. public static string Officialurl = "https://cn.uc.qhmoka.com/scbc-server/dsn/";//获取FireTV DSN相关正式接口
  481. }
  482. public static class Loginurl
  483. {
  484. public static string Testurl = "http://test.scbc.qhmoka.com/scbc-server/login.do";//测试用登录接口
  485. public static string Officialurl = "https://cn.uc.qhmoka.com/scbc-server/login.do";//生产用登录接口
  486. }
  487. public class LoginInput
  488. {
  489. public string account { get; set; }
  490. public string password { get; set; }
  491. public string mac { get; set; }
  492. }
  493. public class LoginOutput
  494. {
  495. public string msg { get; set; }
  496. public string code { get; set; }
  497. public string factoryname { get; set; }
  498. public string factorynum { get; set; }
  499. }
  500. public static class TestMode
  501. {
  502. // 默认为正式服务器;
  503. public static bool testMode = false;
  504. public static string MAC = CommonMethod.GetMacAddress();
  505. public static string loginUrl = Loginurl.Officialurl;
  506. public static string fireTVDsnUrl = FireTVDsnUrl.Officialurl;
  507. public static string getWhiteBalanceInfoUrl = GetWhiteBalanceInfoUrl.Officialurl;
  508. public static string errorreportServerurl = ErrorreportServerurl.Officialurl;
  509. public static string upgradeReportUrl = UpgradeReportUrl.Officialurl;
  510. public static string upgradeUrl = UpgradeUrl.Officialurl;
  511. public static string serverurl = Serverurl.Officialurl;
  512. public static void SetTestMode(bool simulation = false)
  513. {
  514. if (simulation)
  515. {// 模拟测试时使用测试服务器;
  516. loginUrl = Loginurl.Testurl;
  517. fireTVDsnUrl = FireTVDsnUrl.Testurl;
  518. getWhiteBalanceInfoUrl = GetWhiteBalanceInfoUrl.Testurl;
  519. errorreportServerurl = ErrorreportServerurl.Testurl;
  520. upgradeReportUrl = UpgradeReportUrl.Officialurl;
  521. upgradeUrl = UpgradeUrl.Testurl;
  522. serverurl = Serverurl.Testurl;
  523. }
  524. else
  525. {
  526. loginUrl = Loginurl.Officialurl;
  527. fireTVDsnUrl = FireTVDsnUrl.Officialurl;
  528. getWhiteBalanceInfoUrl = GetWhiteBalanceInfoUrl.Officialurl;
  529. errorreportServerurl = ErrorreportServerurl.Officialurl;
  530. upgradeReportUrl = UpgradeReportUrl.Officialurl;
  531. upgradeUrl = UpgradeUrl.Officialurl;
  532. serverurl = Serverurl.Officialurl;
  533. }
  534. }
  535. }
  536. #region G客户NTF统计功能
  537. public class MaInfo
  538. {
  539. public string ODF;
  540. public string BOM;
  541. public string SCREEN;
  542. public string SHIPPING;
  543. public string SIZE;
  544. public string Model;
  545. #region Kayla返回所需;
  546. public string project_name_I { get; set; } = "";
  547. public string build_I { get; set; } = "";
  548. public string build_config_I { get; set; } = "";
  549. public string diag_ver_I { get; set; } = "";
  550. public string image_name_ver_I { get; set; } = "";
  551. public string soc_type { get; set; } = "";
  552. public string speaker_vender { get; set; } = "";
  553. public string mic_vender { get; set; } = "";
  554. #endregion
  555. }
  556. #endregion
  557. #region 小米FireTVKey;
  558. public class MIKey
  559. {
  560. public string TVSN;
  561. public string Batchnum;
  562. public string UpdateUser;
  563. public string UpdateTime;
  564. public string FWVersion;
  565. public string Model;
  566. public string IsPrint;
  567. public string FWVersion_2;
  568. public string OPName;
  569. public string TVMN;
  570. public string EAN;
  571. public string SKU;
  572. public string DeviceID;
  573. public string OPSN;
  574. // 实际只抄写以下4项;
  575. public string EthernetMac;
  576. public string BTMac;
  577. public string WIFIMAC;
  578. public string DSN;
  579. // 内置值;
  580. public string _PSN;
  581. public int _HDCP14;
  582. public int _HDCP22;
  583. }
  584. public class ReportMIKey
  585. {
  586. public string DSN { set; get; } = "";
  587. public string TVSN { set; get; } = "";
  588. public string TVMN { set; get; } = "";
  589. public string ChipSN { set; get; } = "";
  590. public string ChipMN { set; get; } = "";
  591. public string EthernetMAC { set; get; } = "";
  592. public string BTMAC { set; get; } = "";
  593. public string WIFIMAC { set; get; } = "";
  594. public string HDCP14 { set; get; } = "";
  595. public string HDCP22 { set; get; } = "";
  596. }
  597. #endregion
  598. public class KeyType
  599. {
  600. public string name { get; set; } = "";
  601. public string type { get; set; } = "";
  602. }
  603. public class SanhuaMESLoginInfo
  604. {
  605. public string url { get; set; }
  606. public string staffCode { get; set; }
  607. public string password { get; set; }
  608. public string resourceCode { get; set; }
  609. public string jigEdtion { get; set; }
  610. }
  611. }