Moving micasa 1.5 trunk to Novell forge.
This commit is contained in:
29
c_micasad/lib/common/MiCASAStore.cs
Normal file
29
c_micasad/lib/common/MiCASAStore.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Novell.CASA.MiCasa.Common;
|
||||
using Novell.CASA.MiCasa.Communication;
|
||||
|
||||
namespace Novell.CASA.MiCasa.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for MiCASAStore.
|
||||
/// </summary>
|
||||
public class MiCASAStore
|
||||
{
|
||||
public MiCASAStore()
|
||||
{
|
||||
//
|
||||
// TODO: Add constructor logic here
|
||||
//
|
||||
}
|
||||
|
||||
public static bool IsLocked()
|
||||
{
|
||||
Object o = MiCasaRequestReply.Send(MiCasaRequestReply.VERB_GET_STORE_STATUS);
|
||||
|
||||
if ((o != null) && ((System.Int32)o == 2))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user