ChangeStationModel.cs
2.22 KB
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
71
72
73
74
75
76
77
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace WebRepository
{
/// <summary>
/// 站台设置
/// 任务类型说明:insert时所以参数都必须填写,界面需要做管控
/// strBarcode也就是RFID必须是唯一,且一旦insert成功不允许更改
/// 通过strBarcode更新/删除 其他属性值
/// </summary>
public partial class ChangeStationModel
{
/// <summary>
/// "站台类型,int,3是充电桩,其他待定",
/// </summary>
public int stationType { get; set; }
/// <summary>
/// "站台类型,int,3是充电桩,其他待定",
/// </summary>
public string Group { get; set; }
/// <summary>
/// "站台所属区域,string(20)"
/// </summary>
public string Area { get; set; }
/// <summary>
/// "站台方向"
/// </summary>
public int stationOri { get; set; }
/// <summary>
/// "充电距离"
/// </summary>
public int Length { get; set; }
/// <summary>
/// "小车是否启用,bit"
/// </summary>
public bool? isEnable { get; set; }
/// <summary>
/// isLocked
/// </summary>
public bool? isLocked { get; set; }
/// <summary>
/// "站台RFID值",string(20),唯一
/// </summary>
public string Barcode { get; set; }
/// <summary>
/// "站台关联点"
/// </summary>
public string PreBarcode { get; set; }
/// <summary>
/// "站台名称",string(20),唯一
/// </summary>
public string Name { get; set; }
/// <summary>
/// "任务类型,string(50) ,"insert"增加,"update"更新,"delete"删除,必填"
/// </summary>
public string type { get; set; }
/// <summary>
/// 站台状态
/// </summary>
public int stationState { get; set; }
//唯一标识
public string ID { get; set; }
public ChangeStationModel()
{
stationType = 0;
stationOri = 0;
Length = 0;
stationState = 0;
}
}
}