You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
617 B
C#
27 lines
617 B
C#
namespace DB.Entity
|
|
{
|
|
public class Point:BaseChimsDb
|
|
{
|
|
/// <summary>
|
|
/// plc 点位名称
|
|
/// </summary>
|
|
public string PointName { get; set; }
|
|
/// <summary>
|
|
/// plc 点位地址
|
|
/// </summary>
|
|
public string PointAddress { get; set; }
|
|
/// <summary>
|
|
/// plc 数据类型 bool float int bit
|
|
/// </summary>
|
|
public string DataType { get; set; }
|
|
}
|
|
|
|
|
|
public class PointMapper : SystemEntityTypeBuilder<Point>
|
|
{
|
|
public PointMapper() : base("Point")
|
|
{
|
|
|
|
}
|
|
}
|
|
} |