1. OG data type - IModuleInterface

    Article: AN0001703Updated:

    Definition of interface for module. Each module has to implement this interface. The module is called and initialized by ObjectGears by means of this interface.

    Object properties

    Name Description
    string GetPropertyString(string code) Function returns value of the property according to the property code.
    int? GetPropertyInt(string code) Function returns value of the property according to the property code.
    DateTime? GetPropertyDateTime(string code) Function returns value of the property according to the property code.
    object GetScriptObject() Function returns object, that is passed on to scripts for calling its functions and methods.
    void Initialization(IApplication application) ObjectGears system initializes the module after the system start by means of this function.
    bool EnableSendSMS Indication, whether the module enables to send SMS messages.
    void SendSMS( string phone, string message) Method for sending SMS message.

     

     

×