123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using System;
- using System.Collections.Generic;
- namespace OTSCommon.Model
- {
- [Serializable]
- public class ResultFile
- {
- /// <summary>
- /// FileId
- /// </summary>
- /// //全局对象,为了能够快速的获取到xray数据,而做为一个临时变量进行保存,使用前应该判断是否为空
- private List<Field> list_OTSField = null;
- public string FileId
- {
- get;
- set;
- }
- /// <summary>
- /// FileName
- /// </summary>
- public string anotherFileName
- {
- get;
- set;
- }
- /// <summary>
- /// FileName
- /// </summary>
- public string FileName_real
- {
- get;
- set;
- }
- /// <summary>
- /// FilePath
- /// </summary>
- public string FilePath
- {
- get;
- set;
- }
- /// <summary>
- /// ResuitInfo
- /// </summary>
- public Dictionary<string, object> ResultInfo
- {
- get;
- set;
- }
- public List<Field> List_OTSField { get => list_OTSField; set => list_OTSField = value; }
- public OTS_SysType_ID GetResultSystype()
- {
- var Systype = ((Dictionary<string, object>)((Dictionary<string, object>)((Dictionary<string, object>)(Dictionary<string, object>)this.ResultInfo["Sample"])["Members"])["MsrParams"])["SysType"];
- return (OTS_SysType_ID)(Convert.ToInt32( Systype.ToString().Split(':')[0]));
- }
- }
- }
|