C# Class iSpyApplication.Helper

Exibir arquivo Open project: ispysoftware/iSpy

Public Properties

Property Type Description
Actions ScheduleAction[]
AlertGroups List
WebRestrictedAlertTypes string[]

Private Properties

Property Type Description
ArchiveAndDelete bool
ArchiveFile bool
GetMediaDirectory string
GetMediaDirectory string

Public Methods

Method Description
AlertSummary ( objectsActionsEntry e ) : string
CalculateTrigger ( double percent ) : double
CanAlert ( string groupname, int resetInterval ) : bool
CopyFolder ( string sourceFolder, string destFolder ) : void
DeleteAllContent ( int objectTypeId, int objectid ) : void
GetArea ( Rectangle container, int imageW, int imageH ) : Rectangle
GetDictionary ( string cfg, char delim ) : string>.Dictionary
GetDirectory ( int objectTypeId, int objectId ) : string
GetDllMachineType ( string dllPath ) : MachineType
GetFullPath ( int ot, int oid ) : string
GetMotionDataPoints ( StringBuilder motionData ) : string
HasFeature ( System.Enums feature ) : bool
IsAlphaNumeric ( string strToCheck ) : System.Boolean
ScheduleDescription ( int id ) : string
SetTitle ( Form f ) : void
TestHttpurl ( string source, string cookies, string login, string password ) : bool
TestRtspurl ( Uri uri, string login, string password ) : bool
UnixTicks ( this dt ) : double
UnmanagedDllIs64Bit ( string dllPath ) : bool
ZeroPad ( int i ) : string

Private Methods

Method Description
ArchiveAndDelete ( string filename ) : bool
ArchiveFile ( string filename ) : bool
GetMediaDirectory ( int directoryIndex ) : string
GetMediaDirectory ( int ot, int oid ) : string

Method Details

AlertSummary() public static method

public static AlertSummary ( objectsActionsEntry e ) : string
e objectsActionsEntry
return string

CalculateTrigger() public static method

public static CalculateTrigger ( double percent ) : double
percent double
return double

CanAlert() public static method

public static CanAlert ( string groupname, int resetInterval ) : bool
groupname string
resetInterval int
return bool

CopyFolder() public static method

public static CopyFolder ( string sourceFolder, string destFolder ) : void
sourceFolder string
destFolder string
return void

DeleteAllContent() public static method

public static DeleteAllContent ( int objectTypeId, int objectid ) : void
objectTypeId int
objectid int
return void

GetArea() public static method

public static GetArea ( Rectangle container, int imageW, int imageH ) : Rectangle
container System.Drawing.Rectangle
imageW int
imageH int
return System.Drawing.Rectangle

GetDictionary() public static method

public static GetDictionary ( string cfg, char delim ) : string>.Dictionary
cfg string
delim char
return string>.Dictionary

GetDirectory() public static method

public static GetDirectory ( int objectTypeId, int objectId ) : string
objectTypeId int
objectId int
return string

GetDllMachineType() public static method

public static GetDllMachineType ( string dllPath ) : MachineType
dllPath string
return MachineType

GetFullPath() public static method

public static GetFullPath ( int ot, int oid ) : string
ot int
oid int
return string

GetMotionDataPoints() public static method

public static GetMotionDataPoints ( StringBuilder motionData ) : string
motionData StringBuilder
return string

HasFeature() public static method

public static HasFeature ( System.Enums feature ) : bool
feature System.Enums
return bool

IsAlphaNumeric() public static method

public static IsAlphaNumeric ( string strToCheck ) : System.Boolean
strToCheck string
return System.Boolean

ScheduleDescription() public static method

public static ScheduleDescription ( int id ) : string
id int
return string

SetTitle() public static method

public static SetTitle ( Form f ) : void
f System.Windows.Forms.Form
return void

TestHttpurl() public static method

public static TestHttpurl ( string source, string cookies, string login, string password ) : bool
source string
cookies string
login string
password string
return bool

TestRtspurl() public static method

public static TestRtspurl ( Uri uri, string login, string password ) : bool
uri System.Uri
login string
password string
return bool

UnixTicks() public static method

public static UnixTicks ( this dt ) : double
dt this
return double

UnmanagedDllIs64Bit() public static method

public static UnmanagedDllIs64Bit ( string dllPath ) : bool
dllPath string
return bool

ZeroPad() public static method

public static ZeroPad ( int i ) : string
i int
return string

Property Details

Actions public_oe static_oe property

public static ScheduleAction[] Actions
return ScheduleAction[]

AlertGroups public_oe static_oe property

public static List AlertGroups
return List

WebRestrictedAlertTypes public_oe static_oe property

public static string[] WebRestrictedAlertTypes
return string[]