添加项目文件。

This commit is contained in:
2026-04-30 11:34:41 +08:00
parent a8539ccaac
commit 80635aa46e
181 changed files with 16378 additions and 0 deletions

View 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; }
}
}

View 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; }
}
}

View 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>();
//}
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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;
}
}

View 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; }
}
}

View 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;
}
}

View 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));
}
}
}