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; }
|
}
|
}
|