Compare commits
13 Commits
Author | SHA1 | Date |
---|---|---|
|
815051a7f3 | |
|
fcbbf26f16 | |
|
78f4f52c88 | |
|
145ff1ca72 | |
|
97056b4d07 | |
|
6033ed5252 | |
|
e031249214 | |
|
d0a2b6a9f2 | |
|
a21ee9d304 | |
|
c1e5e8a60e | |
|
3344266ef5 | |
|
ccba806965 | |
|
3648d38b45 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,37 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
||||
|
||||
</configSections>
|
||||
<appSettings>
|
||||
<add key="ConnectionString" value="Server=mysql.lgzn.space; Port=18922;Allow User Variables=True;Database=jcxt;User ID=root;Password=Unity3du#d112233;Charset=gbk;convert zero datetime=True" />
|
||||
</appSettings>
|
||||
<log4net>
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="SysAppender" />
|
||||
<level value="ALL"/>
|
||||
<appender-ref ref="SysAppender"/>
|
||||
</root>
|
||||
<logger name="WebLogger">
|
||||
<level value="DEBUG" />
|
||||
<level value="DEBUG"/>
|
||||
</logger>
|
||||
<appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
|
||||
<param name="File" value="App_Data/" />
|
||||
<param name="AppendToFile" value="true" />
|
||||
<param name="RollingStyle" value="Date" />
|
||||
<param name="DatePattern" value=""Logs_"yyyyMMdd".txt"" />
|
||||
<param name="StaticLogFileName" value="false" />
|
||||
<param name="File" value="App_Data/"/>
|
||||
<param name="AppendToFile" value="true"/>
|
||||
<param name="RollingStyle" value="Date"/>
|
||||
<param name="DatePattern" value=""Logs_"yyyyMMdd".txt""/>
|
||||
<param name="StaticLogFileName" value="false"/>
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
||||
<param name="Header" value=" ------------------------------------------------
" />
|
||||
<param name="Footer" value=" ------------------------------------------------
" />
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
<param name="Header" value=" ------------------------------------------------
|
||||
"/>
|
||||
<param name="Footer" value=" ------------------------------------------------
|
||||
"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net">
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
</log4net>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
|
|
@ -0,0 +1,179 @@
|
|||
/** 版本信息模板在安装目录下,可自行修改。
|
||||
* energy_data.cs
|
||||
*
|
||||
* 功 能: N/A
|
||||
* 类 名: energy_data
|
||||
*
|
||||
* Ver 变更日期 负责人 变更内容
|
||||
* ───────────────────────────────────
|
||||
* V0.01 2023/2/26 19:05:08 N/A 初版
|
||||
*
|
||||
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
|
||||
*┌──────────────────────────────────┐
|
||||
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
|
||||
*│ 版权所有:动软卓越(北京)科技有限公司 │
|
||||
*└──────────────────────────────────┘
|
||||
*/
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using Maticsoft.Common;
|
||||
using DataService.Model;
|
||||
namespace DataService.BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// energy_data
|
||||
/// </summary>
|
||||
public partial class energy_data
|
||||
{
|
||||
private readonly DataService.DAL.energy_data dal=new DataService.DAL.energy_data();
|
||||
public energy_data()
|
||||
{}
|
||||
#region BasicMethod
|
||||
/// <summary>
|
||||
/// 是否存在该记录
|
||||
/// </summary>
|
||||
public bool Exists(string energy_id)
|
||||
{
|
||||
return dal.Exists(energy_id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加一条数据
|
||||
/// </summary>
|
||||
public bool Add(DataService.Model.energy_data model)
|
||||
{
|
||||
return dal.Add(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一条数据
|
||||
/// </summary>
|
||||
public bool Update(DataService.Model.energy_data model)
|
||||
{
|
||||
return dal.Update(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一条数据
|
||||
/// </summary>
|
||||
public bool Delete(string energy_id)
|
||||
{
|
||||
|
||||
return dal.Delete(energy_id);
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除一条数据
|
||||
/// </summary>
|
||||
public bool DeleteList(string energy_idlist )
|
||||
{
|
||||
return dal.DeleteList(energy_idlist );
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体
|
||||
/// </summary>
|
||||
public DataService.Model.energy_data GetModel(string energy_id)
|
||||
{
|
||||
|
||||
return dal.GetModel(energy_id);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体,从缓存中
|
||||
/// </summary>
|
||||
public DataService.Model.energy_data GetModelByCache(string energy_id)
|
||||
{
|
||||
|
||||
string CacheKey = "energy_dataModel-" + energy_id;
|
||||
object objModel = Maticsoft.Common.DataCache.GetCache(CacheKey);
|
||||
if (objModel == null)
|
||||
{
|
||||
try
|
||||
{
|
||||
objModel = dal.GetModel(energy_id);
|
||||
if (objModel != null)
|
||||
{
|
||||
int ModelCache = Maticsoft.Common.ConfigHelper.GetConfigInt("ModelCache");
|
||||
Maticsoft.Common.DataCache.SetCache(CacheKey, objModel, DateTime.Now.AddMinutes(ModelCache), TimeSpan.Zero);
|
||||
}
|
||||
}
|
||||
catch{}
|
||||
}
|
||||
return (DataService.Model.energy_data)objModel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public DataSet GetList(string strWhere)
|
||||
{
|
||||
return dal.GetList(strWhere);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public List<DataService.Model.energy_data> GetModelList(string strWhere)
|
||||
{
|
||||
DataSet ds = dal.GetList(strWhere);
|
||||
return DataTableToList(ds.Tables[0]);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public List<DataService.Model.energy_data> DataTableToList(DataTable dt)
|
||||
{
|
||||
List<DataService.Model.energy_data> modelList = new List<DataService.Model.energy_data>();
|
||||
int rowsCount = dt.Rows.Count;
|
||||
if (rowsCount > 0)
|
||||
{
|
||||
DataService.Model.energy_data model;
|
||||
for (int n = 0; n < rowsCount; n++)
|
||||
{
|
||||
model = dal.DataRowToModel(dt.Rows[n]);
|
||||
if (model != null)
|
||||
{
|
||||
modelList.Add(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
return modelList;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public DataSet GetAllList()
|
||||
{
|
||||
return GetList("");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public int GetRecordCount(string strWhere)
|
||||
{
|
||||
return dal.GetRecordCount(strWhere);
|
||||
}
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
|
||||
{
|
||||
return dal.GetListByPage( strWhere, orderby, startIndex, endIndex);
|
||||
}
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
//public DataSet GetList(int PageSize,int PageIndex,string strWhere)
|
||||
//{
|
||||
//return dal.GetList(PageSize,PageIndex,strWhere);
|
||||
//}
|
||||
|
||||
#endregion BasicMethod
|
||||
#region ExtensionMethod
|
||||
|
||||
#endregion ExtensionMethod
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,724 @@
|
|||
/** 版本信息模板在安装目录下,可自行修改。
|
||||
* energy_data.cs
|
||||
*
|
||||
* 功 能: N/A
|
||||
* 类 名: energy_data
|
||||
*
|
||||
* Ver 变更日期 负责人 变更内容
|
||||
* ───────────────────────────────────
|
||||
* V0.01 2023/2/26 19:05:08 N/A 初版
|
||||
*
|
||||
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
|
||||
*┌──────────────────────────────────┐
|
||||
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
|
||||
*│ 版权所有:动软卓越(北京)科技有限公司 │
|
||||
*└──────────────────────────────────┘
|
||||
*/
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using MySql.Data.MySqlClient;
|
||||
using Maticsoft.DBUtility;//Please add references
|
||||
namespace DataService.DAL
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据访问类:energy_data
|
||||
/// </summary>
|
||||
public partial class energy_data
|
||||
{
|
||||
public energy_data()
|
||||
{}
|
||||
#region BasicMethod
|
||||
|
||||
/// <summary>
|
||||
/// 是否存在该记录
|
||||
/// </summary>
|
||||
public bool Exists(string energy_id)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select count(1) from energy_data");
|
||||
strSql.Append(" where energy_id=@energy_id ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@energy_id", MySqlDbType.VarChar,50) };
|
||||
parameters[0].Value = energy_id;
|
||||
|
||||
return DbHelperMySQL.Exists(strSql.ToString(),parameters);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 增加一条数据
|
||||
/// </summary>
|
||||
public bool Add(DataService.Model.energy_data model)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into energy_data(");
|
||||
strSql.Append("energy_id,device_id,supply_water_temperature,return_water_temperature,instantaneous_delivery,sampling_value,cumulative_traffic,positive_total_flow,negative_total_flow,instant_heat,revised_version_number,lang,table_address,meter_communication_speed,modified_caliber,flow_unit,flow_integration_unit,zero_sample_value,meter_factor,heat_coefficient,supply_water_temperature_coefficient,return_temperature_coefficient,small_signal_cut_off_point,modify_pulse_unit,allow_cutout_display,ReverseOutputAllows,current_output_type,pulse_output_mode,frequency_output_range,empty_traffic_alarm_allowed,empty_traffic_alarm_threshold,high_limit_alarm_allows,upper_alarm_value,lower_limit_alarm_allowed,lower_limit_alarm_value,excitation_alarm_allows,sensor_coefficient,empty_pipe_sampling_value,alarm_information,current_zero_correction,current_full_scale_correction,meter_range_setting,measure_damping_time,flow_direction_option,cumulative_heat,cumulative_cooling_capacity,input_date,create_time,r1,r2,r3)");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append("@energy_id,@device_id,@supply_water_temperature,@return_water_temperature,@instantaneous_delivery,@sampling_value,@cumulative_traffic,@positive_total_flow,@negative_total_flow,@instant_heat,@revised_version_number,@lang,@table_address,@meter_communication_speed,@modified_caliber,@flow_unit,@flow_integration_unit,@zero_sample_value,@meter_factor,@heat_coefficient,@supply_water_temperature_coefficient,@return_temperature_coefficient,@small_signal_cut_off_point,@modify_pulse_unit,@allow_cutout_display,@ReverseOutputAllows,@current_output_type,@pulse_output_mode,@frequency_output_range,@empty_traffic_alarm_allowed,@empty_traffic_alarm_threshold,@high_limit_alarm_allows,@upper_alarm_value,@lower_limit_alarm_allowed,@lower_limit_alarm_value,@excitation_alarm_allows,@sensor_coefficient,@empty_pipe_sampling_value,@alarm_information,@current_zero_correction,@current_full_scale_correction,@meter_range_setting,@measure_damping_time,@flow_direction_option,@cumulative_heat,@cumulative_cooling_capacity,@input_date,@create_time,@r1,@r2,@r3)");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@energy_id", MySqlDbType.VarChar,50),
|
||||
new MySqlParameter("@device_id", MySqlDbType.VarChar,50),
|
||||
new MySqlParameter("@supply_water_temperature", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@return_water_temperature", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@instantaneous_delivery", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@sampling_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@cumulative_traffic", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@positive_total_flow", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@negative_total_flow", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@instant_heat", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@revised_version_number", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@lang", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@table_address", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@meter_communication_speed", MySqlDbType.Int32),
|
||||
new MySqlParameter("@modified_caliber", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@flow_unit", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@flow_integration_unit", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@zero_sample_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@meter_factor", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@heat_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@supply_water_temperature_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@return_temperature_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@small_signal_cut_off_point", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@modify_pulse_unit", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@allow_cutout_display", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@ReverseOutputAllows", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@current_output_type", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@pulse_output_mode", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@frequency_output_range", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@empty_traffic_alarm_allowed", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@empty_traffic_alarm_threshold", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@high_limit_alarm_allows", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@upper_alarm_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@lower_limit_alarm_allowed", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@lower_limit_alarm_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@excitation_alarm_allows", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@sensor_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@empty_pipe_sampling_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@alarm_information", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@current_zero_correction", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@current_full_scale_correction", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@meter_range_setting", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@measure_damping_time", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@flow_direction_option", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@cumulative_heat", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@cumulative_cooling_capacity", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@input_date", MySqlDbType.DateTime),
|
||||
new MySqlParameter("@create_time", MySqlDbType.DateTime),
|
||||
new MySqlParameter("@r1", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@r2", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@r3", MySqlDbType.VarChar,255)};
|
||||
parameters[0].Value = model.energy_id;
|
||||
parameters[1].Value = model.device_id;
|
||||
parameters[2].Value = model.supply_water_temperature;
|
||||
parameters[3].Value = model.return_water_temperature;
|
||||
parameters[4].Value = model.instantaneous_delivery;
|
||||
parameters[5].Value = model.sampling_value;
|
||||
parameters[6].Value = model.cumulative_traffic;
|
||||
parameters[7].Value = model.positive_total_flow;
|
||||
parameters[8].Value = model.negative_total_flow;
|
||||
parameters[9].Value = model.instant_heat;
|
||||
parameters[10].Value = model.revised_version_number;
|
||||
parameters[11].Value = model.lang;
|
||||
parameters[12].Value = model.table_address;
|
||||
parameters[13].Value = model.meter_communication_speed;
|
||||
parameters[14].Value = model.modified_caliber;
|
||||
parameters[15].Value = model.flow_unit;
|
||||
parameters[16].Value = model.flow_integration_unit;
|
||||
parameters[17].Value = model.zero_sample_value;
|
||||
parameters[18].Value = model.meter_factor;
|
||||
parameters[19].Value = model.heat_coefficient;
|
||||
parameters[20].Value = model.supply_water_temperature_coefficient;
|
||||
parameters[21].Value = model.return_temperature_coefficient;
|
||||
parameters[22].Value = model.small_signal_cut_off_point;
|
||||
parameters[23].Value = model.modify_pulse_unit;
|
||||
parameters[24].Value = model.allow_cutout_display;
|
||||
parameters[25].Value = model.ReverseOutputAllows;
|
||||
parameters[26].Value = model.current_output_type;
|
||||
parameters[27].Value = model.pulse_output_mode;
|
||||
parameters[28].Value = model.frequency_output_range;
|
||||
parameters[29].Value = model.empty_traffic_alarm_allowed;
|
||||
parameters[30].Value = model.empty_traffic_alarm_threshold;
|
||||
parameters[31].Value = model.high_limit_alarm_allows;
|
||||
parameters[32].Value = model.upper_alarm_value;
|
||||
parameters[33].Value = model.lower_limit_alarm_allowed;
|
||||
parameters[34].Value = model.lower_limit_alarm_value;
|
||||
parameters[35].Value = model.excitation_alarm_allows;
|
||||
parameters[36].Value = model.sensor_coefficient;
|
||||
parameters[37].Value = model.empty_pipe_sampling_value;
|
||||
parameters[38].Value = model.alarm_information;
|
||||
parameters[39].Value = model.current_zero_correction;
|
||||
parameters[40].Value = model.current_full_scale_correction;
|
||||
parameters[41].Value = model.meter_range_setting;
|
||||
parameters[42].Value = model.measure_damping_time;
|
||||
parameters[43].Value = model.flow_direction_option;
|
||||
parameters[44].Value = model.cumulative_heat;
|
||||
parameters[45].Value = model.cumulative_cooling_capacity;
|
||||
parameters[46].Value = model.input_date;
|
||||
parameters[47].Value = model.create_time;
|
||||
parameters[48].Value = model.r1;
|
||||
parameters[49].Value = model.r2;
|
||||
parameters[50].Value = model.r3;
|
||||
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 更新一条数据
|
||||
/// </summary>
|
||||
public bool Update(DataService.Model.energy_data model)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("update energy_data set ");
|
||||
strSql.Append("device_id=@device_id,");
|
||||
strSql.Append("supply_water_temperature=@supply_water_temperature,");
|
||||
strSql.Append("return_water_temperature=@return_water_temperature,");
|
||||
strSql.Append("instantaneous_delivery=@instantaneous_delivery,");
|
||||
strSql.Append("sampling_value=@sampling_value,");
|
||||
strSql.Append("cumulative_traffic=@cumulative_traffic,");
|
||||
strSql.Append("positive_total_flow=@positive_total_flow,");
|
||||
strSql.Append("negative_total_flow=@negative_total_flow,");
|
||||
strSql.Append("instant_heat=@instant_heat,");
|
||||
strSql.Append("revised_version_number=@revised_version_number,");
|
||||
strSql.Append("lang=@lang,");
|
||||
strSql.Append("table_address=@table_address,");
|
||||
strSql.Append("meter_communication_speed=@meter_communication_speed,");
|
||||
strSql.Append("modified_caliber=@modified_caliber,");
|
||||
strSql.Append("flow_unit=@flow_unit,");
|
||||
strSql.Append("flow_integration_unit=@flow_integration_unit,");
|
||||
strSql.Append("zero_sample_value=@zero_sample_value,");
|
||||
strSql.Append("meter_factor=@meter_factor,");
|
||||
strSql.Append("heat_coefficient=@heat_coefficient,");
|
||||
strSql.Append("supply_water_temperature_coefficient=@supply_water_temperature_coefficient,");
|
||||
strSql.Append("return_temperature_coefficient=@return_temperature_coefficient,");
|
||||
strSql.Append("small_signal_cut_off_point=@small_signal_cut_off_point,");
|
||||
strSql.Append("modify_pulse_unit=@modify_pulse_unit,");
|
||||
strSql.Append("allow_cutout_display=@allow_cutout_display,");
|
||||
strSql.Append("ReverseOutputAllows=@ReverseOutputAllows,");
|
||||
strSql.Append("current_output_type=@current_output_type,");
|
||||
strSql.Append("pulse_output_mode=@pulse_output_mode,");
|
||||
strSql.Append("frequency_output_range=@frequency_output_range,");
|
||||
strSql.Append("empty_traffic_alarm_allowed=@empty_traffic_alarm_allowed,");
|
||||
strSql.Append("empty_traffic_alarm_threshold=@empty_traffic_alarm_threshold,");
|
||||
strSql.Append("high_limit_alarm_allows=@high_limit_alarm_allows,");
|
||||
strSql.Append("upper_alarm_value=@upper_alarm_value,");
|
||||
strSql.Append("lower_limit_alarm_allowed=@lower_limit_alarm_allowed,");
|
||||
strSql.Append("lower_limit_alarm_value=@lower_limit_alarm_value,");
|
||||
strSql.Append("excitation_alarm_allows=@excitation_alarm_allows,");
|
||||
strSql.Append("sensor_coefficient=@sensor_coefficient,");
|
||||
strSql.Append("empty_pipe_sampling_value=@empty_pipe_sampling_value,");
|
||||
strSql.Append("alarm_information=@alarm_information,");
|
||||
strSql.Append("current_zero_correction=@current_zero_correction,");
|
||||
strSql.Append("current_full_scale_correction=@current_full_scale_correction,");
|
||||
strSql.Append("meter_range_setting=@meter_range_setting,");
|
||||
strSql.Append("measure_damping_time=@measure_damping_time,");
|
||||
strSql.Append("flow_direction_option=@flow_direction_option,");
|
||||
strSql.Append("cumulative_heat=@cumulative_heat,");
|
||||
strSql.Append("cumulative_cooling_capacity=@cumulative_cooling_capacity,");
|
||||
strSql.Append("input_date=@input_date,");
|
||||
strSql.Append("create_time=@create_time,");
|
||||
strSql.Append("r1=@r1,");
|
||||
strSql.Append("r2=@r2,");
|
||||
strSql.Append("r3=@r3");
|
||||
strSql.Append(" where energy_id=@energy_id ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@device_id", MySqlDbType.VarChar,50),
|
||||
new MySqlParameter("@supply_water_temperature", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@return_water_temperature", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@instantaneous_delivery", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@sampling_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@cumulative_traffic", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@positive_total_flow", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@negative_total_flow", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@instant_heat", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@revised_version_number", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@lang", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@table_address", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@meter_communication_speed", MySqlDbType.Int32),
|
||||
new MySqlParameter("@modified_caliber", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@flow_unit", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@flow_integration_unit", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@zero_sample_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@meter_factor", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@heat_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@supply_water_temperature_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@return_temperature_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@small_signal_cut_off_point", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@modify_pulse_unit", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@allow_cutout_display", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@ReverseOutputAllows", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@current_output_type", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@pulse_output_mode", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@frequency_output_range", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@empty_traffic_alarm_allowed", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@empty_traffic_alarm_threshold", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@high_limit_alarm_allows", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@upper_alarm_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@lower_limit_alarm_allowed", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@lower_limit_alarm_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@excitation_alarm_allows", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@sensor_coefficient", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@empty_pipe_sampling_value", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@alarm_information", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@current_zero_correction", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@current_full_scale_correction", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@meter_range_setting", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@measure_damping_time", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@flow_direction_option", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@cumulative_heat", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@cumulative_cooling_capacity", MySqlDbType.Decimal,10),
|
||||
new MySqlParameter("@input_date", MySqlDbType.DateTime),
|
||||
new MySqlParameter("@create_time", MySqlDbType.DateTime),
|
||||
new MySqlParameter("@r1", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@r2", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@r3", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@energy_id", MySqlDbType.VarChar,50)};
|
||||
parameters[0].Value = model.device_id;
|
||||
parameters[1].Value = model.supply_water_temperature;
|
||||
parameters[2].Value = model.return_water_temperature;
|
||||
parameters[3].Value = model.instantaneous_delivery;
|
||||
parameters[4].Value = model.sampling_value;
|
||||
parameters[5].Value = model.cumulative_traffic;
|
||||
parameters[6].Value = model.positive_total_flow;
|
||||
parameters[7].Value = model.negative_total_flow;
|
||||
parameters[8].Value = model.instant_heat;
|
||||
parameters[9].Value = model.revised_version_number;
|
||||
parameters[10].Value = model.lang;
|
||||
parameters[11].Value = model.table_address;
|
||||
parameters[12].Value = model.meter_communication_speed;
|
||||
parameters[13].Value = model.modified_caliber;
|
||||
parameters[14].Value = model.flow_unit;
|
||||
parameters[15].Value = model.flow_integration_unit;
|
||||
parameters[16].Value = model.zero_sample_value;
|
||||
parameters[17].Value = model.meter_factor;
|
||||
parameters[18].Value = model.heat_coefficient;
|
||||
parameters[19].Value = model.supply_water_temperature_coefficient;
|
||||
parameters[20].Value = model.return_temperature_coefficient;
|
||||
parameters[21].Value = model.small_signal_cut_off_point;
|
||||
parameters[22].Value = model.modify_pulse_unit;
|
||||
parameters[23].Value = model.allow_cutout_display;
|
||||
parameters[24].Value = model.ReverseOutputAllows;
|
||||
parameters[25].Value = model.current_output_type;
|
||||
parameters[26].Value = model.pulse_output_mode;
|
||||
parameters[27].Value = model.frequency_output_range;
|
||||
parameters[28].Value = model.empty_traffic_alarm_allowed;
|
||||
parameters[29].Value = model.empty_traffic_alarm_threshold;
|
||||
parameters[30].Value = model.high_limit_alarm_allows;
|
||||
parameters[31].Value = model.upper_alarm_value;
|
||||
parameters[32].Value = model.lower_limit_alarm_allowed;
|
||||
parameters[33].Value = model.lower_limit_alarm_value;
|
||||
parameters[34].Value = model.excitation_alarm_allows;
|
||||
parameters[35].Value = model.sensor_coefficient;
|
||||
parameters[36].Value = model.empty_pipe_sampling_value;
|
||||
parameters[37].Value = model.alarm_information;
|
||||
parameters[38].Value = model.current_zero_correction;
|
||||
parameters[39].Value = model.current_full_scale_correction;
|
||||
parameters[40].Value = model.meter_range_setting;
|
||||
parameters[41].Value = model.measure_damping_time;
|
||||
parameters[42].Value = model.flow_direction_option;
|
||||
parameters[43].Value = model.cumulative_heat;
|
||||
parameters[44].Value = model.cumulative_cooling_capacity;
|
||||
parameters[45].Value = model.input_date;
|
||||
parameters[46].Value = model.create_time;
|
||||
parameters[47].Value = model.r1;
|
||||
parameters[48].Value = model.r2;
|
||||
parameters[49].Value = model.r3;
|
||||
parameters[50].Value = model.energy_id;
|
||||
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一条数据
|
||||
/// </summary>
|
||||
public bool Delete(string energy_id)
|
||||
{
|
||||
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete from energy_data ");
|
||||
strSql.Append(" where energy_id=@energy_id ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@energy_id", MySqlDbType.VarChar,50) };
|
||||
parameters[0].Value = energy_id;
|
||||
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 批量删除数据
|
||||
/// </summary>
|
||||
public bool DeleteList(string energy_idlist )
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete from energy_data ");
|
||||
strSql.Append(" where energy_id in ("+energy_idlist + ") ");
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString());
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体
|
||||
/// </summary>
|
||||
public DataService.Model.energy_data GetModel(string energy_id)
|
||||
{
|
||||
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select energy_id,device_id,supply_water_temperature,return_water_temperature,instantaneous_delivery,sampling_value,cumulative_traffic,positive_total_flow,negative_total_flow,instant_heat,revised_version_number,lang,table_address,meter_communication_speed,modified_caliber,flow_unit,flow_integration_unit,zero_sample_value,meter_factor,heat_coefficient,supply_water_temperature_coefficient,return_temperature_coefficient,small_signal_cut_off_point,modify_pulse_unit,allow_cutout_display,ReverseOutputAllows,current_output_type,pulse_output_mode,frequency_output_range,empty_traffic_alarm_allowed,empty_traffic_alarm_threshold,high_limit_alarm_allows,upper_alarm_value,lower_limit_alarm_allowed,lower_limit_alarm_value,excitation_alarm_allows,sensor_coefficient,empty_pipe_sampling_value,alarm_information,current_zero_correction,current_full_scale_correction,meter_range_setting,measure_damping_time,flow_direction_option,cumulative_heat,cumulative_cooling_capacity,input_date,create_time,r1,r2,r3 from energy_data ");
|
||||
strSql.Append(" where energy_id=@energy_id ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@energy_id", MySqlDbType.VarChar,50) };
|
||||
parameters[0].Value = energy_id;
|
||||
|
||||
DataService.Model.energy_data model=new DataService.Model.energy_data();
|
||||
DataSet ds=DbHelperMySQL.Query(strSql.ToString(),parameters);
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
return DataRowToModel(ds.Tables[0].Rows[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体
|
||||
/// </summary>
|
||||
public DataService.Model.energy_data DataRowToModel(DataRow row)
|
||||
{
|
||||
DataService.Model.energy_data model=new DataService.Model.energy_data();
|
||||
if (row != null)
|
||||
{
|
||||
if(row["energy_id"]!=null)
|
||||
{
|
||||
model.energy_id=row["energy_id"].ToString();
|
||||
}
|
||||
if(row["device_id"]!=null)
|
||||
{
|
||||
model.device_id=row["device_id"].ToString();
|
||||
}
|
||||
if(row["supply_water_temperature"]!=null && row["supply_water_temperature"].ToString()!="")
|
||||
{
|
||||
model.supply_water_temperature=decimal.Parse(row["supply_water_temperature"].ToString());
|
||||
}
|
||||
if(row["return_water_temperature"]!=null && row["return_water_temperature"].ToString()!="")
|
||||
{
|
||||
model.return_water_temperature=decimal.Parse(row["return_water_temperature"].ToString());
|
||||
}
|
||||
if(row["instantaneous_delivery"]!=null && row["instantaneous_delivery"].ToString()!="")
|
||||
{
|
||||
model.instantaneous_delivery=decimal.Parse(row["instantaneous_delivery"].ToString());
|
||||
}
|
||||
if(row["sampling_value"]!=null && row["sampling_value"].ToString()!="")
|
||||
{
|
||||
model.sampling_value=decimal.Parse(row["sampling_value"].ToString());
|
||||
}
|
||||
if(row["cumulative_traffic"]!=null && row["cumulative_traffic"].ToString()!="")
|
||||
{
|
||||
model.cumulative_traffic=decimal.Parse(row["cumulative_traffic"].ToString());
|
||||
}
|
||||
if(row["positive_total_flow"]!=null && row["positive_total_flow"].ToString()!="")
|
||||
{
|
||||
model.positive_total_flow=decimal.Parse(row["positive_total_flow"].ToString());
|
||||
}
|
||||
if(row["negative_total_flow"]!=null && row["negative_total_flow"].ToString()!="")
|
||||
{
|
||||
model.negative_total_flow=decimal.Parse(row["negative_total_flow"].ToString());
|
||||
}
|
||||
if(row["instant_heat"]!=null && row["instant_heat"].ToString()!="")
|
||||
{
|
||||
model.instant_heat=decimal.Parse(row["instant_heat"].ToString());
|
||||
}
|
||||
if(row["revised_version_number"]!=null)
|
||||
{
|
||||
model.revised_version_number=row["revised_version_number"].ToString();
|
||||
}
|
||||
if(row["lang"]!=null)
|
||||
{
|
||||
model.lang=row["lang"].ToString();
|
||||
}
|
||||
if(row["table_address"]!=null)
|
||||
{
|
||||
model.table_address=row["table_address"].ToString();
|
||||
}
|
||||
if(row["meter_communication_speed"]!=null && row["meter_communication_speed"].ToString()!="")
|
||||
{
|
||||
model.meter_communication_speed=int.Parse(row["meter_communication_speed"].ToString());
|
||||
}
|
||||
if(row["modified_caliber"]!=null && row["modified_caliber"].ToString()!="")
|
||||
{
|
||||
model.modified_caliber=decimal.Parse(row["modified_caliber"].ToString());
|
||||
}
|
||||
if(row["flow_unit"]!=null)
|
||||
{
|
||||
model.flow_unit=row["flow_unit"].ToString();
|
||||
}
|
||||
if(row["flow_integration_unit"]!=null)
|
||||
{
|
||||
model.flow_integration_unit=row["flow_integration_unit"].ToString();
|
||||
}
|
||||
if(row["zero_sample_value"]!=null && row["zero_sample_value"].ToString()!="")
|
||||
{
|
||||
model.zero_sample_value=decimal.Parse(row["zero_sample_value"].ToString());
|
||||
}
|
||||
if(row["meter_factor"]!=null && row["meter_factor"].ToString()!="")
|
||||
{
|
||||
model.meter_factor=decimal.Parse(row["meter_factor"].ToString());
|
||||
}
|
||||
if(row["heat_coefficient"]!=null && row["heat_coefficient"].ToString()!="")
|
||||
{
|
||||
model.heat_coefficient=decimal.Parse(row["heat_coefficient"].ToString());
|
||||
}
|
||||
if(row["supply_water_temperature_coefficient"]!=null && row["supply_water_temperature_coefficient"].ToString()!="")
|
||||
{
|
||||
model.supply_water_temperature_coefficient=decimal.Parse(row["supply_water_temperature_coefficient"].ToString());
|
||||
}
|
||||
if(row["return_temperature_coefficient"]!=null && row["return_temperature_coefficient"].ToString()!="")
|
||||
{
|
||||
model.return_temperature_coefficient=decimal.Parse(row["return_temperature_coefficient"].ToString());
|
||||
}
|
||||
if(row["small_signal_cut_off_point"]!=null && row["small_signal_cut_off_point"].ToString()!="")
|
||||
{
|
||||
model.small_signal_cut_off_point=decimal.Parse(row["small_signal_cut_off_point"].ToString());
|
||||
}
|
||||
if(row["modify_pulse_unit"]!=null && row["modify_pulse_unit"].ToString()!="")
|
||||
{
|
||||
model.modify_pulse_unit=decimal.Parse(row["modify_pulse_unit"].ToString());
|
||||
}
|
||||
if(row["allow_cutout_display"]!=null)
|
||||
{
|
||||
model.allow_cutout_display=row["allow_cutout_display"].ToString();
|
||||
}
|
||||
if(row["ReverseOutputAllows"]!=null)
|
||||
{
|
||||
model.ReverseOutputAllows=row["ReverseOutputAllows"].ToString();
|
||||
}
|
||||
if(row["current_output_type"]!=null)
|
||||
{
|
||||
model.current_output_type=row["current_output_type"].ToString();
|
||||
}
|
||||
if(row["pulse_output_mode"]!=null)
|
||||
{
|
||||
model.pulse_output_mode=row["pulse_output_mode"].ToString();
|
||||
}
|
||||
if(row["frequency_output_range"]!=null)
|
||||
{
|
||||
model.frequency_output_range=row["frequency_output_range"].ToString();
|
||||
}
|
||||
if(row["empty_traffic_alarm_allowed"]!=null)
|
||||
{
|
||||
model.empty_traffic_alarm_allowed=row["empty_traffic_alarm_allowed"].ToString();
|
||||
}
|
||||
if(row["empty_traffic_alarm_threshold"]!=null && row["empty_traffic_alarm_threshold"].ToString()!="")
|
||||
{
|
||||
model.empty_traffic_alarm_threshold=decimal.Parse(row["empty_traffic_alarm_threshold"].ToString());
|
||||
}
|
||||
if(row["high_limit_alarm_allows"]!=null)
|
||||
{
|
||||
model.high_limit_alarm_allows=row["high_limit_alarm_allows"].ToString();
|
||||
}
|
||||
if(row["upper_alarm_value"]!=null && row["upper_alarm_value"].ToString()!="")
|
||||
{
|
||||
model.upper_alarm_value=decimal.Parse(row["upper_alarm_value"].ToString());
|
||||
}
|
||||
if(row["lower_limit_alarm_allowed"]!=null)
|
||||
{
|
||||
model.lower_limit_alarm_allowed=row["lower_limit_alarm_allowed"].ToString();
|
||||
}
|
||||
if(row["lower_limit_alarm_value"]!=null && row["lower_limit_alarm_value"].ToString()!="")
|
||||
{
|
||||
model.lower_limit_alarm_value=decimal.Parse(row["lower_limit_alarm_value"].ToString());
|
||||
}
|
||||
if(row["excitation_alarm_allows"]!=null)
|
||||
{
|
||||
model.excitation_alarm_allows=row["excitation_alarm_allows"].ToString();
|
||||
}
|
||||
if(row["sensor_coefficient"]!=null && row["sensor_coefficient"].ToString()!="")
|
||||
{
|
||||
model.sensor_coefficient=decimal.Parse(row["sensor_coefficient"].ToString());
|
||||
}
|
||||
if(row["empty_pipe_sampling_value"]!=null && row["empty_pipe_sampling_value"].ToString()!="")
|
||||
{
|
||||
model.empty_pipe_sampling_value=decimal.Parse(row["empty_pipe_sampling_value"].ToString());
|
||||
}
|
||||
if(row["alarm_information"]!=null)
|
||||
{
|
||||
model.alarm_information=row["alarm_information"].ToString();
|
||||
}
|
||||
if(row["current_zero_correction"]!=null && row["current_zero_correction"].ToString()!="")
|
||||
{
|
||||
model.current_zero_correction=decimal.Parse(row["current_zero_correction"].ToString());
|
||||
}
|
||||
if(row["current_full_scale_correction"]!=null && row["current_full_scale_correction"].ToString()!="")
|
||||
{
|
||||
model.current_full_scale_correction=decimal.Parse(row["current_full_scale_correction"].ToString());
|
||||
}
|
||||
if(row["meter_range_setting"]!=null)
|
||||
{
|
||||
model.meter_range_setting=row["meter_range_setting"].ToString();
|
||||
}
|
||||
if(row["measure_damping_time"]!=null)
|
||||
{
|
||||
model.measure_damping_time=row["measure_damping_time"].ToString();
|
||||
}
|
||||
if(row["flow_direction_option"]!=null)
|
||||
{
|
||||
model.flow_direction_option=row["flow_direction_option"].ToString();
|
||||
}
|
||||
if(row["cumulative_heat"]!=null && row["cumulative_heat"].ToString()!="")
|
||||
{
|
||||
model.cumulative_heat=decimal.Parse(row["cumulative_heat"].ToString());
|
||||
}
|
||||
if(row["cumulative_cooling_capacity"]!=null && row["cumulative_cooling_capacity"].ToString()!="")
|
||||
{
|
||||
model.cumulative_cooling_capacity=decimal.Parse(row["cumulative_cooling_capacity"].ToString());
|
||||
}
|
||||
if(row["input_date"]!=null && row["input_date"].ToString()!="")
|
||||
{
|
||||
model.input_date=DateTime.Parse(row["input_date"].ToString());
|
||||
}
|
||||
if(row["create_time"]!=null && row["create_time"].ToString()!="")
|
||||
{
|
||||
model.create_time=DateTime.Parse(row["create_time"].ToString());
|
||||
}
|
||||
if(row["r1"]!=null)
|
||||
{
|
||||
model.r1=row["r1"].ToString();
|
||||
}
|
||||
if(row["r2"]!=null)
|
||||
{
|
||||
model.r2=row["r2"].ToString();
|
||||
}
|
||||
if(row["r3"]!=null)
|
||||
{
|
||||
model.r3=row["r3"].ToString();
|
||||
}
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public DataSet GetList(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select energy_id,device_id,supply_water_temperature,return_water_temperature,instantaneous_delivery,sampling_value,cumulative_traffic,positive_total_flow,negative_total_flow,instant_heat,revised_version_number,lang,table_address,meter_communication_speed,modified_caliber,flow_unit,flow_integration_unit,zero_sample_value,meter_factor,heat_coefficient,supply_water_temperature_coefficient,return_temperature_coefficient,small_signal_cut_off_point,modify_pulse_unit,allow_cutout_display,ReverseOutputAllows,current_output_type,pulse_output_mode,frequency_output_range,empty_traffic_alarm_allowed,empty_traffic_alarm_threshold,high_limit_alarm_allows,upper_alarm_value,lower_limit_alarm_allowed,lower_limit_alarm_value,excitation_alarm_allows,sensor_coefficient,empty_pipe_sampling_value,alarm_information,current_zero_correction,current_full_scale_correction,meter_range_setting,measure_damping_time,flow_direction_option,cumulative_heat,cumulative_cooling_capacity,input_date,create_time,r1,r2,r3 ");
|
||||
strSql.Append(" FROM energy_data ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return DbHelperMySQL.Query(strSql.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取记录总数
|
||||
/// </summary>
|
||||
public int GetRecordCount(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select count(1) FROM energy_data ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
object obj = DbHelperSQL.GetSingle(strSql.ToString());
|
||||
if (obj == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
return Convert.ToInt32(obj);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("SELECT * FROM ( ");
|
||||
strSql.Append(" SELECT ROW_NUMBER() OVER (");
|
||||
if (!string.IsNullOrEmpty(orderby.Trim()))
|
||||
{
|
||||
strSql.Append("order by T." + orderby );
|
||||
}
|
||||
else
|
||||
{
|
||||
strSql.Append("order by T.energy_id desc");
|
||||
}
|
||||
strSql.Append(")AS Row, T.* from energy_data T ");
|
||||
if (!string.IsNullOrEmpty(strWhere.Trim()))
|
||||
{
|
||||
strSql.Append(" WHERE " + strWhere);
|
||||
}
|
||||
strSql.Append(" ) TT");
|
||||
strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
|
||||
return DbHelperMySQL.Query(strSql.ToString());
|
||||
}
|
||||
|
||||
/*
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public DataSet GetList(int PageSize,int PageIndex,string strWhere)
|
||||
{
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@tblName", MySqlDbType.VarChar, 255),
|
||||
new MySqlParameter("@fldName", MySqlDbType.VarChar, 255),
|
||||
new MySqlParameter("@PageSize", MySqlDbType.Int32),
|
||||
new MySqlParameter("@PageIndex", MySqlDbType.Int32),
|
||||
new MySqlParameter("@IsReCount", MySqlDbType.Bit),
|
||||
new MySqlParameter("@OrderType", MySqlDbType.Bit),
|
||||
new MySqlParameter("@strWhere", MySqlDbType.VarChar,1000),
|
||||
};
|
||||
parameters[0].Value = "energy_data";
|
||||
parameters[1].Value = "energy_id";
|
||||
parameters[2].Value = PageSize;
|
||||
parameters[3].Value = PageIndex;
|
||||
parameters[4].Value = 0;
|
||||
parameters[5].Value = 0;
|
||||
parameters[6].Value = strWhere;
|
||||
return DbHelperMySQL.RunProcedure("UP_GetRecordByPage",parameters,"ds");
|
||||
}*/
|
||||
|
||||
#endregion BasicMethod
|
||||
#region ExtensionMethod
|
||||
|
||||
#endregion ExtensionMethod
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,552 @@
|
|||
/** 版本信息模板在安装目录下,可自行修改。
|
||||
* energy_data.cs
|
||||
*
|
||||
* 功 能: N/A
|
||||
* 类 名: energy_data
|
||||
*
|
||||
* Ver 变更日期 负责人 变更内容
|
||||
* ───────────────────────────────────
|
||||
* V0.01 2023/2/26 19:05:08 N/A 初版
|
||||
*
|
||||
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
|
||||
*┌──────────────────────────────────┐
|
||||
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
|
||||
*│ 版权所有:动软卓越(北京)科技有限公司 │
|
||||
*└──────────────────────────────────┘
|
||||
*/
|
||||
using System;
|
||||
namespace DataService.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// energy_data:实体类(属性说明自动提取数据库字段的描述信息)
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public partial class energy_data
|
||||
{
|
||||
public energy_data()
|
||||
{}
|
||||
#region Model
|
||||
private string _energy_id;
|
||||
private string _device_id;
|
||||
private decimal? _supply_water_temperature;
|
||||
private decimal? _return_water_temperature;
|
||||
private decimal? _instantaneous_delivery;
|
||||
private decimal? _sampling_value;
|
||||
private decimal? _cumulative_traffic;
|
||||
private decimal? _positive_total_flow;
|
||||
private decimal? _negative_total_flow;
|
||||
private decimal? _instant_heat;
|
||||
private string _revised_version_number;
|
||||
private string _lang;
|
||||
private string _table_address;
|
||||
private int? _meter_communication_speed;
|
||||
private decimal? _modified_caliber;
|
||||
private string _flow_unit;
|
||||
private string _flow_integration_unit;
|
||||
private decimal? _zero_sample_value;
|
||||
private decimal? _meter_factor;
|
||||
private decimal? _heat_coefficient;
|
||||
private decimal? _supply_water_temperature_coefficient;
|
||||
private decimal? _return_temperature_coefficient;
|
||||
private decimal? _small_signal_cut_off_point;
|
||||
private decimal? _modify_pulse_unit;
|
||||
private string _allow_cutout_display;
|
||||
private string _reverseoutputallows;
|
||||
private string _current_output_type;
|
||||
private string _pulse_output_mode;
|
||||
private string _frequency_output_range;
|
||||
private string _empty_traffic_alarm_allowed;
|
||||
private decimal? _empty_traffic_alarm_threshold;
|
||||
private string _high_limit_alarm_allows;
|
||||
private decimal? _upper_alarm_value;
|
||||
private string _lower_limit_alarm_allowed;
|
||||
private decimal? _lower_limit_alarm_value;
|
||||
private string _excitation_alarm_allows;
|
||||
private decimal? _sensor_coefficient;
|
||||
private decimal? _empty_pipe_sampling_value;
|
||||
private string _alarm_information;
|
||||
private decimal? _current_zero_correction;
|
||||
private decimal? _current_full_scale_correction;
|
||||
private string _meter_range_setting;
|
||||
private string _measure_damping_time;
|
||||
private string _flow_direction_option;
|
||||
private decimal? _cumulative_heat;
|
||||
private decimal? _cumulative_cooling_capacity;
|
||||
private DateTime? _input_date;
|
||||
private DateTime? _create_time;
|
||||
private string _r1;
|
||||
private string _r2;
|
||||
private string _r3;
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public string energy_id
|
||||
{
|
||||
set{ _energy_id=value;}
|
||||
get{return _energy_id;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 设备外键
|
||||
/// </summary>
|
||||
public string device_id
|
||||
{
|
||||
set{ _device_id=value;}
|
||||
get{return _device_id;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 供水温度
|
||||
/// </summary>
|
||||
public decimal? supply_water_temperature
|
||||
{
|
||||
set{ _supply_water_temperature=value;}
|
||||
get{return _supply_water_temperature;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 回水温度
|
||||
/// </summary>
|
||||
public decimal? return_water_temperature
|
||||
{
|
||||
set{ _return_water_temperature=value;}
|
||||
get{return _return_water_temperature;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 瞬时流量
|
||||
/// </summary>
|
||||
public decimal? instantaneous_delivery
|
||||
{
|
||||
set{ _instantaneous_delivery=value;}
|
||||
get{return _instantaneous_delivery;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 采样值
|
||||
/// </summary>
|
||||
public decimal? sampling_value
|
||||
{
|
||||
set{ _sampling_value=value;}
|
||||
get{return _sampling_value;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 累计流量
|
||||
/// </summary>
|
||||
public decimal? cumulative_traffic
|
||||
{
|
||||
set{ _cumulative_traffic=value;}
|
||||
get{return _cumulative_traffic;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 正累计流量
|
||||
/// </summary>
|
||||
public decimal? positive_total_flow
|
||||
{
|
||||
set{ _positive_total_flow=value;}
|
||||
get{return _positive_total_flow;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 负累计流量
|
||||
/// </summary>
|
||||
public decimal? negative_total_flow
|
||||
{
|
||||
set{ _negative_total_flow=value;}
|
||||
get{return _negative_total_flow;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 瞬时热量
|
||||
/// </summary>
|
||||
public decimal? instant_heat
|
||||
{
|
||||
set{ _instant_heat=value;}
|
||||
get{return _instant_heat;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 修改版本号
|
||||
/// </summary>
|
||||
public string revised_version_number
|
||||
{
|
||||
set{ _revised_version_number=value;}
|
||||
get{return _revised_version_number;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 语言
|
||||
/// </summary>
|
||||
public string lang
|
||||
{
|
||||
set{ _lang=value;}
|
||||
get{return _lang;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 表地址
|
||||
/// </summary>
|
||||
public string table_address
|
||||
{
|
||||
set{ _table_address=value;}
|
||||
get{return _table_address;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 仪表通讯速度
|
||||
/// </summary>
|
||||
public int? meter_communication_speed
|
||||
{
|
||||
set{ _meter_communication_speed=value;}
|
||||
get{return _meter_communication_speed;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 修改口径
|
||||
/// </summary>
|
||||
public decimal? modified_caliber
|
||||
{
|
||||
set{ _modified_caliber=value;}
|
||||
get{return _modified_caliber;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 流量单位
|
||||
/// </summary>
|
||||
public string flow_unit
|
||||
{
|
||||
set{ _flow_unit=value;}
|
||||
get{return _flow_unit;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 流量积算单位
|
||||
/// </summary>
|
||||
public string flow_integration_unit
|
||||
{
|
||||
set{ _flow_integration_unit=value;}
|
||||
get{return _flow_integration_unit;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 零点采样值
|
||||
/// </summary>
|
||||
public decimal? zero_sample_value
|
||||
{
|
||||
set{ _zero_sample_value=value;}
|
||||
get{return _zero_sample_value;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 仪表系数
|
||||
/// </summary>
|
||||
public decimal? meter_factor
|
||||
{
|
||||
set{ _meter_factor=value;}
|
||||
get{return _meter_factor;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 热量系数
|
||||
/// </summary>
|
||||
public decimal? heat_coefficient
|
||||
{
|
||||
set{ _heat_coefficient=value;}
|
||||
get{return _heat_coefficient;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 供水温度系数
|
||||
/// </summary>
|
||||
public decimal? supply_water_temperature_coefficient
|
||||
{
|
||||
set{ _supply_water_temperature_coefficient=value;}
|
||||
get{return _supply_water_temperature_coefficient;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 回水温度系数
|
||||
/// </summary>
|
||||
public decimal? return_temperature_coefficient
|
||||
{
|
||||
set{ _return_temperature_coefficient=value;}
|
||||
get{return _return_temperature_coefficient;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 小信号切除点
|
||||
/// </summary>
|
||||
public decimal? small_signal_cut_off_point
|
||||
{
|
||||
set{ _small_signal_cut_off_point=value;}
|
||||
get{return _small_signal_cut_off_point;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 修改脉冲单位
|
||||
/// </summary>
|
||||
public decimal? modify_pulse_unit
|
||||
{
|
||||
set{ _modify_pulse_unit=value;}
|
||||
get{return _modify_pulse_unit;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 允许切除显示
|
||||
/// </summary>
|
||||
public string allow_cutout_display
|
||||
{
|
||||
set{ _allow_cutout_display=value;}
|
||||
get{return _allow_cutout_display;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 反向输出允许
|
||||
/// </summary>
|
||||
public string ReverseOutputAllows
|
||||
{
|
||||
set{ _reverseoutputallows=value;}
|
||||
get{return _reverseoutputallows;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 电流输出类型
|
||||
/// </summary>
|
||||
public string current_output_type
|
||||
{
|
||||
set{ _current_output_type=value;}
|
||||
get{return _current_output_type;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 脉冲输出方式
|
||||
/// </summary>
|
||||
public string pulse_output_mode
|
||||
{
|
||||
set{ _pulse_output_mode=value;}
|
||||
get{return _pulse_output_mode;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 频率输出范围
|
||||
/// </summary>
|
||||
public string frequency_output_range
|
||||
{
|
||||
set{ _frequency_output_range=value;}
|
||||
get{return _frequency_output_range;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 空管报警允许
|
||||
/// </summary>
|
||||
public string empty_traffic_alarm_allowed
|
||||
{
|
||||
set{ _empty_traffic_alarm_allowed=value;}
|
||||
get{return _empty_traffic_alarm_allowed;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 空管报警阈值
|
||||
/// </summary>
|
||||
public decimal? empty_traffic_alarm_threshold
|
||||
{
|
||||
set{ _empty_traffic_alarm_threshold=value;}
|
||||
get{return _empty_traffic_alarm_threshold;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 上限报警允许
|
||||
/// </summary>
|
||||
public string high_limit_alarm_allows
|
||||
{
|
||||
set{ _high_limit_alarm_allows=value;}
|
||||
get{return _high_limit_alarm_allows;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 上限报警数值
|
||||
/// </summary>
|
||||
public decimal? upper_alarm_value
|
||||
{
|
||||
set{ _upper_alarm_value=value;}
|
||||
get{return _upper_alarm_value;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 下限报警允许
|
||||
/// </summary>
|
||||
public string lower_limit_alarm_allowed
|
||||
{
|
||||
set{ _lower_limit_alarm_allowed=value;}
|
||||
get{return _lower_limit_alarm_allowed;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 下限报警数值
|
||||
/// </summary>
|
||||
public decimal? lower_limit_alarm_value
|
||||
{
|
||||
set{ _lower_limit_alarm_value=value;}
|
||||
get{return _lower_limit_alarm_value;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 励磁报警允许
|
||||
/// </summary>
|
||||
public string excitation_alarm_allows
|
||||
{
|
||||
set{ _excitation_alarm_allows=value;}
|
||||
get{return _excitation_alarm_allows;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 传感器系数
|
||||
/// </summary>
|
||||
public decimal? sensor_coefficient
|
||||
{
|
||||
set{ _sensor_coefficient=value;}
|
||||
get{return _sensor_coefficient;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 空管采样值
|
||||
/// </summary>
|
||||
public decimal? empty_pipe_sampling_value
|
||||
{
|
||||
set{ _empty_pipe_sampling_value=value;}
|
||||
get{return _empty_pipe_sampling_value;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 报警信息
|
||||
/// </summary>
|
||||
public string alarm_information
|
||||
{
|
||||
set{ _alarm_information=value;}
|
||||
get{return _alarm_information;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 电流零点修正
|
||||
/// </summary>
|
||||
public decimal? current_zero_correction
|
||||
{
|
||||
set{ _current_zero_correction=value;}
|
||||
get{return _current_zero_correction;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 电流满度修正
|
||||
/// </summary>
|
||||
public decimal? current_full_scale_correction
|
||||
{
|
||||
set{ _current_full_scale_correction=value;}
|
||||
get{return _current_full_scale_correction;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 仪表量程设置
|
||||
/// </summary>
|
||||
public string meter_range_setting
|
||||
{
|
||||
set{ _meter_range_setting=value;}
|
||||
get{return _meter_range_setting;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 测量阻尼时间
|
||||
/// </summary>
|
||||
public string measure_damping_time
|
||||
{
|
||||
set{ _measure_damping_time=value;}
|
||||
get{return _measure_damping_time;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 流量方向选择项
|
||||
/// </summary>
|
||||
public string flow_direction_option
|
||||
{
|
||||
set{ _flow_direction_option=value;}
|
||||
get{return _flow_direction_option;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 累计热量
|
||||
/// </summary>
|
||||
public decimal? cumulative_heat
|
||||
{
|
||||
set{ _cumulative_heat=value;}
|
||||
get{return _cumulative_heat;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 累计冷量
|
||||
/// </summary>
|
||||
public decimal? cumulative_cooling_capacity
|
||||
{
|
||||
set{ _cumulative_cooling_capacity=value;}
|
||||
get{return _cumulative_cooling_capacity;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 录入日期
|
||||
/// </summary>
|
||||
public DateTime? input_date
|
||||
{
|
||||
set{ _input_date=value;}
|
||||
get{return _input_date;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time
|
||||
{
|
||||
set{ _create_time=value;}
|
||||
get{return _create_time;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 备用1
|
||||
/// </summary>
|
||||
public string r1
|
||||
{
|
||||
set{ _r1=value;}
|
||||
get{return _r1;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 备用2
|
||||
/// </summary>
|
||||
public string r2
|
||||
{
|
||||
set{ _r2=value;}
|
||||
get{return _r2;}
|
||||
}
|
||||
/// <summary>
|
||||
/// 备用3
|
||||
/// </summary>
|
||||
public string r3
|
||||
{
|
||||
set{ _r3=value;}
|
||||
get{return _r3;}
|
||||
}
|
||||
#endregion Model
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 正累计流量整数
|
||||
/// </summary>
|
||||
public string positive_total_flowA { get { return positive_total_flowA1; } set { positive_total_flowA1 = value; } }
|
||||
public static string positive_total_flowA1 = "";
|
||||
/// <summary>
|
||||
/// 正累计流量小数
|
||||
/// </summary>
|
||||
public string positive_total_flowB { get { return positive_total_flowB1; } set { positive_total_flowB1 = value; } }
|
||||
public static string positive_total_flowB1 = "";
|
||||
|
||||
/// <summary>
|
||||
/// 累计流量整数
|
||||
/// </summary>
|
||||
public string cumulative_trafficA { get { return cumulative_trafficA1; } set { cumulative_trafficA1 = value; } }
|
||||
public static string cumulative_trafficA1 = "";
|
||||
/// <summary>
|
||||
/// 累计流量小数
|
||||
/// </summary>
|
||||
public string cumulative_trafficB { get { return cumulative_trafficB1; } set { cumulative_trafficB1 = value; } }
|
||||
public static string cumulative_trafficB1 = "";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 负累计流量整数
|
||||
/// </summary>
|
||||
public string negative_total_flowA { get { return negative_total_flowA1; } set { negative_total_flowA1 = value; } }
|
||||
public static string negative_total_flowA1 = "";
|
||||
/// <summary>
|
||||
/// 负累计流量小数
|
||||
/// </summary>
|
||||
public string negative_total_flowB { get { return negative_total_flowB1; } set { negative_total_flowB1 = value; } }
|
||||
public static string negative_total_flowB1 = "";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 累计热量整数
|
||||
/// </summary>
|
||||
public string cumulative_heatA { get { return cumulative_heatA1; } set { cumulative_heatA1= value; } }
|
||||
public static string cumulative_heatA1 = "";
|
||||
/// <summary>
|
||||
/// 累计热量小数
|
||||
/// </summary>
|
||||
public string cumulative_heatB { get { return cumulative_heatB1; } set { cumulative_heatB1 = value; } }
|
||||
public static string cumulative_heatB1 = "";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 累计冷量整数
|
||||
/// </summary>
|
||||
public string cumulative_cooling_capacityA { get { return cumulative_cooling_capacityA1; } set { cumulative_cooling_capacityA1 = value; } }
|
||||
public static string cumulative_cooling_capacityA1 = "";
|
||||
/// <summary>
|
||||
/// 累计冷量小数
|
||||
/// </summary>
|
||||
public string cumulative_cooling_capacityB { get { return cumulative_cooling_capacityB1; } set { cumulative_cooling_capacityB1 = value; } }
|
||||
public static string cumulative_cooling_capacityB1 = "";
|
||||
}
|
||||
}
|
||||
|
|
@ -1,13 +1,17 @@
|
|||
using CRClib;
|
||||
using DataService.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Xml.Linq;
|
||||
using ToolKitlib;
|
||||
|
||||
|
||||
namespace NengLiang
|
||||
{
|
||||
internal class NengLiang
|
||||
|
@ -38,7 +42,7 @@ namespace NengLiang
|
|||
/// <summary>
|
||||
/// 当前请求数据类型
|
||||
/// </summary>
|
||||
public static ushort index_id ;
|
||||
public static ushort index_id;
|
||||
/// <summary>
|
||||
/// 报文发送间隔时间
|
||||
/// </summary>
|
||||
|
@ -136,22 +140,28 @@ namespace NengLiang
|
|||
Console.WriteLine("发送报文time " + T + " 毫秒,loop间隔 " + loopTime + " 秒");
|
||||
byte devAdd = 0x01;
|
||||
byte code = 0x03;
|
||||
ushort start = (ushort)0;
|
||||
ushort length = (0x0033);
|
||||
byte[] bytes;// 发送字节
|
||||
|
||||
foreach (var v in OnLineDic.Values)
|
||||
{
|
||||
foreach (var item in RegisterType.Keys)
|
||||
{
|
||||
if (T >= 0) { Thread.Sleep(T); }
|
||||
else continue;
|
||||
ushort start = (ushort)item;
|
||||
ushort length = ushort.Parse(RegisterType[item][3].ToString());
|
||||
bytes = ReadKsepRsgistecs(devAdd, code, start, length);
|
||||
log.Info("发送至" + v.RemoteEndPoint + ": " + ToolKit.byteArrayToHexString(bytes));
|
||||
//Console.WriteLine(ToolKit.byteArrayToHexString(bytes));
|
||||
v.Send(bytes);
|
||||
index_id = start;//记录当前请求数据 地址码
|
||||
}
|
||||
Thread.Sleep(T);
|
||||
bytes = ReadKsepRsgistecs(devAdd, code, start, length);
|
||||
log.Info("发送至" + v.RemoteEndPoint + ": " + ToolKit.byteArrayToHexString(bytes));
|
||||
v.Send(bytes);
|
||||
//foreach (var item in RegisterType.Keys)
|
||||
//{
|
||||
// if (T >= 0) { Thread.Sleep(T); }
|
||||
// else continue;
|
||||
// ushort start = (ushort)item;
|
||||
// ushort length = ushort.Parse(RegisterType[item][3].ToString());
|
||||
// bytes = ReadKsepRsgistecs(devAdd, code, start, length);
|
||||
// log.Info("发送至" + v.RemoteEndPoint + ": " + ToolKit.byteArrayToHexString(bytes));
|
||||
// //Console.WriteLine(ToolKit.byteArrayToHexString(bytes));
|
||||
// v.Send(bytes);
|
||||
// index_id = start;//记录当前请求数据 地址码
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -167,7 +177,8 @@ namespace NengLiang
|
|||
//var ip = "172.17.0.9";
|
||||
//var port = 12303;
|
||||
|
||||
var ip = "192.168.57.38";
|
||||
//var ip = "127.0.0.1";
|
||||
var ip = "10.16.56.3";
|
||||
var port = 8234;
|
||||
|
||||
//调用socket(函数创建一个用于通信的套接字。
|
||||
|
@ -288,6 +299,14 @@ namespace NengLiang
|
|||
string _message = ToolKit.byteArrayToHexString(bytes, length);//带空格报文
|
||||
string message = _message.Replace(" ", "");//不带空格报文
|
||||
|
||||
//var message = _message.Split(' ');//不带空格报文
|
||||
//List<byte> lines = new List<byte>();
|
||||
//for (int i = 0; i < message.Length; i++)
|
||||
//{
|
||||
// lines.Add((byte)Convert.ToInt16(message[i], 16));
|
||||
//}
|
||||
//byte[] messageBytes = ToolKit.listToBytes(lines);
|
||||
|
||||
|
||||
//CRC校验--失败返回不解析
|
||||
builder_shuju.Clear();
|
||||
|
@ -308,9 +327,12 @@ namespace NengLiang
|
|||
else
|
||||
{
|
||||
//执行解析
|
||||
log.Info("接收到" + clientSocket.RemoteEndPoint + ": " + _message);
|
||||
JudgmentFunction(message);
|
||||
log.Info("接收自" + clientSocket.RemoteEndPoint + ": " + _message);
|
||||
JudgmentFunction(bytes);
|
||||
}
|
||||
////执行解析
|
||||
//log.Info("接收自" + clientSocket.RemoteEndPoint + ": " + _message);
|
||||
//JudgmentFunction(bytes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -352,21 +374,18 @@ namespace NengLiang
|
|||
/// 判断功能类型
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
public static void JudgmentFunction(string message)
|
||||
public static void JudgmentFunction(/*string message*/byte[] message)
|
||||
{
|
||||
try
|
||||
{
|
||||
string order = message[2].ToString() + message[3].ToString();//命令
|
||||
//tring order = message[2].ToString() + message[3].ToString();//命令
|
||||
var order = message[1];//命令
|
||||
|
||||
var key = (int)index_id;//获取 地址码
|
||||
if (order == "03")//读取命令
|
||||
//var key = (int)index_id;//获取 地址码
|
||||
if (order == 0x03)//读取命令
|
||||
{
|
||||
if (!RegisterType.ContainsKey(key) || RegisterType[key][2][1] == 'n') return;
|
||||
readData(message, key);
|
||||
}
|
||||
else if (order == "10") //修改命令
|
||||
{
|
||||
if (!RegisterType.ContainsKey(key) || RegisterType[key][2][0] == 'n') return;
|
||||
//if (!RegisterType.ContainsKey(key) || RegisterType[key][2][1] == 'n') return;
|
||||
readData(message);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
@ -417,209 +436,378 @@ namespace NengLiang
|
|||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <param name="key">地址码</param>
|
||||
public static void readData(string message, int key)
|
||||
public static void readData(byte[] message)
|
||||
{
|
||||
energy_data energy_Data = new energy_data();
|
||||
try
|
||||
{
|
||||
string _readSum = message[4].ToString() + message[5].ToString();
|
||||
int readSum = int.Parse(ToolKit.hexStr2Str(_readSum));//变量总字节数
|
||||
StringBuilder builder = new StringBuilder("");
|
||||
for (int i = 6; i < 6 + readSum * 2; i++)
|
||||
int a = 3; //message[3]开始
|
||||
List<byte> by = new List<byte>();
|
||||
var _readSum = message[2];
|
||||
int readSum = (int)message[2];//变量总字节数
|
||||
foreach (var item in RegisterType.Keys)
|
||||
{
|
||||
builder.Append(message[i]);
|
||||
for (int i = a; i < a + int.Parse(RegisterType[item][3])*2; i++)
|
||||
{
|
||||
by.Add(message[i]);
|
||||
}
|
||||
a += by.Count;
|
||||
byte[] data = ToolKit.listToBytes(by);//每组数值
|
||||
string H16 = ToolKit.byteArrayToHexString(data).Replace(" ", "");
|
||||
var num = Convert.ToInt64(H16, 16);//获取值
|
||||
var aa = RegisterType[item][1].ToLower();
|
||||
if (aa == "ulong")
|
||||
{
|
||||
var number = (ulong)num;
|
||||
analysisUlong(RegisterType[item][0], number, energy_Data);
|
||||
}
|
||||
else
|
||||
{
|
||||
var number = (uint)num;
|
||||
analysisUnit(RegisterType[item][0], number, energy_Data);
|
||||
}
|
||||
by.Clear();
|
||||
}
|
||||
var num = Convert.ToInt64(builder.ToString().Trim(), 16);//获取值
|
||||
var aa = RegisterType[key][1].ToLower();
|
||||
if (aa == "ulong")
|
||||
//energy_data对象取值完毕
|
||||
try
|
||||
{
|
||||
var number = (ulong)num;
|
||||
analysisUnit(RegisterType[key][0], number);
|
||||
energy_Data.positive_total_flow = Convert.ToDecimal(energy_Data.positive_total_flowA + "." + energy_Data.positive_total_flowB);
|
||||
energy_Data.cumulative_traffic = Convert.ToDecimal(energy_Data.cumulative_trafficA + "." + energy_Data.cumulative_trafficB);
|
||||
energy_Data.negative_total_flow = Convert.ToDecimal(energy_Data.negative_total_flowA + "." + energy_Data.negative_total_flowB);
|
||||
energy_Data.cumulative_heat = Convert.ToDecimal(energy_Data.cumulative_heatA + "." + energy_Data.cumulative_heatB);
|
||||
energy_Data.cumulative_cooling_capacity = Convert.ToDecimal(energy_Data.cumulative_cooling_capacityA + "." + energy_Data.cumulative_cooling_capacityB);
|
||||
energy_Data.energy_id = Guid.NewGuid().ToString("N");
|
||||
energy_Data.input_date = DateTime.Now;
|
||||
energy_Data.create_time = DateTime.Now;
|
||||
DataService.BLL.energy_data edb = new DataService.BLL.energy_data();
|
||||
edb.Add(energy_Data);
|
||||
Console.WriteLine("插入数据库成功!");
|
||||
}
|
||||
else
|
||||
catch(Exception ex)
|
||||
{
|
||||
var number = (uint)num;
|
||||
analysisUnit(RegisterType[key][0], number);
|
||||
Console.WriteLine("插入数据库失败!");
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
Console.WriteLine("读取命令异常:" + e.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// unit值类型解析
|
||||
/// </summary>
|
||||
/// <param name="name">变量名</param>
|
||||
/// <param name="number"></param>
|
||||
public static void analysisUnit(string name, uint number)
|
||||
public static void analysisUnit(string name, uint number, energy_data ed)
|
||||
{
|
||||
|
||||
if (name == "供水温度")
|
||||
{
|
||||
number /= 100;
|
||||
Console.WriteLine(name + ":" + number + "℃");
|
||||
ed.supply_water_temperature = number;
|
||||
}
|
||||
else if (name == "回水温度")
|
||||
{
|
||||
number /= 100;
|
||||
Console.WriteLine(name + ":" + number + "℃");
|
||||
ed.return_water_temperature = number;
|
||||
}
|
||||
else if (name == "采样值")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.sampling_value = number;
|
||||
}
|
||||
else if (name == "累计流量小数")
|
||||
{
|
||||
Console.WriteLine(name + ":0." + number);
|
||||
ed.cumulative_trafficB = number.ToString();
|
||||
}
|
||||
else if (name == "正累计流量小数")
|
||||
{
|
||||
Console.WriteLine(name + ":0." + number);
|
||||
ed.positive_total_flowB = number.ToString();
|
||||
}
|
||||
else if (name == "负累计流量小数")
|
||||
{
|
||||
Console.WriteLine(name + ":0." + number);
|
||||
ed.negative_total_flowB = number.ToString();
|
||||
}
|
||||
else if (name == "修改版本号")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.revised_version_number = number.ToString();
|
||||
}
|
||||
else if (name == "语言")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":中文");
|
||||
else if (number == 1) Console.WriteLine(name + ":英文");
|
||||
if (number == 0) { Console.WriteLine(name + ":中文"); ed.lang = "中文"; }
|
||||
else if (number == 1) { Console.WriteLine(name + ":英文"); ed.lang = "英文"; }
|
||||
}
|
||||
else if (name == "表地址")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.table_address = number.ToString();
|
||||
}
|
||||
else if (name == "仪表通讯速度")
|
||||
{
|
||||
//float TRAS;//3.5字符周期周期时间(单位ms)
|
||||
if (number == 0) { Console.WriteLine(name + ":300"); /*TRAS = 1000 / 300 * 12.5f;*/ TRAS = 3.5f * 9 / 0.3f; }
|
||||
else if (number == 1) { Console.WriteLine(name + ":2400"); /*TRAS = 1000 / 2400 * 12.5f;*/ TRAS = 3.5f * 9 / 2.4f; }
|
||||
else if (number == 2) { Console.WriteLine(name + ":14400"); /*TRAS = 1000 / 14400 * 12.5f; */TRAS = 3.5f * 9 / 14.4f; }
|
||||
else if (number == 3) { Console.WriteLine(name + ":600"); /*TRAS = 1000 / 600 * 12.5f; */TRAS = 3.5f * 9 / 0.6f; }
|
||||
else if (number == 4) { Console.WriteLine(name + ":4800");/* TRAS = 1000 / 4800 * 12.5f;*/ TRAS = 3.5f * 9 / 4.8f; }
|
||||
else if (number == 5) { Console.WriteLine(name + ":19200"); /*TRAS = 1000 / 19200 * 12.5f;*/ TRAS = 3.5f * 9 / 19.2f; }
|
||||
else if (number == 6) { Console.WriteLine(name + ":1200"); /*TRAS = 1000 / 1200 * 12.5f; */TRAS = 3.5f * 9 / 1.2f; }
|
||||
else if (number == 7) { Console.WriteLine(name + ":9600"); /*TRAS = 1000 / 9600 * 12.5f;*/ TRAS = 3.5f * 9 / 9.6f; }
|
||||
else if (number == 8) { Console.WriteLine(name + ":38400"); /*TRAS = 1000 / 38400 * 12.5f;*/ TRAS = 3.5f * 9 / 38.4f; }
|
||||
if (number == 0) { Console.WriteLine(name + ":300"); ed.meter_communication_speed = 300;/*TRAS = 1000 / 300 * 12.5f;*/ TRAS = 3.5f * 9 / 0.3f; }
|
||||
else if (number == 1) { Console.WriteLine(name + ":2400"); ed.meter_communication_speed = 2400;/*TRAS = 1000 / 2400 * 12.5f;*/ TRAS = 3.5f * 9 / 2.4f; }
|
||||
else if (number == 2) { Console.WriteLine(name + ":14400"); ed.meter_communication_speed = 14400; /*TRAS = 1000 / 14400 * 12.5f; */TRAS = 3.5f * 9 / 14.4f; }
|
||||
else if (number == 3) { Console.WriteLine(name + ":600"); ed.meter_communication_speed = 600; /*TRAS = 1000 / 600 * 12.5f; */TRAS = 3.5f * 9 / 0.6f; }
|
||||
else if (number == 4) { Console.WriteLine(name + ":4800"); ed.meter_communication_speed = 4800;/* TRAS = 1000 / 4800 * 12.5f;*/ TRAS = 3.5f * 9 / 4.8f; }
|
||||
else if (number == 5) { Console.WriteLine(name + ":19200"); ed.meter_communication_speed = 19200;/*TRAS = 1000 / 19200 * 12.5f;*/ TRAS = 3.5f * 9 / 19.2f; }
|
||||
else if (number == 6) { Console.WriteLine(name + ":1200"); ed.meter_communication_speed = 1200;/*TRAS = 1000 / 1200 * 12.5f; */TRAS = 3.5f * 9 / 1.2f; }
|
||||
else if (number == 7) { Console.WriteLine(name + ":9600"); ed.meter_communication_speed = 9600;/*TRAS = 1000 / 9600 * 12.5f;*/ TRAS = 3.5f * 9 / 9.6f; }
|
||||
else if (number == 8) { Console.WriteLine(name + ":38400"); ed.meter_communication_speed = 38400;/*TRAS = 1000 / 38400 * 12.5f;*/ TRAS = 3.5f * 9 / 38.4f; }
|
||||
|
||||
}
|
||||
else if (name == "修改口径")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.modified_caliber = number;
|
||||
}
|
||||
else if (name == "流量单位")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":L/H");
|
||||
else if (number == 1) Console.WriteLine(name + ":L/M");
|
||||
else if (number == 2) Console.WriteLine(name + ":L/S");
|
||||
else if (number == 3) Console.WriteLine(name + ":M³/H");
|
||||
else if (number == 4) Console.WriteLine(name + ":M³/M");
|
||||
else if (number == 5) Console.WriteLine(name + ":M³/S");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":L/H");
|
||||
ed.flow_unit = "L/H";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":L/M");
|
||||
ed.flow_unit = "L/M";
|
||||
}
|
||||
else if (number == 2)
|
||||
{
|
||||
Console.WriteLine(name + ":L/S");
|
||||
ed.flow_unit = "L/S";
|
||||
}
|
||||
else if (number == 3)
|
||||
{
|
||||
Console.WriteLine(name + ":M³/H");
|
||||
ed.flow_unit = "M³/H";
|
||||
}
|
||||
else if (number == 4)
|
||||
{
|
||||
Console.WriteLine(name + ":M³/M");
|
||||
ed.flow_unit = "M³/M";
|
||||
}
|
||||
else if (number == 5)
|
||||
{
|
||||
Console.WriteLine(name + ":M³/S");
|
||||
ed.flow_unit = "M³/S";
|
||||
}
|
||||
}
|
||||
else if (name == "流量积算单位")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":0.001L");
|
||||
else if (number == 1) Console.WriteLine(name + ":0.001M³");
|
||||
else if (number == 2) Console.WriteLine(name + ":0.01L");
|
||||
else if (number == 3) Console.WriteLine(name + ":0.1L");
|
||||
else if (number == 4) Console.WriteLine(name + ":1L");
|
||||
else if (number == 5) Console.WriteLine(name + ":0.01M³");
|
||||
else if (number == 6) Console.WriteLine(name + ":0.1M³");
|
||||
else if (number == 7) Console.WriteLine(name + ":1M³");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":0.001L");
|
||||
ed.flow_integration_unit = "0.001L";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":0.001M³");
|
||||
ed.flow_integration_unit = "0.001M³";
|
||||
}
|
||||
else if (number == 2)
|
||||
{
|
||||
Console.WriteLine(name + ":0.01L");
|
||||
ed.flow_integration_unit = "0.01L";
|
||||
}
|
||||
else if (number == 3)
|
||||
{
|
||||
Console.WriteLine(name + ":0.1L");
|
||||
ed.flow_integration_unit = "0.1L";
|
||||
}
|
||||
else if (number == 4)
|
||||
{
|
||||
Console.WriteLine(name + ":1L");
|
||||
ed.flow_integration_unit = "1L";
|
||||
}
|
||||
else if (number == 5)
|
||||
{
|
||||
Console.WriteLine(name + ":0.01M³");
|
||||
ed.flow_integration_unit = "0.01M³";
|
||||
}
|
||||
else if (number == 6)
|
||||
{
|
||||
Console.WriteLine(name + ":0.1M³");
|
||||
ed.flow_integration_unit = "0.1M³";
|
||||
}
|
||||
else if (number == 7)
|
||||
{
|
||||
Console.WriteLine(name + ":1M³");
|
||||
ed.flow_integration_unit = "1M³";
|
||||
}
|
||||
}
|
||||
else if (name == "零点采样值")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.zero_sample_value = number;
|
||||
}
|
||||
else if (name == "仪表系数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.meter_factor = number;
|
||||
}
|
||||
else if (name == "热量系数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.heat_coefficient = number;
|
||||
}
|
||||
else if (name == "供水温度系数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.supply_water_temperature_coefficient = number;
|
||||
}
|
||||
else if (name == "回水温度系数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.return_temperature_coefficient = number;
|
||||
}
|
||||
else if (name == "小信号切除点")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.small_signal_cut_off_point = number;
|
||||
}
|
||||
else if (name == "修改脉冲单位")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.modify_pulse_unit = number;
|
||||
}
|
||||
else if (name == "允许切除显示")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":允许");
|
||||
else if (number == 1) Console.WriteLine(name + ":禁止");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":允许");
|
||||
ed.allow_cutout_display = "允许";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":禁止");
|
||||
ed.allow_cutout_display = "禁止";
|
||||
}
|
||||
}
|
||||
else if (name == "反向输出允许")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":允许");
|
||||
else if (number == 1) Console.WriteLine(name + ":禁止");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":允许");
|
||||
ed.ReverseOutputAllows = "允许";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":禁止");
|
||||
ed.ReverseOutputAllows = "禁止";
|
||||
}
|
||||
}
|
||||
else if (name == "电流输出类型")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":0~10mA");
|
||||
else if (number == 1) Console.WriteLine(name + ":4~20mA");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":0~10mA");
|
||||
ed.current_output_type = "0~10mA";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":4~20mA");
|
||||
ed.current_output_type = "4~20mA";
|
||||
}
|
||||
}
|
||||
else if (name == "脉冲输出方式")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":频率");
|
||||
else if (number == 1) Console.WriteLine(name + ":脉冲");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":频率");
|
||||
ed.pulse_output_mode = "频率";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":脉冲");
|
||||
ed.pulse_output_mode = "脉冲";
|
||||
}
|
||||
}
|
||||
else if (name == "频率输出范围")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.frequency_output_range = number.ToString();
|
||||
}
|
||||
else if (name == "空管报警允许")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":允许");
|
||||
else if (number == 1) Console.WriteLine(name + ":禁止");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":允许");
|
||||
ed.empty_traffic_alarm_allowed = "允许";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":禁止");
|
||||
ed.empty_traffic_alarm_allowed = "禁止";
|
||||
}
|
||||
}
|
||||
else if (name == "空管报警阈值")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.empty_traffic_alarm_threshold = number;
|
||||
}
|
||||
else if (name == "上限报警允许")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":允许");
|
||||
else if (number == 1) Console.WriteLine(name + ":禁止");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":允许");
|
||||
ed.high_limit_alarm_allows = "允许";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":禁止");
|
||||
ed.high_limit_alarm_allows = "禁止";
|
||||
}
|
||||
}
|
||||
else if (name == "上限报警数值")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.upper_alarm_value = number;
|
||||
}
|
||||
else if (name == "下限报警允许")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":允许");
|
||||
else if (number == 1) Console.WriteLine(name + ":禁止");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":允许");
|
||||
ed.lower_limit_alarm_allowed = "允许";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":禁止");
|
||||
ed.lower_limit_alarm_allowed = "禁止";
|
||||
}
|
||||
}
|
||||
else if (name == "下限报警数值")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.lower_limit_alarm_value = number;
|
||||
}
|
||||
else if (name == "励磁报警允许")
|
||||
{
|
||||
if (number == 0) Console.WriteLine(name + ":允许");
|
||||
else if (number == 1) Console.WriteLine(name + ":禁止");
|
||||
if (number == 0)
|
||||
{
|
||||
Console.WriteLine(name + ":允许");
|
||||
ed.excitation_alarm_allows = "允许";
|
||||
}
|
||||
else if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":禁止");
|
||||
ed.excitation_alarm_allows = "禁止";
|
||||
}
|
||||
}
|
||||
else if (name == "传感器系数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.sensor_coefficient = number;
|
||||
}
|
||||
else if (name == "预留")
|
||||
{
|
||||
|
@ -628,41 +816,65 @@ namespace NengLiang
|
|||
else if (name == "空管采样值")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.empty_pipe_sampling_value = number;
|
||||
}
|
||||
else if (name == "报警信息")
|
||||
{
|
||||
if (number == 1) Console.WriteLine(name + ":瞬时流量单位选择错误");
|
||||
else if (number == 2) Console.WriteLine(name + ":空管");
|
||||
else if (number == 4) Console.WriteLine(name + ":下限报警");
|
||||
else if (number == 8) Console.WriteLine(name + ":上限报警");
|
||||
if (number == 1)
|
||||
{
|
||||
Console.WriteLine(name + ":瞬时流量单位选择错误");
|
||||
ed.alarm_information = "瞬时流量单位选择错误";
|
||||
}
|
||||
else if (number == 2)
|
||||
{
|
||||
Console.WriteLine(name + ":空管");
|
||||
ed.alarm_information = "空管";
|
||||
}
|
||||
else if (number == 4)
|
||||
{
|
||||
Console.WriteLine(name + ":下限报警");
|
||||
ed.alarm_information = "下限报警";
|
||||
}
|
||||
else if (number == 8)
|
||||
{
|
||||
Console.WriteLine(name + ":上限报警");
|
||||
ed.alarm_information = "上限报警";
|
||||
}
|
||||
}
|
||||
else if (name == "电流零点修正")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.current_zero_correction = number;
|
||||
}
|
||||
else if (name == "电流满度修正")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.current_full_scale_correction = number;
|
||||
}
|
||||
else if (name == "仪表量程设置")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.meter_range_setting = number.ToString();
|
||||
}
|
||||
else if (name == "测量阻尼时间")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.measure_damping_time = number.ToString();
|
||||
}
|
||||
else if (name == "流量方向选择项")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.flow_direction_option = number.ToString();
|
||||
}
|
||||
else if (name == "累计热量小数")
|
||||
{
|
||||
Console.WriteLine(name + ":0." + number);
|
||||
ed.cumulative_heatB = number.ToString();
|
||||
}
|
||||
else if (name == "累计冷量小数")
|
||||
{
|
||||
Console.WriteLine(name + ":0." + number);
|
||||
ed.cumulative_cooling_capacityB = number.ToString();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -672,36 +884,43 @@ namespace NengLiang
|
|||
/// </summary>
|
||||
/// <param name="name">变量名</param>
|
||||
/// <param name="number"></param>
|
||||
public static void analysisUnit(string name, ulong number)
|
||||
public static void analysisUlong(string name, ulong number, energy_data ed)
|
||||
{
|
||||
if (name == "瞬时流量")
|
||||
{
|
||||
number /= 1000;//此值单位为升 / 小时,需要除以 1000 得到立方米 / 小时
|
||||
Console.WriteLine(name + ":" + number + "m³/h");
|
||||
ed.instantaneous_delivery = number;
|
||||
}
|
||||
else if (name == "累计流量整数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.cumulative_trafficA = number.ToString();
|
||||
}
|
||||
else if (name == "正累计流量整数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.positive_total_flowA = number.ToString();
|
||||
}
|
||||
else if (name == "负累计流量整数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.negative_total_flowA = number.ToString();
|
||||
}
|
||||
else if (name == "瞬时热量")//单位为 KJ/h(千焦每小时),若想得到 MJ/h 则需要除以 1000;换算成 KWh/h 需要除以 3600,
|
||||
{
|
||||
Console.WriteLine(name + ":" + number + "KJ/h");
|
||||
ed.instant_heat = number;
|
||||
}
|
||||
else if (name == "累计热量整数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.cumulative_heatA = number.ToString();
|
||||
}
|
||||
else if (name == "累计冷量整数")
|
||||
{
|
||||
Console.WriteLine(name + ":" + number);
|
||||
ed.cumulative_cooling_capacityA = number.ToString();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -8,10 +8,27 @@
|
|||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>NengLiang</RootNamespace>
|
||||
<AssemblyName>NengLiangBiao</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<PublishUrl>D:\123\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
|
@ -44,10 +61,28 @@
|
|||
<PropertyGroup>
|
||||
<ApplicationIcon>木片驱动器服务器.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestCertificateThumbprint>7125DECF2C94930098691151108341EF89449FEA</ManifestCertificateThumbprint>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestKeyFile>NengLiang_TemporaryKey.pfx</ManifestKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignManifests>true</SignManifests>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
|
||||
<HintPath>packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Maticsoft.Common">
|
||||
<HintPath>packages\Maticsoft.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Maticsoft.DBUtility">
|
||||
<HintPath>packages\Maticsoft.DBUtility.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data">
|
||||
<HintPath>packages\MySql.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
|
@ -58,18 +93,34 @@
|
|||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BLL\energy_data.cs" />
|
||||
<Compile Include="CRC.cs" />
|
||||
<Compile Include="DAL\energy_data.cs" />
|
||||
<Compile Include="Models\energy_data.cs" />
|
||||
<Compile Include="NengLiang.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ToolKit.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="NengLiang_TemporaryKey.pfx" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\app.manifest" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="木片驱动器服务器.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.6 %28x86 和 x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
<PublishUrlHistory />
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<EnableSecurityDebugging>false</EnableSecurityDebugging>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Binary file not shown.
|
@ -0,0 +1,174 @@
|
|||
------------------------------------------------
|
||||
2023-02-27 13:34:13,809 [4] INFO loginfo - 接收自127.0.0.1:57468: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 13:35:07,241 [4] INFO loginfo - 接收自127.0.0.1:57492: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:38:23,866 [4] INFO loginfo - 接收自127.0.0.1:57505: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:39:20,474 [4] INFO loginfo - 接收自127.0.0.1:57512: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 13:39:47,823 [1] INFO loginfo - 发送至127.0.0.1:57512: 01 03 00 00 00 33 05 DF
|
||||
------------------------------------------------
|
||||
2023-02-27 13:40:22,234 [5] INFO loginfo - 接收自127.0.0.1:57517: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:41:55,842 [5] INFO loginfo - 接收自127.0.0.1:57523: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 13:42:12,379 [1] INFO loginfo - 发送至127.0.0.1:57523: 01 03 00 00 00 33 05 DF
|
||||
------------------------------------------------
|
||||
2023-02-27 13:44:04,946 [4] INFO loginfo - 接收自127.0.0.1:57532: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:46:18,954 [5] INFO loginfo - 接收自127.0.0.1:57547: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:47:10,801 [6] INFO loginfo - 接收自127.0.0.1:57551: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:48:53,393 [4] INFO loginfo - 接收自127.0.0.1:57557: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:49:31,985 [4] INFO loginfo - 接收自127.0.0.1:57562: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:51:29,362 [5] INFO loginfo - 接收自127.0.0.1:57569: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:52:02,545 [4] INFO loginfo - 接收自127.0.0.1:57573: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:52:49,058 [5] INFO loginfo - 接收自127.0.0.1:57576: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:55:01,273 [5] INFO loginfo - 接收自127.0.0.1:57669: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:58:04,050 [4] INFO loginfo - 接收自127.0.0.1:57701: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 13:59:38,552 [4] INFO loginfo - 接收自127.0.0.1:57813: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:00:10,056 [4] INFO loginfo - 接收自127.0.0.1:57817: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:00:33,480 [5] INFO loginfo - 接收自127.0.0.1:57821: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:01:02,321 [4] INFO loginfo - 接收自127.0.0.1:57824: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:03:26,865 [4] INFO loginfo - 接收自127.0.0.1:57840: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:04:51,859 [5] INFO loginfo - 接收自127.0.0.1:57860: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:08:02,162 [4] INFO loginfo - 接收自127.0.0.1:58016: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:09:08,571 [4] INFO loginfo - 接收自127.0.0.1:58055: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:11:40,243 [5] INFO loginfo - 接收自127.0.0.1:58068: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:17:33,043 [4] INFO loginfo - 接收自127.0.0.1:58097: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:24:45,817 [4] INFO loginfo - 接收自127.0.0.1:58191: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:33:49,563 [3] INFO loginfo - 接收127.0.0.1:58340数据校验失败: 10 01 70 18 40 19 50 82 33 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:34:36,417 [5] INFO loginfo - 接收自127.0.0.1:58387: 10 01 70 18 40 19 50 82 33 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 14:34:39,808 [5] INFO loginfo - 接收自127.0.0.1:58387: 10 01 70 18 40 19 50 82 33 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:35:12,674 [4] INFO loginfo - 接收自127.0.0.1:58392: 10 01 70 18 40 19 50 82 33 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:35:50,777 [4] INFO loginfo - 接收自127.0.0.1:58398: 10 01 70 18 40 19 50 82 33 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:46:29,641 [5] INFO loginfo - 接收自127.0.0.1:58458: 10 01 70 18 40 19 50 82 33 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:48:26,216 [5] INFO loginfo - 接收自127.0.0.1:58465: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:48:51,658 [4] INFO loginfo - 接收自127.0.0.1:58468: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:51:24,208 [5] INFO loginfo - 接收自127.0.0.1:58478: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:53:35,161 [4] INFO loginfo - 接收自127.0.0.1:58492: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:55:37,848 [3] INFO loginfo - 接收自127.0.0.1:58507: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:56:15,064 [4] INFO loginfo - 接收自127.0.0.1:58513: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:58:33,392 [4] INFO loginfo - 接收自127.0.0.1:58525: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 14:58:56,321 [4] INFO loginfo - 接收自127.0.0.1:58527: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:00:59,200 [6] INFO loginfo - 接收自127.0.0.1:58539: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:02:49,280 [5] INFO loginfo - 接收自127.0.0.1:58549: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:03:57,424 [5] INFO loginfo - 接收自127.0.0.1:58558: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 15:04:26,479 [5] INFO loginfo - 接收自127.0.0.1:58558: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:07:24,943 [4] INFO loginfo - 接收自127.0.0.1:58573: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:07:56,945 [6] INFO loginfo - 接收自127.0.0.1:58576: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:09:10,657 [4] INFO loginfo - 接收自127.0.0.1:58585: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:10:15,600 [4] INFO loginfo - 接收自127.0.0.1:58591: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:10:34,233 [4] INFO loginfo - 接收自127.0.0.1:58595: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 15:14:24,761 [4] INFO loginfo - 接收自127.0.0.1:58628: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 16:58:01,073 [4] INFO loginfo - 接收自127.0.0.1:51162: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 16:58:08,952 [1] INFO loginfo - 发送至127.0.0.1:51162: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 16:58:19,969 [1] INFO loginfo - 发送至127.0.0.1:51162: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 16:58:30,983 [1] INFO loginfo - 发送至127.0.0.1:51162: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 16:58:38,327 [4] INFO loginfo - 接收自127.0.0.1:51162: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 16:58:42,006 [1] INFO loginfo - 发送至127.0.0.1:51162: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 16:58:53,022 [1] INFO loginfo - 发送至127.0.0.1:51197: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 16:59:00,233 [4] INFO loginfo - 接收自127.0.0.1:51197: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 17:00:04,653 [1] INFO loginfo - 发送至127.0.0.1:51197: 01 03 00 00 00 33 05 DF
|
||||
------------------------------------------------
|
||||
2023-02-27 17:00:23,512 [4] INFO loginfo - 接收自127.0.0.1:51227: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 17:01:17,961 [4] INFO loginfo - 接收自127.0.0.1:51235: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 17:02:40,322 [1] INFO loginfo - 发送至127.0.0.1:51235: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:02:48,222 [4] INFO loginfo - 接收自127.0.0.1:51235: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 17:04:45,426 [1] INFO loginfo - 发送至127.0.0.1:51235: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:04:45,426 [4] INFO loginfo - 接收自127.0.0.1:51235: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
------------------------------------------------
|
||||
2023-02-27 17:05:27,670 [4] INFO loginfo - 接收自127.0.0.1:51244: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 17:05:43,313 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:05:54,343 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:06:05,364 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:06:16,383 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:06:27,408 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:06:38,434 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:06:49,448 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:07:00,460 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:07:11,477 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:07:22,490 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:07:33,507 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:07:44,522 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:07:55,532 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:08:06,549 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:08:17,559 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:08:28,577 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:08:39,604 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:08:50,616 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:08:54,613 [4] INFO loginfo - 接收自127.0.0.1:51244: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 17:09:02,200 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:09:13,210 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:09:24,224 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:09:35,243 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:09:46,270 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:09:57,285 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:10:08,288 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:10:19,306 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:10:30,319 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:10:41,334 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:10:52,352 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:11:03,367 [1] INFO loginfo - 发送至127.0.0.1:51244: 01 03 00 00 00 33 05 DF
|
||||
------------------------------------------------
|
||||
2023-02-27 17:12:16,568 [4] INFO loginfo - 接收自127.0.0.1:51547: 01 03 66 00 00 00 00 11 00 0F FC 00 59 00 00 00 02 03 0B 00 00 00 01 00 33 00 00 00 03 03 3E 00 00 00 00 00 01 00 00 00 01 09 60 01 C2 00 03 00 05 03 E8 34 26 27 10 26 13 26 15 00 C8 00 06 00 00 00 00 00 01 00 01 09 C4 00 00 03 E8 00 02 27 10 00 01 00 01 00 01 3A 3A 00 01 00 27 00 00 28 0A 26 E6 0D AC 00 04 00 00 BD AA
|
||||
2023-02-27 17:12:22,751 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:12:33,771 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:12:44,784 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:12:55,801 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:13:06,819 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:13:17,842 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:13:28,857 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:13:39,880 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:13:50,900 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:14:01,923 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:14:12,950 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:14:23,966 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:14:34,982 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:14:46,012 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:14:57,036 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:15:08,053 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:15:19,072 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:15:30,081 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:15:41,096 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
||||
2023-02-27 17:15:52,121 [1] INFO loginfo - 发送至127.0.0.1:51547: 01 03 00 00 00 33 05 DF
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,37 +1,42 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
||||
|
||||
</configSections>
|
||||
<appSettings>
|
||||
<add key="ConnectionString" value="Server=mysql.lgzn.space; Port=18922;Allow User Variables=True;Database=jcxt;User ID=root;Password=Unity3du#d112233;Charset=gbk;convert zero datetime=True" />
|
||||
</appSettings>
|
||||
<log4net>
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="SysAppender" />
|
||||
<level value="ALL"/>
|
||||
<appender-ref ref="SysAppender"/>
|
||||
</root>
|
||||
<logger name="WebLogger">
|
||||
<level value="DEBUG" />
|
||||
<level value="DEBUG"/>
|
||||
</logger>
|
||||
<appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
|
||||
<param name="File" value="App_Data/" />
|
||||
<param name="AppendToFile" value="true" />
|
||||
<param name="RollingStyle" value="Date" />
|
||||
<param name="DatePattern" value=""Logs_"yyyyMMdd".txt"" />
|
||||
<param name="StaticLogFileName" value="false" />
|
||||
<param name="File" value="App_Data/"/>
|
||||
<param name="AppendToFile" value="true"/>
|
||||
<param name="RollingStyle" value="Date"/>
|
||||
<param name="DatePattern" value=""Logs_"yyyyMMdd".txt""/>
|
||||
<param name="StaticLogFileName" value="false"/>
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
||||
<param name="Header" value=" ------------------------------------------------
" />
|
||||
<param name="Footer" value=" ------------------------------------------------
" />
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
<param name="Header" value=" ------------------------------------------------
|
||||
"/>
|
||||
<param name="Footer" value=" ------------------------------------------------
|
||||
"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net">
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
</log4net>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")]
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
f6ebd56f81d3d217220268d6d98766f652f41298
|
||||
357c952c163d17d1ace9766788018884cfa1d5b0
|
||||
|
|
|
@ -9,3 +9,28 @@ D:\XM\C#\nenglaingbiao\NengLiang\bin\Debug\NengLiangBiao.pdb
|
|||
D:\XM\C#\nenglaingbiao\NengLiang\obj\Debug\NengLiangBiao.exe
|
||||
D:\XM\C#\nenglaingbiao\NengLiang\obj\Debug\NengLiangBiao.pdb
|
||||
D:\XM\C#\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.SuggestedBindingRedirects.cache
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.AssemblyReference.cache
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.SuggestedBindingRedirects.cache
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.CoreCompileInputs.cache
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\obj\Debug\NengLiangBiao.exe
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\obj\Debug\NengLiangBiao.pdb
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\bin\Debug\NengLiangBiao.exe.config
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\bin\Debug\NengLiangBiao.exe
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\bin\Debug\NengLiangBiao.pdb
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\bin\Debug\log4net.dll
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\bin\Debug\log4net.xml
|
||||
D:\XM\C#\DAN\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.CopyComplete
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.AssemblyReference.cache
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.SuggestedBindingRedirects.cache
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.CoreCompileInputs.cache
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Debug\NengLiangBiao.exe
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Debug\NengLiangBiao.pdb
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\NengLiangBiao.exe.config
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\NengLiangBiao.exe
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\NengLiangBiao.pdb
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\log4net.dll
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\Maticsoft.Common.dll
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\Maticsoft.DBUtility.dll
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\MySql.Data.dll
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\bin\Debug\log4net.xml
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Debug\NengLiang.csproj.CopyComplete
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")]
|
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
997c4e52b68c47a950484b42e577830b98f427f8
|
||||
05b405c02be2e8ceddb3288f2b17200e8cd8182f
|
||||
|
|
|
@ -9,3 +9,10 @@ D:\XM\C#\nenglaingbiao\NengLiang\bin\Release\NengLiangBiao.pdb
|
|||
D:\XM\C#\nenglaingbiao\NengLiang\obj\Release\NengLiangBiao.exe
|
||||
D:\XM\C#\nenglaingbiao\NengLiang\obj\Release\NengLiangBiao.pdb
|
||||
D:\XM\C#\nenglaingbiao\NengLiang\obj\Release\NengLiang.csproj.SuggestedBindingRedirects.cache
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Release\NengLiang.csproj.AssemblyReference.cache
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Release\NengLiang.csproj.SuggestedBindingRedirects.cache
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Release\NengLiang.csproj.CoreCompileInputs.cache
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Release\NengLiangBiao.TrustInfo.xml
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Release\NengLiangBiao.exe.manifest
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Release\NengLiangBiao.exe
|
||||
D:\Linzhi\nenglaingbiao\NengLiang\obj\Release\NengLiangBiao.pdb
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><trustInfo xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2"><security><applicationRequestMinimum><PermissionSet version="1" class="System.Security.NamedPermissionSet" Name="LocalIntranet" Description="Default rights given to applications on the local intranet" Unrestricted="true" ID="Custom" SameSite="site" /><defaultAssemblyRequest permissionSetReference="Custom" /></applicationRequestMinimum><requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"><!--><requestedExecutionLevel level="asInvoker" uiAccess="false" />--><requestedExecutionLevel level="requireAdministrator" uiAccess="false" /></requestedPrivileges></security></trustInfo>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue