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.
파일 보기 프로젝트 열기: SoftingIndustrial/OPC-Classic-SDK

공개 메소드들

메소드 설명
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