public GetReport ( ISystemContext context, ushort namespaceIndex, ReportType reportType, |
||
context | ISystemContext | The UA context to use for the conversion. |
namespaceIndex | ushort | The index assigned to the type model namespace. |
reportType | ReportType | The type of report. |
row | The source for the report. | |
return |
public Opc.Ua.BaseEventState GetReport(ISystemContext context, ushort namespaceIndex, ReportType reportType, DataRow row)
{
switch (reportType)
{
case ReportType.FluidLevelTest: return GetFluidLevelTestReport(context, namespaceIndex, row);
case ReportType.InjectionTest: return GetInjectionTestReport(context, namespaceIndex, row);
}
return null;
}