info
Download the Solution Example here:
- Solution Name: TasksAndClasses
- Software Version: 10.0.6
- Keywords: Script. Tasks. Classes.
Solution Summary
This solution example shows the use of Tasks and Classes.
Technical Information
All of the programming in FactoryStudio consists of C# or Visual Basic 100% managed code that is designed to run in the Microsoft .NET framework. These languages are used to create Scripts that run periodically or when specified events occur.
Tasks are program units, written in VB.Net or C#, that execute either when a trigger event occurs or periodocally at specified intervals. FactoryStudio includes the following built-in Tasks:
ServerStartup, ServerShutdown, ClientStartup, ClientShutdown. To configure Tasks go to Scripts > Tasks.
Classes let you create a repository of class libraries, methods, and functions that you can use across the application. You can call them from Tasks, other Classes, and displays (code behind).
FactoryStudio comes with the following built-in classes: ServerMain and ClientMain. To configure classes go to Scripts > Classes.
Reference Information
See "Scripts, Tasks and Classes" for more information.
In this section...