管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2024-09-07 8d7a67ab1d635cb954337d8a767878ae526dd3dc
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
 
namespace ExportMap.Models
{
    public class Decrypt
    {
        public Decrypt()
        {
            code = 200;
            msg = null;
            data = new DecryptData();
        }
 
        public int code { set; get; }
 
        public string msg { set; get; }
 
        public DecryptData data { set; get; }
    }
 
    public class DecryptData
    {
        private static List<int> modules = new List<int>();
 
        static DecryptData()
        {
            for (int i = 1; i < 101; i++)
            {
                modules.Add(i);
            }
        }
 
        public DecryptData()
        {
            machineId = "e7dd8a96913fb5fe62df6b5a7fd503f4";
            //registeredModules = new int[] { 1, 3, 9, 12, 13, 17, 25, 30, 33, 37 };
            registeredModules = modules.ToArray();
            message = "OK";
            success = true;
            expireDate = new DateTime(2052, 12, 31);
        }
 
        public string machineId { set; get; }
 
        public int[] registeredModules { set; get; }
 
        public string message { set; get; }
 
        public bool success { set; get; }
 
        public DateTime expireDate { set; get; }
    }
}