C# Класс Softing.OPCToolbox.Server.WebTemplate

Web template is the interface for OPC server's web interface. This class must be derived and HandleWebTemplate method must be overriden to provide customized behavior to the web server.
Показать файл Открыть проект

Открытые методы

Метод Описание
HandleWebTemplate ( string aTemplateName, long aNumArgs, Array anArgs, string &aResult ) : int

OPCToolbox callback handler for the HTTP server requests. This method must be overriden for the OPC server application usage. The pattern is that the Web client provides a Template name with some arguments and the Template handler will build a result string accordingly to the application's need.

WebTemplate ( ) : System

Default constructor. No features implemented

Описание методов

HandleWebTemplate() публичный Метод

OPCToolbox callback handler for the HTTP server requests. This method must be overriden for the OPC server application usage. The pattern is that the Web client provides a Template name with some arguments and the Template handler will build a result string accordingly to the application's need.
public HandleWebTemplate ( string aTemplateName, long aNumArgs, Array anArgs, string &aResult ) : int
aTemplateName string /// name of the template to be resolved. ///
aNumArgs long /// the number of arguments of the Template. ///
anArgs Array /// the string array with the arguments. ///
aResult string /// out string parameter to be filled by the method. ///
Результат int

WebTemplate() публичный Метод

Default constructor. No features implemented
public WebTemplate ( ) : System
Результат System