summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_cpplibrary/src/lib/encode/XThresholdCrossingAlertFields.cpp
blob: c9655c90187546b526f896793cf12b7e951438b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "XThresholdCrossingAlertFields.h"
#include "XThresholdCrossingAlertFieldsImp.h"

std::shared_ptr<XThresholdCrossingAlertFields> vagt::encode::XThresholdCrossingAlertFields::create(std::shared_ptr<XCommonEventHeader> header, XEnumThresholdCrossingAlertFieldsAlertAction alertAction, XEnumThresholdCrossingAlertFieldsAlertType alertType, XEnumThresholdCrossingAlertFieldsEventSeverity eventSeverity, const XString & alertDescription, const XString & collectionTimestamp, const XString & eventStartTimestamp, const XArrayOfXCounter & additionalParameters)
{
    return std::make_shared<XThresholdCrossingAlertFieldsImp>(header,
        alertAction,
        alertType,
        eventSeverity,
        alertDescription,
        collectionTimestamp,
        eventStartTimestamp,
        additionalParameters);
 }