Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Download the Solution Example here: TasksAndClasses ScriptTasksAndClasses.dbsln

Solution Name: TasksAndClasses

Software Version:  10.0.6

Keywords:  Script. Tasks. Classes.

Summary

This solution example shows the use of Tasks and Classes.

Technical Information

All the programming in FactoryStudio consists of C# or Visual Basic 100% managed code 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 periodically 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

See "Scripts, Tasks and Classes" for more information.