tx
2025-04-10 2538101febc78f525945da72c7cdcb2589f9e6ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace TProduct.OpenDto
{
    public class FeatTestPackInfoV1
    {
        /// <summary>
        /// 版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 客户端名
        /// </summary>
        public string SoftClientID { get; set; }
        /// <summary>
        /// IStation租客ID (Tag,  ID 二者而是一个即可)
        /// </summary>
        public long TenantID { get; set; }
        /// <summary>
        /// IStation租客Tag (Tag,  ID 二者而是一个即可)
        /// </summary>
        public string TenantTag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ProductPump Pump { get; set; } 
        /// <summary>
        /// 
        /// </summary>
        public TProduct.OpenDto.TestProjectItem TestItem { get; set; } 
        /// <summary>
        /// 
        /// </summary>
        public TProduct.OpenDto.WorkBenchBase TestBench { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="ContentInfo"></param>
        /// <returns></returns>
        public static FeatTestPackInfoV1 ToParamenter(string ContentInfo)
        {
            if (string.IsNullOrEmpty(ContentInfo))
            {
                return null;
            }
 
            var js = new System.Web.Script.Serialization.JavaScriptSerializer();
            js.MaxJsonLength = int.MaxValue;
            return js.Deserialize(ContentInfo, typeof(TProduct.OpenDto.FeatTestPackInfoV1)) as TProduct.OpenDto.FeatTestPackInfoV1;
        }
 
        public string ToDsString()
        {
            try
            {
                var js = new System.Web.Script.Serialization.JavaScriptSerializer();
                js.MaxJsonLength = int.MaxValue;
                return js.Serialize(this);
            }
            catch //(Exception ex)
            {
                return null;
            }
        }
    }
}