blob: 07e48d3b3ff08748231e14981e9c23edfeef361f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
<FBType Comment="Service Interface Function Block Type" Name="String2LocalizedText">
<Identification Standard="61499-2"/>
<VersionInfo Author="dorofeev" Date="2019-08-20" Version="1.0"/>
<InterfaceList>
<EventInputs>
<Event Comment="Service Request" Name="REQ" Type="Event">
<With Var="locale"/>
<With Var="text"/>
</Event>
</EventInputs>
<EventOutputs>
<Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event">
<With Var="RD"/>
</Event>
</EventOutputs>
<InputVars>
<VarDeclaration Comment="Output data to resource" Name="locale" Type="STRING"/>
<VarDeclaration Comment="" Name="text" Type="STRING"/>
</InputVars>
<OutputVars>
<VarDeclaration Comment="Input data from resource" Name="RD" Type="LocalizedText"/>
</OutputVars>
</InterfaceList>
<Service Comment="Service Interface Function Block Type" LeftInterface="APPLICATION" RightInterface="RESOURCE">
<ServiceSequence Comment="" Name="normal_establishment">
<ServiceTransaction>
<InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
<OutputPrimitive Event="initialize" Interface="RESOURCE" Parameters="PARAMS"/>
<OutputPrimitive Event="INITO+" Interface="APPLICATION"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="unsuccessful_establishment">
<ServiceTransaction>
<InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="PARAMS"/>
<OutputPrimitive Event="initialize" Interface="RESOURCE" Parameters="PARAMS"/>
<OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="request_confirm">
<ServiceTransaction>
<InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
<OutputPrimitive Event="request" Interface="RESOURCE" Parameters="SD"/>
<OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="RD"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="request_inhibited">
<ServiceTransaction>
<InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD"/>
<OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="request_error">
<ServiceTransaction>
<InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD"/>
<OutputPrimitive Event="request" Interface="RESOURCE" Parameters="SD"/>
<OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="indication_response">
<ServiceTransaction>
<InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD"/>
<OutputPrimitive Event="IND+" Interface="APPLICATION" Parameters="RD"/>
</ServiceTransaction>
<ServiceTransaction>
<InputPrimitive Event="RSP" Interface="APPLICATION" Parameters="QI,SD"/>
<OutputPrimitive Event="response" Interface="RESOURCE" Parameters="QI,SD"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="indication_inhibited">
<ServiceTransaction>
<InputPrimitive Event="indicate" Interface="RESOURCE" Parameters="RD,QI=FALSE"/>
<OutputPrimitive Event="inhibited" Interface="RESOURCE"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="error_indication">
<ServiceTransaction>
<InputPrimitive Event="error" Interface="RESOURCE" Parameters="STATUS"/>
<OutputPrimitive Event="IND-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="application_initiated_termination">
<ServiceTransaction>
<InputPrimitive Event="INIT-" Interface="APPLICATION"/>
<OutputPrimitive Event="terminate" Interface="RESOURCE"/>
<OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
<ServiceSequence Comment="" Name="resource_initiated_termination">
<ServiceTransaction>
<OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/>
</ServiceTransaction>
</ServiceSequence>
</Service>
</FBType>