危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、BLL/API服务、WebAPI控制器、Model项、SQL脚本与接口文档)

排除 CreateModel.bat(含明文sa密码与本地服务器名,未入库)
This commit is contained in:
2026-08-24 11:07:59 +08:00
parent 4925a6c4b0
commit 55944d732a
323 changed files with 9806 additions and 922 deletions
+7 -7
View File
@@ -323,7 +323,7 @@ namespace BLL
}
}
}
catch (Exception ex)
catch (Exception)
{ }
}
@@ -706,7 +706,7 @@ namespace BLL
try
{
Thread.Sleep(sleepTime);
}catch(Exception ex) { }
}catch(Exception) { }
//古雷 环境数据
returndata = APIGetHttpService.OutsideHttp("http://dust.0531yun.cn/api/getTokenByAcc?loginName=pcbpa2024&password=pcbpa2024", "GET", "application/json;charset=utf-8");
@@ -798,7 +798,7 @@ namespace BLL
{
Thread.Sleep(sleepTime);
}
catch (Exception ex) { }
catch (Exception) { }
//古雷焚烧 环境数据
returndata = APIGetHttpService.OutsideHttp("http://dust.0531yun.cn/api/getTokenByAcc?loginName=gufs2024&password=gufs2024", "GET", "application/json;charset=utf-8");
if (!string.IsNullOrEmpty(returndata))
@@ -890,7 +890,7 @@ namespace BLL
{
Thread.Sleep(sleepTime);
}
catch (Exception ex) { }
catch (Exception) { }
//天津南港LNG冷能利用 环境数据
returndata = APIGetHttpService.OutsideHttp("http://dust.0531yun.cn/api/getTokenByAcc?loginName=tjng2024&password=tjng2024", "GET", "application/json;charset=utf-8");
@@ -982,7 +982,7 @@ namespace BLL
{
Thread.Sleep(sleepTime);
}
catch (Exception ex) { }
catch (Exception) { }
//中煤气化、新增输煤栈桥项目 环境数据
returndata = APIGetHttpService.OutsideHttp("http://dust.0531yun.cn/api/getTokenByAcc?loginName=yltcqh2024&password=yltcqh2024", "GET", "application/json;charset=utf-8");
@@ -1074,7 +1074,7 @@ namespace BLL
{
Thread.Sleep(sleepTime);
}
catch (Exception ex) { }
catch (Exception) { }
//中煤全场系统工程 环境数据
returndata = APIGetHttpService.OutsideHttp("http://dust.0531yun.cn/api/getTokenByAcc?loginName=yltcxt2024&password=yltcxt2024", "GET", "application/json;charset=utf-8");
@@ -1167,7 +1167,7 @@ namespace BLL
{
Thread.Sleep(sleepTime);
}
catch (Exception ex) { }
catch (Exception) { }
//中沙古雷厂前区 环境数据
+5 -5
View File
@@ -162,7 +162,7 @@ namespace BLL
}
}
catch (Exception ex)
catch (Exception)
{
ErrLogInfo.WriteLog("出入同步出错!");
}
@@ -198,7 +198,7 @@ namespace BLL
{
GetDataService.SyncEnvironment();
}
catch (Exception ex)
catch (Exception)
{
ErrLogInfo.WriteLog("环境同步出错!");
}
@@ -254,7 +254,7 @@ namespace BLL
try
{
DoSynchData();
}catch(Exception ex)
}catch(Exception)
{
}
@@ -342,7 +342,7 @@ namespace BLL
weather.WeaNight = j2.wea_night;
list.Add(weather);
}
catch (Exception ex)
catch (Exception)
{
}
@@ -351,7 +351,7 @@ namespace BLL
db.SubmitChanges();
}
}
catch (Exception ex) {
catch (Exception) {
}
}
#endregion