laatzen/Common/Ui/LegacyGenesisControl/ICtlTestBench.cs
2022-04-06 10:42:16 +02:00

60 lines
1.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using XylemCommonUiLegacyGenCtl.DataPackage;
using XylemCommonUiLegacyGenCtl.Enums;
namespace XylemCommonUiLegacyGenCtl
{
[Guid("852A21C6-E5A8-453E-833E-376804AAC368")
, ComVisible(true)
, InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface ICtlTestBench : IDisposable
{
void Init(int Slots, int TestBenchId, int UserId, bool Research);
dynamic GetContainer();
void Kill();
bool GetWatingForDecision();
bool GetDirectStart();
TempSouceType GetTempSouce();
int GetMeterSize();
int GetDelayInSBeforStart();
bool GetAllChanelsRequired();
bool GetProductionMode();
bool GetSlotPresent(int slot);
string GetSlotSerialNr(int slot);
bool GetSlotFlowAdjustment(int slot);
decimal GetFlowAdjustmentTarget(int slot);
bool GetPreAdjustment(int slot);
bool GetFlowTesting(int slot);
bool GetSlotFlowAdjustmentAny();
bool GetPreAdjustmentAny();
bool GetSlotFlowTestingAny();
}
[ComVisible(true)]
[Guid("93398AD7-0534-43CE-908C-B016B61BFFBC")]
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
public interface ITestBenchEvents
{
void OnUserInputDone();
}
}