Download the Project Example here:

  • Project Name: TasksAndClasses
  • Software Version:  9.2 sp2 (9.2.26)
  • Keywords:  Script. Tasks. Classes.

Project Summary

This project 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 Edit > 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 Edit > Scripts > Classes.

Reference Information

See "Scripts and .Net Framework" for more information.

In this section...

  • No labels