/// This property should be used for commands which have non-fixed format.
/// empty string will be returned in case of some internal error
/// </summary>
- public string GetUnfixedCommand
+ public string UnfixedCommand
{
get
{
ErrorCode error = VcCmdGetUnfixedCommand(_handle, out unfixedCommand);
if (error != ErrorCode.None)
{
- Log.Error(LogTag, "GetUnfixedCommand Failed with error " + error);
+ Log.Error(LogTag, "UnfixedCommand Failed with error " + error);
return "";
}
/// <precondition>
/// The State must be Initialized or Ready.
/// </precondition>
- public static string GetCurrentLanaguge
+ public static string CurrentLanguage
{
get
{
- string currentLanaguge;
+ string currentLanguage;
- ErrorCode error = VcGetCurrentLanguage(out currentLanaguge);
+ ErrorCode error = VcGetCurrentLanguage(out currentLanguage);
if (error != ErrorCode.None)
{
- Log.Error(LogTag, "CurrentLanaguge Failed with error " + error);
+ Log.Error(LogTag, "CurrentLanguage Failed with error " + error);
return "";
}
- return currentLanaguge;
+ return currentLanguage;
}
}
/// <precondition>
/// The State must be Initialized or Ready.
/// </precondition>
- public static State GetState
+ public static State State
{
get
{
ErrorCode error = VcGetState(out state);
if (error != ErrorCode.None)
{
- Log.Error(LogTag, "GetState Failed with error " + error);
+ Log.Error(LogTag, "State Failed with error " + error);
return State.Unavailable;
}
/// <precondition>
/// The State must be Ready.
/// </precondition>
- public static ServiceState GetServiceState
+ public static ServiceState ServiceState
{
get
{
ErrorCode error = VcGetServiceState(out state);
if (error != ErrorCode.None)
{
- Log.Error(LogTag, "GetServiceState Failed with error " + error);
+ Log.Error(LogTag, "ServiceState Failed with error " + error);
return ServiceState.Unavailable;
}