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.
37 lines
728 B
C#
37 lines
728 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Production_Oil.ViewModel
|
|
{
|
|
public class StationsInfo
|
|
{
|
|
public List<Station> Stations { get; set; }
|
|
}
|
|
|
|
public class Station
|
|
{
|
|
/// <summary>
|
|
/// 工位编码
|
|
/// </summary>
|
|
public string StationCode { get; set; }
|
|
|
|
public string PlcIP { get; set; }
|
|
|
|
public int PlcPort { get; set; }
|
|
|
|
public List<Point> Points { get; set; }
|
|
}
|
|
|
|
public class Point
|
|
{
|
|
public string PointCode { get; set; }
|
|
|
|
public string PointName { get; set; }
|
|
|
|
public string PointAddress { get; set; }
|
|
|
|
public string DataType { get; set; }
|
|
|
|
public int DataLen { get; set; }
|
|
}
|
|
}
|