添加项目文件。
This commit is contained in:
1 parent
d68cdea124
commit
faaf9136d6
51 files changed
+11674
No files matched your search
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SQLite;
|
||||
|
||||
namespace WindowsFormsApp1.mod
|
||||
{
|
||||
[Table("flow")]
|
||||
public class t_flow
|
||||
{
|
||||
[PrimaryKey, AutoIncrement]
|
||||
public int id { get; set; }
|
||||
public int flowid { get; set; }
|
||||
public int setp { get; set; }
|
||||
public int hopeinterfaceid { get; set; }
|
||||
public int errinterfaceid { get; set; }
|
||||
public int hopestatus { get; set; }
|
||||
public int errstatus { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
using SQLite;
|
||||
|
||||
namespace WindowsFormsApp1.mod
|
||||
{
|
||||
[Table("interface")]
|
||||
public class t_interface
|
||||
{
|
||||
[PrimaryKey, AutoIncrement]
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string code { get; set; }
|
||||
public string url { get; set; }
|
||||
public string remark { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SQLite;
|
||||
|
||||
namespace WindowsFormsApp1.mod
|
||||
{
|
||||
[Table("line")]
|
||||
public class t_line
|
||||
{
|
||||
[PrimaryKey, AutoIncrement]
|
||||
public int id { get; set; }
|
||||
public string linename { get; set; }
|
||||
public string linecode { get; set; }
|
||||
public string linetype { get; set; }
|
||||
public string linemode { get; set; }
|
||||
public int plcid1 { get; set; }
|
||||
public int plcid2 { get; set; }
|
||||
public int flowid { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
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 plcip { get; set; }
|
||||
public int timeout { get; set; }
|
||||
|
||||
[Ignore]
|
||||
public DateTime dateTime { get; set; }
|
||||
[Ignore]
|
||||
public SiemensHelp plchelp { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SQLite;
|
||||
|
||||
namespace WindowsFormsApp1.mod
|
||||
{
|
||||
[Table("plcaddress")]
|
||||
public class t_plcaddress
|
||||
{
|
||||
[PrimaryKey, AutoIncrement]
|
||||
public int id { get; set; }
|
||||
public int plcid { get; set; }
|
||||
public string type { get; set; }
|
||||
public string dbaddress { get; set; }
|
||||
public string addresstype { get; set; }
|
||||
public int addresstypelegth { get; set; }
|
||||
public int addressoffset { get; set; }
|
||||
public string remark { get; set; }
|
||||
public string value { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SQLite;
|
||||
|
||||
namespace WindowsFormsApp1.mod
|
||||
{
|
||||
[Table("user")]
|
||||
public class t_user
|
||||
{
|
||||
[PrimaryKey, AutoIncrement]
|
||||
public int id { get; set; }
|
||||
public string username { get; set; }
|
||||
public string password { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user