添加项目文件。
This commit is contained in:
19
SamplePre.Models/Ext/LogQuery.cs
Normal file
19
SamplePre.Models/Ext/LogQuery.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Ext
|
||||
{
|
||||
public class LogQuery
|
||||
{
|
||||
public string runDate { get; set; }
|
||||
public string errType { get; set; }
|
||||
public string errlevel { get; set; }
|
||||
public string content { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
23
SamplePre.Models/Ext/LoginUserInfo.cs
Normal file
23
SamplePre.Models/Ext/LoginUserInfo.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using SamplePre.Models.Tables;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class LoginUserInfo
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 用户信息
|
||||
/// </summary>
|
||||
public config_user user { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 功能权限
|
||||
/// </summary>
|
||||
public List<config_function> functions { get; set; }
|
||||
}
|
||||
}
|
||||
26
SamplePre.Models/Ext/MenuNode.cs
Normal file
26
SamplePre.Models/Ext/MenuNode.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Ext
|
||||
{
|
||||
public class MenuNode
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Icon { get; set; }
|
||||
public List<MenuNode> Children { get; set; }
|
||||
|
||||
//public MenuNode(string id, string name, List<MenuNode> children = null)
|
||||
//{
|
||||
// Id = id;
|
||||
// Name = name;
|
||||
|
||||
// Children = children ?? new List<MenuNode>();
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
17
SamplePre.Models/Ext/config_function_ext.cs
Normal file
17
SamplePre.Models/Ext/config_function_ext.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using SamplePre.Models.Tables;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class config_function_ext : config_function
|
||||
{
|
||||
|
||||
public bool IsChecked { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
16
SamplePre.Models/Ext/config_role_ext.cs
Normal file
16
SamplePre.Models/Ext/config_role_ext.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using SamplePre.Models.Tables;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class config_role_ext : config_role
|
||||
{
|
||||
|
||||
public bool IsSelected { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
16
SamplePre.Models/Ext/config_user_ext.cs
Normal file
16
SamplePre.Models/Ext/config_user_ext.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using SamplePre.Models.Tables;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class config_user_ext : config_user
|
||||
{
|
||||
|
||||
public string all_role_names { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
25
SamplePre.Models/Ext/sample_exec_detail_ext.cs
Normal file
25
SamplePre.Models/Ext/sample_exec_detail_ext.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using SamplePre.Models.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class sample_exec_detail_ext : sample_exec_detail
|
||||
{
|
||||
|
||||
public string exec_state { get; set; }
|
||||
public string item_name { get; set; }
|
||||
|
||||
public string standrad_id { get; set; }
|
||||
public string standrad { get; set; }
|
||||
public DateTime input_date { get; set; }
|
||||
public string input_user { get; set; }
|
||||
public string tube_type_name { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
17
SamplePre.Models/Ext/sample_exec_ext.cs
Normal file
17
SamplePre.Models/Ext/sample_exec_ext.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using SamplePre.Models.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class sample_exec_ext : sample_exec
|
||||
{
|
||||
public string standradName { get; set; }
|
||||
|
||||
|
||||
public List<sample_exec_detail> sampleExecDetails { get; set; }
|
||||
}
|
||||
}
|
||||
15
SamplePre.Models/Ext/sys_action_ext.cs
Normal file
15
SamplePre.Models/Ext/sys_action_ext.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Models.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class sys_action_ext : sys_action
|
||||
{
|
||||
public string action_unitname { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
23
SamplePre.Models/Ext/sys_action_parm_map_ext.cs
Normal file
23
SamplePre.Models/Ext/sys_action_parm_map_ext.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Models.Ext
|
||||
{
|
||||
public class sys_action_parm_map_ext
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string process_id { get; set; }
|
||||
public string parm_id { get; set; }
|
||||
public string process_name { get; set; }
|
||||
public string title { get; set; }
|
||||
public string unit { get; set; }
|
||||
public string data_type { get; set; }
|
||||
public string data_value { get; set; }
|
||||
|
||||
public string plc_type { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
27
SamplePre.Models/Ext/sys_standard_action_ext.cs
Normal file
27
SamplePre.Models/Ext/sys_standard_action_ext.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Models.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class sys_standard_action_ext : sys_standard_action
|
||||
{
|
||||
public string action_name { get; set; }
|
||||
public string remark { get; set; }
|
||||
|
||||
public string all_param { get; set; }
|
||||
|
||||
public string action_unit { get; set; }
|
||||
public string action_unit_name { set; get; }
|
||||
|
||||
public int new_action_seqno { set; get; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行完成标识
|
||||
/// </summary>
|
||||
public bool ExecFinishFlag { set; get; } = false;
|
||||
}
|
||||
}
|
||||
21
SamplePre.Models/Ext/sys_standard_action_parm_ext.cs
Normal file
21
SamplePre.Models/Ext/sys_standard_action_parm_ext.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Models.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class sys_standard_action_parm_ext : sys_standard_action_parm
|
||||
{
|
||||
public string action_name { get; set; }
|
||||
public string title { get; set; }
|
||||
public string unit { get; set; }
|
||||
public string data_type { get; set; }
|
||||
public string plc_type { get; set; }
|
||||
|
||||
public string actionAndseqno { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
38
SamplePre.Models/Ext/sys_standard_ext.cs
Normal file
38
SamplePre.Models/Ext/sys_standard_ext.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using Models.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class sys_standard_ext : sys_standard ,INotifyPropertyChanged
|
||||
{
|
||||
|
||||
//public bool IsSelected { get; set; }
|
||||
|
||||
|
||||
private bool _isSelected;
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return _isSelected; }
|
||||
set { _isSelected = value;
|
||||
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
protected void OnPropertyChanged([CallerMemberName] string? propertyName = null)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
}
|
||||
}
|
||||
40
SamplePre.Models/Ext/tube_input_ext.cs
Normal file
40
SamplePre.Models/Ext/tube_input_ext.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using Models.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SamplePre.Models.Ext
|
||||
{
|
||||
public class tube_input_ext : tube_input,INotifyPropertyChanged
|
||||
{
|
||||
//public bool isChecked { get; set; } = false;
|
||||
|
||||
public string tube_type_name { get; set; }
|
||||
|
||||
|
||||
private bool isSelected = false;
|
||||
|
||||
public event PropertyChangedEventHandler? PropertyChanged;
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return isSelected; }
|
||||
set
|
||||
{
|
||||
isSelected = value;
|
||||
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
protected void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user