DeviceEntity.cs
767 Bytes
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HHWCS.Model
{
public class DeviceEntity
{
public int Id { get; set; }
public string Code { get; set; }
public string Name { get; set; }
public int Type { get; set; }
public string IP { get; set; }
public string S7_Connect { get; set; }
public string GroupName { get; set; }
public int DeviceTypeId { get; set; }
public bool? Enable { get; set; }
public int Roadway { get; set; }
public int SelfAddress { get; set; }
public override string ToString()
{
return this.Code+" "+this.Name;
}
}
}