添加类和接口文件

This commit is contained in:
曾艳 2024-01-09 10:18:30 +08:00
parent 4ac4d01796
commit 374ea6bbe3
64 changed files with 1694 additions and 11 deletions

View File

@ -155,12 +155,21 @@
</site>
<site name="DongYingAPI" id="2">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="E:\林谷项目\东营两馆一宫\后端框架\DongYing\DongYingAPI" />
<virtualDirectory path="/" physicalPath="F:\项目\东营两馆一宫项目\DongYing\DongYingAPI" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:53875:localhost" />
<binding protocol="https" bindingInformation="*:44319:localhost" />
</bindings>
</site>
<site name="DongYingAPI(1)" id="3">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="F:\项目\东营两馆一宫项目\DongYing\DongYingAPI" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:44319:localhost" />
<binding protocol="https" bindingInformation="*:44319:localhost" />
</bindings>
</site>
<siteDefaults>
<!-- To enable logging, please change the below attribute "enabled" to "true" -->

Binary file not shown.

View File

@ -0,0 +1,179 @@
/**
* device_operation.cs
*
* N/A
* device_operation
*
* Ver
*
* V0.01 2024/1/9 10:06:19 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>
/// device_operation
/// </summary>
public partial class device_operation
{
private readonly DataService.DAL.device_operation dal=new DataService.DAL.device_operation();
public device_operation()
{}
#region BasicMethod
/// <summary>
/// 是否存在该记录
/// </summary>
public bool Exists(string OperationId)
{
return dal.Exists(OperationId);
}
/// <summary>
/// 增加一条数据
/// </summary>
public bool Add(DataService.Model.device_operation model)
{
return dal.Add(model);
}
/// <summary>
/// 更新一条数据
/// </summary>
public bool Update(DataService.Model.device_operation model)
{
return dal.Update(model);
}
/// <summary>
/// 删除一条数据
/// </summary>
public bool Delete(string OperationId)
{
return dal.Delete(OperationId);
}
/// <summary>
/// 删除一条数据
/// </summary>
public bool DeleteList(string OperationIdlist )
{
return dal.DeleteList(OperationIdlist );
}
/// <summary>
/// 得到一个对象实体
/// </summary>
public DataService.Model.device_operation GetModel(string OperationId)
{
return dal.GetModel(OperationId);
}
/// <summary>
/// 得到一个对象实体,从缓存中
/// </summary>
public DataService.Model.device_operation GetModelByCache(string OperationId)
{
string CacheKey = "device_operationModel-" + OperationId;
object objModel = Maticsoft.Common.DataCache.GetCache(CacheKey);
if (objModel == null)
{
try
{
objModel = dal.GetModel(OperationId);
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.device_operation)objModel;
}
/// <summary>
/// 获得数据列表
/// </summary>
public DataSet GetList(string strWhere)
{
return dal.GetList(strWhere);
}
/// <summary>
/// 获得数据列表
/// </summary>
public List<DataService.Model.device_operation> GetModelList(string strWhere)
{
DataSet ds = dal.GetList(strWhere);
return DataTableToList(ds.Tables[0]);
}
/// <summary>
/// 获得数据列表
/// </summary>
public List<DataService.Model.device_operation> DataTableToList(DataTable dt)
{
List<DataService.Model.device_operation> modelList = new List<DataService.Model.device_operation>();
int rowsCount = dt.Rows.Count;
if (rowsCount > 0)
{
DataService.Model.device_operation 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
}
}

View File

@ -0,0 +1,179 @@
/**
* electricity_price.cs
*
* N/A
* electricity_price
*
* Ver
*
* V0.01 2024/1/9 10:06:20 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>
/// electricity_price
/// </summary>
public partial class electricity_price
{
private readonly DataService.DAL.electricity_price dal=new DataService.DAL.electricity_price();
public electricity_price()
{}
#region BasicMethod
/// <summary>
/// 是否存在该记录
/// </summary>
public bool Exists(string PriceId)
{
return dal.Exists(PriceId);
}
/// <summary>
/// 增加一条数据
/// </summary>
public bool Add(DataService.Model.electricity_price model)
{
return dal.Add(model);
}
/// <summary>
/// 更新一条数据
/// </summary>
public bool Update(DataService.Model.electricity_price model)
{
return dal.Update(model);
}
/// <summary>
/// 删除一条数据
/// </summary>
public bool Delete(string PriceId)
{
return dal.Delete(PriceId);
}
/// <summary>
/// 删除一条数据
/// </summary>
public bool DeleteList(string PriceIdlist )
{
return dal.DeleteList(PriceIdlist );
}
/// <summary>
/// 得到一个对象实体
/// </summary>
public DataService.Model.electricity_price GetModel(string PriceId)
{
return dal.GetModel(PriceId);
}
/// <summary>
/// 得到一个对象实体,从缓存中
/// </summary>
public DataService.Model.electricity_price GetModelByCache(string PriceId)
{
string CacheKey = "electricity_priceModel-" + PriceId;
object objModel = Maticsoft.Common.DataCache.GetCache(CacheKey);
if (objModel == null)
{
try
{
objModel = dal.GetModel(PriceId);
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.electricity_price)objModel;
}
/// <summary>
/// 获得数据列表
/// </summary>
public DataSet GetList(string strWhere)
{
return dal.GetList(strWhere);
}
/// <summary>
/// 获得数据列表
/// </summary>
public List<DataService.Model.electricity_price> GetModelList(string strWhere)
{
DataSet ds = dal.GetList(strWhere);
return DataTableToList(ds.Tables[0]);
}
/// <summary>
/// 获得数据列表
/// </summary>
public List<DataService.Model.electricity_price> DataTableToList(DataTable dt)
{
List<DataService.Model.electricity_price> modelList = new List<DataService.Model.electricity_price>();
int rowsCount = dt.Rows.Count;
if (rowsCount > 0)
{
DataService.Model.electricity_price 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
}
}

View File

@ -0,0 +1,355 @@
/**
* device_operation.cs
*
* N/A
* device_operation
*
* Ver
*
* V0.01 2024/1/9 10:06:19 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>
/// 数据访问类:device_operation
/// </summary>
public partial class device_operation
{
public device_operation()
{}
#region BasicMethod
/// <summary>
/// 是否存在该记录
/// </summary>
public bool Exists(string OperationId)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select count(1) from device_operation");
strSql.Append(" where OperationId=@OperationId ");
MySqlParameter[] parameters = {
new MySqlParameter("@OperationId", MySqlDbType.VarChar,50) };
parameters[0].Value = OperationId;
return DbHelperMySQL.Exists(strSql.ToString(),parameters);
}
/// <summary>
/// 增加一条数据
/// </summary>
public bool Add(DataService.Model.device_operation model)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("insert into device_operation(");
strSql.Append("OperationId,EntryName,Status,InstrumentAddress,EquipmentClassification,Remark1,Remark2,Remark3,Remark4,Remark5)");
strSql.Append(" values (");
strSql.Append("@OperationId,@EntryName,@Status,@InstrumentAddress,@EquipmentClassification,@Remark1,@Remark2,@Remark3,@Remark4,@Remark5)");
MySqlParameter[] parameters = {
new MySqlParameter("@OperationId", MySqlDbType.VarChar,50),
new MySqlParameter("@EntryName", MySqlDbType.VarChar,255),
new MySqlParameter("@Status", MySqlDbType.VarChar,255),
new MySqlParameter("@InstrumentAddress", MySqlDbType.VarChar,255),
new MySqlParameter("@EquipmentClassification", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark1", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark2", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark3", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark4", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark5", MySqlDbType.VarChar,255)};
parameters[0].Value = model.OperationId;
parameters[1].Value = model.EntryName;
parameters[2].Value = model.Status;
parameters[3].Value = model.InstrumentAddress;
parameters[4].Value = model.EquipmentClassification;
parameters[5].Value = model.Remark1;
parameters[6].Value = model.Remark2;
parameters[7].Value = model.Remark3;
parameters[8].Value = model.Remark4;
parameters[9].Value = model.Remark5;
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 更新一条数据
/// </summary>
public bool Update(DataService.Model.device_operation model)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("update device_operation set ");
strSql.Append("EntryName=@EntryName,");
strSql.Append("Status=@Status,");
strSql.Append("InstrumentAddress=@InstrumentAddress,");
strSql.Append("EquipmentClassification=@EquipmentClassification,");
strSql.Append("Remark1=@Remark1,");
strSql.Append("Remark2=@Remark2,");
strSql.Append("Remark3=@Remark3,");
strSql.Append("Remark4=@Remark4,");
strSql.Append("Remark5=@Remark5");
strSql.Append(" where OperationId=@OperationId ");
MySqlParameter[] parameters = {
new MySqlParameter("@EntryName", MySqlDbType.VarChar,255),
new MySqlParameter("@Status", MySqlDbType.VarChar,255),
new MySqlParameter("@InstrumentAddress", MySqlDbType.VarChar,255),
new MySqlParameter("@EquipmentClassification", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark1", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark2", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark3", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark4", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark5", MySqlDbType.VarChar,255),
new MySqlParameter("@OperationId", MySqlDbType.VarChar,50)};
parameters[0].Value = model.EntryName;
parameters[1].Value = model.Status;
parameters[2].Value = model.InstrumentAddress;
parameters[3].Value = model.EquipmentClassification;
parameters[4].Value = model.Remark1;
parameters[5].Value = model.Remark2;
parameters[6].Value = model.Remark3;
parameters[7].Value = model.Remark4;
parameters[8].Value = model.Remark5;
parameters[9].Value = model.OperationId;
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 删除一条数据
/// </summary>
public bool Delete(string OperationId)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("delete from device_operation ");
strSql.Append(" where OperationId=@OperationId ");
MySqlParameter[] parameters = {
new MySqlParameter("@OperationId", MySqlDbType.VarChar,50) };
parameters[0].Value = OperationId;
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 批量删除数据
/// </summary>
public bool DeleteList(string OperationIdlist )
{
StringBuilder strSql=new StringBuilder();
strSql.Append("delete from device_operation ");
strSql.Append(" where OperationId in ("+OperationIdlist + ") ");
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString());
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 得到一个对象实体
/// </summary>
public DataService.Model.device_operation GetModel(string OperationId)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select OperationId,EntryName,Status,InstrumentAddress,EquipmentClassification,Remark1,Remark2,Remark3,Remark4,Remark5 from device_operation ");
strSql.Append(" where OperationId=@OperationId ");
MySqlParameter[] parameters = {
new MySqlParameter("@OperationId", MySqlDbType.VarChar,50) };
parameters[0].Value = OperationId;
DataService.Model.device_operation model=new DataService.Model.device_operation();
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.device_operation DataRowToModel(DataRow row)
{
DataService.Model.device_operation model=new DataService.Model.device_operation();
if (row != null)
{
if(row["OperationId"]!=null)
{
model.OperationId=row["OperationId"].ToString();
}
if(row["EntryName"]!=null)
{
model.EntryName=row["EntryName"].ToString();
}
if(row["Status"]!=null)
{
model.Status=row["Status"].ToString();
}
if(row["InstrumentAddress"]!=null)
{
model.InstrumentAddress=row["InstrumentAddress"].ToString();
}
if(row["EquipmentClassification"]!=null)
{
model.EquipmentClassification=row["EquipmentClassification"].ToString();
}
if(row["Remark1"]!=null)
{
model.Remark1=row["Remark1"].ToString();
}
if(row["Remark2"]!=null)
{
model.Remark2=row["Remark2"].ToString();
}
if(row["Remark3"]!=null)
{
model.Remark3=row["Remark3"].ToString();
}
if(row["Remark4"]!=null)
{
model.Remark4=row["Remark4"].ToString();
}
if(row["Remark5"]!=null)
{
model.Remark5=row["Remark5"].ToString();
}
}
return model;
}
/// <summary>
/// 获得数据列表
/// </summary>
public DataSet GetList(string strWhere)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select OperationId,EntryName,Status,InstrumentAddress,EquipmentClassification,Remark1,Remark2,Remark3,Remark4,Remark5 ");
strSql.Append(" FROM device_operation ");
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 device_operation ");
if(strWhere.Trim()!="")
{
strSql.Append(" where "+strWhere);
}
object obj = DbHelperMySQL.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.OperationId desc");
}
strSql.Append(")AS Row, T.* from device_operation 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 = "device_operation";
parameters[1].Value = "OperationId";
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
}
}

View File

@ -0,0 +1,346 @@
/**
* electricity_price.cs
*
* N/A
* electricity_price
*
* Ver
*
* V0.01 2024/1/9 10:06:20 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>
/// 数据访问类:electricity_price
/// </summary>
public partial class electricity_price
{
public electricity_price()
{}
#region BasicMethod
/// <summary>
/// 是否存在该记录
/// </summary>
public bool Exists(string PriceId)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select count(1) from electricity_price");
strSql.Append(" where PriceId=@PriceId ");
MySqlParameter[] parameters = {
new MySqlParameter("@PriceId", MySqlDbType.VarChar,50) };
parameters[0].Value = PriceId;
return DbHelperMySQL.Exists(strSql.ToString(),parameters);
}
/// <summary>
/// 增加一条数据
/// </summary>
public bool Add(DataService.Model.electricity_price model)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("insert into electricity_price(");
strSql.Append("PriceId,Cost,UnitPrice,AcquisitionTime,Remark1,Remark2,Remark3,Remark4,Remark5)");
strSql.Append(" values (");
strSql.Append("@PriceId,@Cost,@UnitPrice,@AcquisitionTime,@Remark1,@Remark2,@Remark3,@Remark4,@Remark5)");
MySqlParameter[] parameters = {
new MySqlParameter("@PriceId", MySqlDbType.VarChar,50),
new MySqlParameter("@Cost", MySqlDbType.Decimal,10),
new MySqlParameter("@UnitPrice", MySqlDbType.Decimal,10),
new MySqlParameter("@AcquisitionTime", MySqlDbType.DateTime),
new MySqlParameter("@Remark1", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark2", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark3", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark4", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark5", MySqlDbType.VarChar,255)};
parameters[0].Value = model.PriceId;
parameters[1].Value = model.Cost;
parameters[2].Value = model.UnitPrice;
parameters[3].Value = model.AcquisitionTime;
parameters[4].Value = model.Remark1;
parameters[5].Value = model.Remark2;
parameters[6].Value = model.Remark3;
parameters[7].Value = model.Remark4;
parameters[8].Value = model.Remark5;
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 更新一条数据
/// </summary>
public bool Update(DataService.Model.electricity_price model)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("update electricity_price set ");
strSql.Append("Cost=@Cost,");
strSql.Append("UnitPrice=@UnitPrice,");
strSql.Append("AcquisitionTime=@AcquisitionTime,");
strSql.Append("Remark1=@Remark1,");
strSql.Append("Remark2=@Remark2,");
strSql.Append("Remark3=@Remark3,");
strSql.Append("Remark4=@Remark4,");
strSql.Append("Remark5=@Remark5");
strSql.Append(" where PriceId=@PriceId ");
MySqlParameter[] parameters = {
new MySqlParameter("@Cost", MySqlDbType.Decimal,10),
new MySqlParameter("@UnitPrice", MySqlDbType.Decimal,10),
new MySqlParameter("@AcquisitionTime", MySqlDbType.DateTime),
new MySqlParameter("@Remark1", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark2", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark3", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark4", MySqlDbType.VarChar,255),
new MySqlParameter("@Remark5", MySqlDbType.VarChar,255),
new MySqlParameter("@PriceId", MySqlDbType.VarChar,50)};
parameters[0].Value = model.Cost;
parameters[1].Value = model.UnitPrice;
parameters[2].Value = model.AcquisitionTime;
parameters[3].Value = model.Remark1;
parameters[4].Value = model.Remark2;
parameters[5].Value = model.Remark3;
parameters[6].Value = model.Remark4;
parameters[7].Value = model.Remark5;
parameters[8].Value = model.PriceId;
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 删除一条数据
/// </summary>
public bool Delete(string PriceId)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("delete from electricity_price ");
strSql.Append(" where PriceId=@PriceId ");
MySqlParameter[] parameters = {
new MySqlParameter("@PriceId", MySqlDbType.VarChar,50) };
parameters[0].Value = PriceId;
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 批量删除数据
/// </summary>
public bool DeleteList(string PriceIdlist )
{
StringBuilder strSql=new StringBuilder();
strSql.Append("delete from electricity_price ");
strSql.Append(" where PriceId in ("+PriceIdlist + ") ");
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString());
if (rows > 0)
{
return true;
}
else
{
return false;
}
}
/// <summary>
/// 得到一个对象实体
/// </summary>
public DataService.Model.electricity_price GetModel(string PriceId)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select PriceId,Cost,UnitPrice,AcquisitionTime,Remark1,Remark2,Remark3,Remark4,Remark5 from electricity_price ");
strSql.Append(" where PriceId=@PriceId ");
MySqlParameter[] parameters = {
new MySqlParameter("@PriceId", MySqlDbType.VarChar,50) };
parameters[0].Value = PriceId;
DataService.Model.electricity_price model=new DataService.Model.electricity_price();
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.electricity_price DataRowToModel(DataRow row)
{
DataService.Model.electricity_price model=new DataService.Model.electricity_price();
if (row != null)
{
if(row["PriceId"]!=null)
{
model.PriceId=row["PriceId"].ToString();
}
if(row["Cost"]!=null && row["Cost"].ToString()!="")
{
model.Cost=decimal.Parse(row["Cost"].ToString());
}
if(row["UnitPrice"]!=null && row["UnitPrice"].ToString()!="")
{
model.UnitPrice=decimal.Parse(row["UnitPrice"].ToString());
}
if(row["AcquisitionTime"]!=null && row["AcquisitionTime"].ToString()!="")
{
model.AcquisitionTime=DateTime.Parse(row["AcquisitionTime"].ToString());
}
if(row["Remark1"]!=null)
{
model.Remark1=row["Remark1"].ToString();
}
if(row["Remark2"]!=null)
{
model.Remark2=row["Remark2"].ToString();
}
if(row["Remark3"]!=null)
{
model.Remark3=row["Remark3"].ToString();
}
if(row["Remark4"]!=null)
{
model.Remark4=row["Remark4"].ToString();
}
if(row["Remark5"]!=null)
{
model.Remark5=row["Remark5"].ToString();
}
}
return model;
}
/// <summary>
/// 获得数据列表
/// </summary>
public DataSet GetList(string strWhere)
{
StringBuilder strSql=new StringBuilder();
strSql.Append("select PriceId,Cost,UnitPrice,AcquisitionTime,Remark1,Remark2,Remark3,Remark4,Remark5 ");
strSql.Append(" FROM electricity_price ");
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 electricity_price ");
if(strWhere.Trim()!="")
{
strSql.Append(" where "+strWhere);
}
object obj = DbHelperMySQL.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.PriceId desc");
}
strSql.Append(")AS Row, T.* from electricity_price 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 = "electricity_price";
parameters[1].Value = "PriceId";
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
}
}

View File

@ -50,6 +50,10 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="api\EnergyEfficiency\get_amount_energy_response.cs" />
<Compile Include="api\EnergyEfficiency\get_device_operation_response.cs" />
<Compile Include="api\EnergyEfficiency\get_electricity_price_response.cs" />
<Compile Include="api\EnergyEfficiency\get_unit_consumption_response.cs" />
<Compile Include="api\get_abutment.cs" />
<Compile Include="api\get_air_conditioner.cs" />
<Compile Include="api\get_carbon_emission.cs" />
@ -72,10 +76,17 @@
<Compile Include="api\get_room_electricity.cs" />
<Compile Include="api\select_switching_name.cs" />
<Compile Include="api\select_switching_room.cs" />
<Compile Include="api\Test.cs" />
<Compile Include="BLL\device_data.cs" />
<Compile Include="BLL\device_operation.cs" />
<Compile Include="BLL\electricity_price.cs" />
<Compile Include="DAL\device_data.cs" />
<Compile Include="api\get_realtime_data.cs" />
<Compile Include="DAL\device_operation.cs" />
<Compile Include="DAL\electricity_price.cs" />
<Compile Include="Model\device_data.cs" />
<Compile Include="Model\device_operation.cs" />
<Compile Include="Model\electricity_price.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup />

View File

@ -0,0 +1,123 @@
/**
* device_operation.cs
*
* N/A
* device_operation
*
* Ver
*
* V0.01 2024/1/9 10:06:19 N/A
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*
*  
*               
*
*/
using System;
namespace DataService.Model
{
/// <summary>
/// device_operation:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class device_operation
{
public device_operation()
{}
#region Model
private string _operationid;
private string _entryname;
private string _status;
private string _instrumentaddress;
private string _equipmentclassification;
private string _remark1;
private string _remark2;
private string _remark3;
private string _remark4;
private string _remark5;
/// <summary>
///
/// </summary>
public string OperationId
{
set{ _operationid=value;}
get{return _operationid;}
}
/// <summary>
///
/// </summary>
public string EntryName
{
set{ _entryname=value;}
get{return _entryname;}
}
/// <summary>
///
/// </summary>
public string Status
{
set{ _status=value;}
get{return _status;}
}
/// <summary>
///
/// </summary>
public string InstrumentAddress
{
set{ _instrumentaddress=value;}
get{return _instrumentaddress;}
}
/// <summary>
///
/// </summary>
public string EquipmentClassification
{
set{ _equipmentclassification=value;}
get{return _equipmentclassification;}
}
/// <summary>
///
/// </summary>
public string Remark1
{
set{ _remark1=value;}
get{return _remark1;}
}
/// <summary>
///
/// </summary>
public string Remark2
{
set{ _remark2=value;}
get{return _remark2;}
}
/// <summary>
///
/// </summary>
public string Remark3
{
set{ _remark3=value;}
get{return _remark3;}
}
/// <summary>
///
/// </summary>
public string Remark4
{
set{ _remark4=value;}
get{return _remark4;}
}
/// <summary>
///
/// </summary>
public string Remark5
{
set{ _remark5=value;}
get{return _remark5;}
}
#endregion Model
}
}

View File

@ -0,0 +1,114 @@
/**
* electricity_price.cs
*
* N/A
* electricity_price
*
* Ver
*
* V0.01 2024/1/9 10:06:20 N/A
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*
*  
*               
*
*/
using System;
namespace DataService.Model
{
/// <summary>
/// electricity_price:实体类(属性说明自动提取数据库字段的描述信息)
/// </summary>
[Serializable]
public partial class electricity_price
{
public electricity_price()
{}
#region Model
private string _priceid;
private decimal? _cost;
private decimal? _unitprice;
private DateTime? _acquisitiontime;
private string _remark1;
private string _remark2;
private string _remark3;
private string _remark4;
private string _remark5;
/// <summary>
///
/// </summary>
public string PriceId
{
set{ _priceid=value;}
get{return _priceid;}
}
/// <summary>
///
/// </summary>
public decimal? Cost
{
set{ _cost=value;}
get{return _cost;}
}
/// <summary>
///
/// </summary>
public decimal? UnitPrice
{
set{ _unitprice=value;}
get{return _unitprice;}
}
/// <summary>
///
/// </summary>
public DateTime? AcquisitionTime
{
set{ _acquisitiontime=value;}
get{return _acquisitiontime;}
}
/// <summary>
///
/// </summary>
public string Remark1
{
set{ _remark1=value;}
get{return _remark1;}
}
/// <summary>
///
/// </summary>
public string Remark2
{
set{ _remark2=value;}
get{return _remark2;}
}
/// <summary>
///
/// </summary>
public string Remark3
{
set{ _remark3=value;}
get{return _remark3;}
}
/// <summary>
///
/// </summary>
public string Remark4
{
set{ _remark4=value;}
get{return _remark4;}
}
/// <summary>
///
/// </summary>
public string Remark5
{
set{ _remark5=value;}
get{return _remark5;}
}
#endregion Model
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataServer.api.EnergyEfficiency
{
/// <summary>
/// 获取节能量(节电率)接口响应实体
/// </summary>
public class get_amount_energy_response
{
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataServer.api.EnergyEfficiency
{
/// <summary>
/// 获取设备运行情况接口响应实体
/// </summary>
public class get_device_operation_response
{
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataServer.api.EnergyEfficiency
{
/// <summary>
/// 获取电费电价接口响应实体
/// </summary>
public class get_electricity_price_response
{
}
}

View File

@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataServer.api.EnergyEfficiency
{
/// <summary>
/// 获取单耗接口相应实体
/// </summary>
public class get_unit_consumption_response
{
/// <summary>
/// 返回码
/// </summary>
public int code { get; set; }
/// <summary>
/// 返回说明
/// </summary>
public string msg { get; set; }
public unit_consumption data { get; set; }
}
public class unit_consumption
{
/// <summary>
/// 人均用水量
/// </summary>
public decimal avg_water_consumption { get; set; }
/// <summary>
/// 人均综合能耗
/// </summary>
public decimal avg_energy_consumption { get; set; }
/// <summary>
/// 单位建筑面积综合能耗
/// </summary>
public decimal unit_building_area { get; set; }
}
}

15
DataServer/api/Test.cs Normal file
View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataServer.api
{
public class Test
{
public string username { get; set; }
public string password { get; set; }
}
}

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
79c32f87fb0acba6d359a5e1073537ed069eb160
3863e3bbe6893fb04bc348f8625f89315ddb71af

View File

@ -8,3 +8,13 @@ E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug\Maticsoft.DBUtility.dll
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug\MySql.Data.dll
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\obj\Debug\DataServer.csproj.CopyComplete
F:\项目\东营两馆一宫项目\DongYing\DataServer\bin\Debug\DataServer.dll
F:\项目\东营两馆一宫项目\DongYing\DataServer\bin\Debug\DataServer.pdb
F:\项目\东营两馆一宫项目\DongYing\DataServer\bin\Debug\Maticsoft.Common.dll
F:\项目\东营两馆一宫项目\DongYing\DataServer\bin\Debug\Maticsoft.DBUtility.dll
F:\项目\东营两馆一宫项目\DongYing\DataServer\bin\Debug\MySql.Data.dll
F:\项目\东营两馆一宫项目\DongYing\DataServer\obj\Debug\DataServer.csproj.AssemblyReference.cache
F:\项目\东营两馆一宫项目\DongYing\DataServer\obj\Debug\DataServer.csproj.CoreCompileInputs.cache
F:\项目\东营两馆一宫项目\DongYing\DataServer\obj\Debug\DataServer.csproj.CopyComplete
F:\项目\东营两馆一宫项目\DongYing\DataServer\obj\Debug\DataServer.dll
F:\项目\东营两馆一宫项目\DongYing\DataServer\obj\Debug\DataServer.pdb

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace DongYingAPI.Controllers.api.EnergyEfficiency
{
/// <summary>
/// 获取节能量(节电率)接口
/// </summary>
public class GetAmountEnergyController : ApiController
{
}
}

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace DongYingAPI.Controllers.api.EnergyEfficiency
{
/// <summary>
/// 获取设备运行情况接口
/// </summary>
public class GetDeviceOperationController : ApiController
{
}
}

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace DongYingAPI.Controllers.api.EnergyEfficiency
{
/// <summary>
/// 获取电费电价接口
/// </summary>
public class GetElectricityPriceController : ApiController
{
}
}

View File

@ -0,0 +1,43 @@
using DataServer.api;
using DataServer.api.EnergyEfficiency;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
namespace DongYingAPI.Controllers.api.EnergyEfficiency
{
[Route("api/[controller]")]
public class GetUnitConsumptionController : ApiController
{
DataServer.BLL.device_data bll = new DataServer.BLL.device_data();
/// <summary>
/// 获取单耗接口
/// </summary>
/// <returns></returns>
public HttpResponseMessage Get()
{
var res = new get_unit_consumption_response();
try
{
var now = DateTime.Now;
var start_time = now.ToString("yyyy-MM-dd") + " 00:00:00";
var end_time = now.ToString("yyyy-MM-dd HH") + ":00:00";
//根据事件查询两条数据,然后值相减为用水量
}
catch (Exception ex)
{
res.code = 500;
res.msg = "失败," + ex.Message;
}
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(JsonConvert.SerializeObject(res), Encoding.GetEncoding("UTF-8"), "application/json") };
return result;
}
}
}

View File

@ -0,0 +1,22 @@
using DataServer.api;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Web.Http;
namespace DongYingAPI.Controllers.api
{
[Route("api/[controller]")]
public class loginController : ApiController
{
public HttpResponseMessage Post([FromBody] Test test)
{
HttpResponseMessage result = new HttpResponseMessage { Content = new StringContent(JsonConvert.SerializeObject(test), Encoding.GetEncoding("UTF-8"), "application/json") };
return result;
}
}
}

View File

@ -159,6 +159,10 @@
<Compile Include="Areas\HelpPage\SampleGeneration\SampleDirection.cs" />
<Compile Include="Areas\HelpPage\SampleGeneration\TextSample.cs" />
<Compile Include="Areas\HelpPage\XmlDocumentationProvider.cs" />
<Compile Include="Controllers\api\EnergyEfficiency\GetAmountEnergyController.cs" />
<Compile Include="Controllers\api\EnergyEfficiency\GetDeviceOperationController.cs" />
<Compile Include="Controllers\api\EnergyEfficiency\GetElectricityPriceController.cs" />
<Compile Include="Controllers\api\EnergyEfficiency\GetUnitConsumptionController.cs" />
<Compile Include="Controllers\api\GetAirConditionerController.cs" />
<Compile Include="Controllers\api\GetCarbonEmissionController.cs" />
<Compile Include="Controllers\api\GetCarbonFluxController.cs" />
@ -178,6 +182,7 @@
<Compile Include="Controllers\api\GetRealtimeDataController.cs" />
<Compile Include="Controllers\api\GetRealtimeLoadController.cs" />
<Compile Include="Controllers\api\GetRoomElectricityController.cs" />
<Compile Include="Controllers\api\loginController.cs" />
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\ValuesController.cs" />
<Compile Include="Global.asax.cs">
@ -288,7 +293,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>53875</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>https://localhost:44319/</IISUrl>
<IISUrl>http://localhost:44319/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>

View File

@ -10,6 +10,14 @@
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DongYingAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
<Controller_SelectedScaffolderID>ApiControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/Web API</Controller_SelectedScaffolderCategoryPath>
<WebStackScaffolding_ControllerDialogWidth>600</WebStackScaffolding_ControllerDialogWidth>
<WebStackScaffolding_IsLayoutPageSelected>True</WebStackScaffolding_IsLayoutPageSelected>
<WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected>
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>True</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
<WebStackScaffolding_LayoutPageFile />
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
d18cef7fac424a3532ac4631b487947fb1318071
1aa84be803425da884eb41ed9f10be0159b1b291

View File

@ -98,3 +98,103 @@ E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DongYingAPI\bin\MySq
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DongYingAPI\bin\Maticsoft.DBUtility.dll
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DongYingAPI\bin\Maticsoft.Common.dll
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DongYingAPI\bin\DataServer.pdb
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\obj\Debug\DongYingAPI.csproj.AssemblyReference.cache
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\obj\Debug\DongYingAPI.csproj.CoreCompileInputs.cache
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\obj\Debug\DongYingAPI.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\obj\Debug\DongYingAPI.pdb
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\DongYingAPI.dll.config
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\DongYingAPI.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\DongYingAPI.pdb
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\csc.exe
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\csc.exe.config
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\csc.rsp
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\csi.exe
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\csi.exe.config
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\csi.rsp
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.CodeAnalysis.CSharp.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.CodeAnalysis.CSharp.Scripting.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.CodeAnalysis.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.CodeAnalysis.Scripting.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.CodeAnalysis.VisualBasic.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.CSharp.Core.targets
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.DiaSymReader.Native.amd64.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.DiaSymReader.Native.x86.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.Managed.Core.targets
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.VisualBasic.Core.targets
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\Microsoft.Win32.Primitives.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.AppContext.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Collections.Immutable.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Console.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Diagnostics.DiagnosticSource.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Diagnostics.FileVersionInfo.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Diagnostics.StackTrace.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Globalization.Calendars.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.IO.Compression.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.IO.Compression.ZipFile.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.IO.FileSystem.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.IO.FileSystem.Primitives.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Net.Http.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Net.Sockets.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Reflection.Metadata.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Runtime.InteropServices.RuntimeInformation.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Security.Cryptography.Algorithms.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Security.Cryptography.Encoding.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Security.Cryptography.Primitives.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Security.Cryptography.X509Certificates.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Text.Encoding.CodePages.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Threading.Tasks.Extensions.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.ValueTuple.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Xml.ReaderWriter.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Xml.XmlDocument.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Xml.XPath.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\System.Xml.XPath.XDocument.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\vbc.exe
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\vbc.exe.config
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\vbc.rsp
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\VBCSCompiler.exe
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\roslyn\VBCSCompiler.exe.config
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Antlr3.Runtime.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\DataServer.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Microsoft.Web.Infrastructure.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Newtonsoft.Json.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Net.Http.Formatting.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Helpers.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Http.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Http.WebHost.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Mvc.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Optimization.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Razor.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.WebPages.Deployment.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.WebPages.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.WebPages.Razor.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\WebGrease.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\MySql.Data.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Maticsoft.DBUtility.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Maticsoft.Common.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\DataServer.pdb
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Newtonsoft.Json.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Net.Http.Formatting.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Helpers.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Http.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Http.WebHost.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Mvc.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Optimization.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.Razor.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.WebPages.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.WebPages.Deployment.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\System.Web.WebPages.Razor.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Antlr3.Runtime.pdb
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Net.Http.Formatting.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.Helpers.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.Http.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.Http.WebHost.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.Mvc.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.Optimization.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.Razor.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.WebPages.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.WebPages.Deployment.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\bin\zh-Hans\System.Web.WebPages.Razor.resources.dll
F:\项目\东营两馆一宫项目\DongYing\DongYingAPI\obj\Debug\DongYingAPI.csproj.CopyComplete

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>J0tTq3mxGG7wonr3/aIYzgMap5+sS1Z+uD0hKIVt6YY=</dsig:DigestValue>
<dsig:DigestValue>0Bzf0QXnUv78JdIB7agIcUqLmezQ9UfyonTDxI8XHJY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View File

@ -49,7 +49,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>5ys3FX0GwC5HbQQsJ01Um+KJ1sFYZimJviQ4EsvPty0=</dsig:DigestValue>
<dsig:DigestValue>K0l3fAkvd0Oo21R0laeDmEZKSLEecfuMxzULFmU9Dl4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@ -145,7 +145,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>AbKS0+JSVPlZR8uzUbbRI1ytNc4cHXFjp0FGtyZNKoM=</dsig:DigestValue>
<dsig:DigestValue>bBGXjzsUdez/4fBFf3aPgSq18+Y27v71pIMwhYseNKg=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View File

@ -1 +1 @@
a042ae5e10c88f431d83088528db5952b0a78fa9
cc564066d33e4a8809c3c565190fcf15db34768f

View File

@ -25,3 +25,30 @@ E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\S
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\MySql.Data.dll
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\Maticsoft.DBUtility.dll
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\Maticsoft.Common.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\ServiceSecurity.exe.config
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\ServiceSecurity.exe.manifest
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\ServiceSecurity.application
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\ServiceSecurity.exe
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\ServiceSecurity.pdb
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\DataServer.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\HslCommunication.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\LitJSON.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\log4net.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\Newtonsoft.Json.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\MySql.Data.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\Maticsoft.DBUtility.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\Maticsoft.Common.dll
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\DataServer.pdb
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\HslCommunication.xml
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\log4net.xml
F:\项目\东营两馆一宫项目\DongYing\Security\bin\Debug\Newtonsoft.Json.xml
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\Security.csproj.AssemblyReference.cache
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\Security.csproj.SuggestedBindingRedirects.cache
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\Security.ProjectInstaller.resources
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\Security.csproj.GenerateResource.cache
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\Security.csproj.CoreCompileInputs.cache
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\ServiceSecurity.exe.manifest
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\ServiceSecurity.application
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\Security.csproj.CopyComplete
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\ServiceSecurity.exe
F:\项目\东营两馆一宫项目\DongYing\Security\obj\Debug\ServiceSecurity.pdb

View File

@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>J0tTq3mxGG7wonr3/aIYzgMap5+sS1Z+uD0hKIVt6YY=</dsig:DigestValue>
<dsig:DigestValue>0Bzf0QXnUv78JdIB7agIcUqLmezQ9UfyonTDxI8XHJY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>

View File

@ -49,7 +49,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>5ys3FX0GwC5HbQQsJ01Um+KJ1sFYZimJviQ4EsvPty0=</dsig:DigestValue>
<dsig:DigestValue>K0l3fAkvd0Oo21R0laeDmEZKSLEecfuMxzULFmU9Dl4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
@ -145,7 +145,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>AbKS0+JSVPlZR8uzUbbRI1ytNc4cHXFjp0FGtyZNKoM=</dsig:DigestValue>
<dsig:DigestValue>bBGXjzsUdez/4fBFf3aPgSq18+Y27v71pIMwhYseNKg=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>