Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
PAL3TaskInterfaces.cs
Go to the documentation of this file.
1using Ctc.Palplus.Integration.Driver;
2using Ctc.Palplus.Integration.Driver.Direct;
3using System;
4
6{
11 public interface IPAL3Services : IDevice
12 {
16 IPalPlusConfigurationService ConfigService
17 {
18 get;
19 }
20
24 IDirectExecutionSession Session
25 {
26 get;
27 }
28
32 IPalPlusDirectService DirectService
33 {
34 get;
35 }
36
42 IActivityResult ExecuteActivity(IActivity act);
43
50 bool Simulating { get; }
51
55 event Action BeforeSessionReset;
56
60 IServiceLocator Services { get; }
61
70 IModuleReference GetModuleReference(string strTrayName, ref int vialNo, bool bAllowVolatileVials = true);
71
78 IModuleReference AllocateVial(string strTrayName, int vialNo);
84 IActivityResult ExecuteActivityWithoutErrorHandling(IActivity act);
85
93 bool KeepSession { get; set; }
94
100 {
104 public bool HomeLeftHead { get; set; } = true;
108 public bool HomeRightHead { get; set; } = true;
109 }
110
115 event EventHandler<DualHeadHomingOptions> BeforeHomingDualHead;
116 }
117}
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
To be implemented by the "device driver" part of a Chronos plugin.
An object implementing this interface is provided by Chronos and passed to the PAL3task just before e...
IActivityResult ExecuteActivityWithoutErrorHandling(IActivity act)
Use this to actually execute an activity, bypassing the normal error handler.
Action BeforeSessionReset
Hook up to this event if you want to be notified just before the PALs session is reset (after an erro...
IPalPlusConfigurationService ConfigService
The service which provides information about the device configuration, like trays and modules.
IDirectExecutionSession Session
The session you should use for any operation on the PAL3.
IActivityResult ExecuteActivity(IActivity act)
Use this to actually execute an activity.
bool Simulating
Gets a value indicating whether this IPAL3Services is simulating.
IModuleReference GetModuleReference(string strTrayName, ref int vialNo, bool bAllowVolatileVials=true)
Gets a module reference for a position.
IModuleReference AllocateVial(string strTrayName, int vialNo)
Allocates the vial.
IServiceLocator Services
Gets the Driver Service Locator to obtain Driver services.
EventHandler< DualHeadHomingOptions > BeforeHomingDualHead
For dual head samplers, the default behavior is to home the sampler heads before resetting the sessio...
bool KeepSession
Enforce keeping the session open until the schedule is finished.
IPalPlusDirectService DirectService
Gets PAL3 the Direct Service.
Lets you selectively suppress the usual homing of a Dual Head sampler.
bool HomeRightHead
Move the right head to the home position.
bool HomeLeftHead
Move the left head to the home position.