|
@@ -99,8 +99,7 @@ namespace AwInitilizer.Assist
|
|
}
|
|
}
|
|
|
|
|
|
if (!result.Contains("Button1") ||
|
|
if (!result.Contains("Button1") ||
|
|
- !result.Contains("Button2") ||
|
|
+ !result.Contains("Button2") )
|
|
- !result.Contains("EmergencyButton"))
|
|
|
|
{
|
|
{
|
|
return new EvApiResult<ButtonStatus>()
|
|
return new EvApiResult<ButtonStatus>()
|
|
{
|
|
{
|
|
@@ -126,7 +125,7 @@ namespace AwInitilizer.Assist
|
|
{
|
|
{
|
|
return new EvApiResult<Dictionary<string, string>>()
|
|
return new EvApiResult<Dictionary<string, string>>()
|
|
{
|
|
{
|
|
- Result = toReturn,
|
|
+ Result = null,
|
|
Response = getResult.Msg,
|
|
Response = getResult.Msg,
|
|
};
|
|
};
|
|
}
|
|
}
|
|
@@ -171,7 +170,7 @@ namespace AwInitilizer.Assist
|
|
{
|
|
{
|
|
return new EvApiResult<string>()
|
|
return new EvApiResult<string>()
|
|
{
|
|
{
|
|
- Result = string.Empty,
|
|
+ Result = null,
|
|
Response = getResult.Msg,
|
|
Response = getResult.Msg,
|
|
};
|
|
};
|
|
}
|
|
}
|
|
@@ -317,7 +316,7 @@ namespace AwInitilizer.Assist
|
|
{
|
|
{
|
|
return new EvApiResult<Dictionary<int, string>>()
|
|
return new EvApiResult<Dictionary<int, string>>()
|
|
{
|
|
{
|
|
- Result = connectorStatusPair,
|
|
+ Result = null,
|
|
Response = getResult.Msg
|
|
Response = getResult.Msg
|
|
};
|
|
};
|
|
}
|
|
}
|