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.
195 lines
4.7 KiB
C#
195 lines
4.7 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Linq;
|
|
using System.Runtime.Serialization;
|
|
using System.Text;
|
|
|
|
namespace Txgy.RBS.DbModel.Models
|
|
{
|
|
///<summary>
|
|
///
|
|
///</summary>
|
|
public class project_info
|
|
{
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public int id { get; set; }
|
|
|
|
public int project_id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string project_name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:1
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int moni_layer { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:1
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int moni_num { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:"2024-04-01"
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string moni_date { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:YA
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string network { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:"06"
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string location { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:"SHZ:SHN:SHE"
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string channels { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:3837
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public double xmin { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:3838
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public double xmax { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:402
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public double ymin { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:403
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public double ymax { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:200
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public double zmin { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:900
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public double zmax { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int local_save_result { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:result
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string save_result_path { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int local_save_waves { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:wavesdata
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string save_waves_path { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:1
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int send_redis { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:"127.0.0.1:1883"
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public string mqtt_server { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int push_wx { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:- 1.0
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public double push_wx_value { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:8
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int push_wx_area_id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:2
|
|
/// Nullable:False
|
|
/// </summary>
|
|
public int push_wx_company_id { get; set; }
|
|
|
|
[Navigate(NavigateType.OneToOne, nameof(project_id))]
|
|
// [SugarColumn(IsIgnore = true)]
|
|
public station_file station_file { get; set; }
|
|
|
|
|
|
[Navigate(NavigateType.OneToOne, nameof(project_id))]
|
|
public time_tab time_tab { get; set; }
|
|
}
|
|
}
|