|
@@ -1013,7 +1013,7 @@ namespace EVCB_OCPP.WSServer
|
|
|
{
|
|
|
using (SqlConnection conn = new SqlConnection(webConnectionString))
|
|
|
{
|
|
|
- string strSql = "SELECT [Value] FROM[StandardOCPP_Web].[dbo].[KernelConfig]" +
|
|
|
+ string strSql = "SELECT [Value] FROM [dbo].[KernelConfig] " +
|
|
|
"where SystemKey = 'DenyModelNames'; ";
|
|
|
var result = await conn.QueryAsync<string>(strSql);
|
|
|
|
|
@@ -1502,7 +1502,7 @@ namespace EVCB_OCPP.WSServer
|
|
|
List<StationInfoDto> stations = null;
|
|
|
using (SqlConnection conn = new SqlConnection(webConnectionString))
|
|
|
{
|
|
|
- string strSql = "SELECT[Id],[LBMode],[LBCurrent] as Availability FROM[StandardOCPP_Web].[dbo].[Station]" +
|
|
|
+ string strSql = "SELECT[Id],[LBMode],[LBCurrent] as Availability FROM [dbo].[Station] " +
|
|
|
"where LBMode = 1; ";
|
|
|
var result = await conn.QueryAsync<StationInfoDto>(strSql);
|
|
|
stations = result.ToList();
|