32 lines
764 B
C#
32 lines
764 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using SQLite;
|
|
using WindowsFormsApp1.server;
|
|
|
|
namespace WindowsFormsApp1.mod
|
|
{
|
|
[Table("plc")]
|
|
public class t_plc
|
|
{
|
|
[PrimaryKey, AutoIncrement]
|
|
public int id { get; set; }
|
|
public string plcname { get; set; }
|
|
public string plcip { get; set; }
|
|
public int timeout { get; set; }
|
|
|
|
/// <summary>
|
|
/// 需要上传状态
|
|
/// </summary>
|
|
public bool statues { get; set; }
|
|
/// <summary>
|
|
/// 需要上传报警
|
|
/// </summary>
|
|
public bool alarm { get; set; }
|
|
[Ignore]
|
|
public SiemensHelp plchelp { get; set; }
|
|
}
|
|
}
|