| <?xml version="1.0" encoding="UTF-8" ?> |
| <!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd"> |
| <FBType Comment="Service Interface Function Block Type" Name="CSV_WRITER_9"> |
| <Identification Description="Copyright (c) 2012 ACIN This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0"/> |
| <VersionInfo Author="Alois Zoitl" Date="2012-06-16" Organization="ACIN" Version="1.0"/> |
| <InterfaceList> |
| <EventInputs> |
| <Event Comment="Service Initialization" Name="INIT" Type="Event"> |
| <With Var="QI"/> |
| <With Var="FILE_NAME"/> |
| </Event> |
| <Event Comment="Service Request" Name="REQ" Type="Event"> |
| <With Var="QI"/> |
| <With Var="SD_1"/> |
| <With Var="SD_2"/> |
| <With Var="SD_3"/> |
| <With Var="SD_4"/> |
| <With Var="SD_5"/> |
| <With Var="SD_6"/> |
| <With Var="SD_7"/> |
| <With Var="SD_8"/> |
| <With Var="SD_9"/> |
| </Event> |
| </EventInputs> |
| <EventOutputs> |
| <Event Comment="Initialization Confirm" Name="INITO" Type="Event"> |
| <With Var="QO"/> |
| <With Var="STATUS"/> |
| </Event> |
| <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event"> |
| <With Var="QO"/> |
| <With Var="STATUS"/> |
| </Event> |
| </EventOutputs> |
| <InputVars> |
| <VarDeclaration Comment="Event Input Qualifier" Name="QI" Type="BOOL"/> |
| <VarDeclaration Comment="Service Parameters" Name="FILE_NAME" Type="STRING"/> |
| <VarDeclaration Comment="Output data to resource" Name="SD_1" Type="ANY"/> |
| <VarDeclaration Name="SD_2" Type="ANY"/> |
| <VarDeclaration Name="SD_3" Type="ANY"/> |
| <VarDeclaration Name="SD_4" Type="ANY"/> |
| <VarDeclaration Name="SD_5" Type="ANY"/> |
| <VarDeclaration Name="SD_6" Type="ANY"/> |
| <VarDeclaration Name="SD_7" Type="ANY"/> |
| <VarDeclaration Name="SD_8" Type="ANY"/> |
| <VarDeclaration Name="SD_9" Type="ANY"/> |
| </InputVars> |
| <OutputVars> |
| <VarDeclaration Comment="Event Output Qualifier" Name="QO" Type="BOOL"/> |
| <VarDeclaration Comment="File access status" Name="STATUS" Type="STRING"/> |
| </OutputVars> |
| </InterfaceList> |
| <Service Comment="Service Interface Function Block Type" LeftInterface="APPLICATION" RightInterface="RESOURCE"> |
| <ServiceSequence Name="normal_establishment"> |
| <ServiceTransaction> |
| <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="FILE_NAME"/> |
| <OutputPrimitive Event="INITO+" Interface="APPLICATION" Parameters="STATUS"/> |
| </ServiceTransaction> |
| </ServiceSequence> |
| <ServiceSequence Name="unsuccessful_establishment"> |
| <ServiceTransaction> |
| <InputPrimitive Event="INIT+" Interface="APPLICATION" Parameters="FILE_NAME"/> |
| <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/> |
| </ServiceTransaction> |
| </ServiceSequence> |
| <ServiceSequence Name="request_confirm"> |
| <ServiceTransaction> |
| <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD_1,SD_2,SD_3,SD_4,SD_5,SD_6,SD_7,SD_8,SD_9"/> |
| <OutputPrimitive Event="CNF+" Interface="APPLICATION" Parameters="STATUS"/> |
| </ServiceTransaction> |
| </ServiceSequence> |
| <ServiceSequence Name="request_inhibited"> |
| <ServiceTransaction> |
| <InputPrimitive Event="REQ-" Interface="APPLICATION" Parameters="SD_1,SD_2,SD_3,SD_4,SD_5,SD_6,SD_7,SD_8,SD_9"/> |
| <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/> |
| </ServiceTransaction> |
| </ServiceSequence> |
| <ServiceSequence Name="request_error"> |
| <ServiceTransaction> |
| <InputPrimitive Event="REQ+" Interface="APPLICATION" Parameters="SD_1,SD_2,SD_3,SD_4,SD_5,SD_6,SD_7,SD_8,SD_9"/> |
| <OutputPrimitive Event="CNF-" Interface="APPLICATION" Parameters="STATUS"/> |
| </ServiceTransaction> |
| </ServiceSequence> |
| <ServiceSequence Name="application_initiated_termination"> |
| <ServiceTransaction> |
| <InputPrimitive Event="INIT-" Interface="APPLICATION"/> |
| <OutputPrimitive Event="INITO-" Interface="APPLICATION" Parameters="STATUS"/> |
| </ServiceTransaction> |
| </ServiceSequence> |
| </Service> |
| </FBType> |