diff --git a/.github/workflows/AutosarUmlActionExample.yml b/.github/workflows/AutosarUmlActionExample.yml new file mode 100644 index 0000000..b062e1e --- /dev/null +++ b/.github/workflows/AutosarUmlActionExample.yml @@ -0,0 +1,19 @@ +# Copyright (c) IncQuery Labs cPlc. +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. + +# The following secrets need to be defined: INCQUERY_USERNAME, INCQUERY_PASSWORD, INCQUERY_AUTOSAR_UML_INTEGRATION_LICENSE + +on: + push +jobs: + AutosarUml: + defaults: + run: + shell: pwsh + runs-on: windows-latest + timeout-minutes: 15 + steps: + - name: Checkout Git repository + uses: actions/checkout@v3 diff --git a/counting-logic.arxml b/counting-logic.arxml new file mode 100644 index 0000000..b6fb746 --- /dev/null +++ b/counting-logic.arxml @@ -0,0 +1,313 @@ + + + + + CountingLogic + + + Components + + + Application + + + consumer + /CountingLogic/Components/CountConsumer + + + counter + /CountingLogic/Components/Counter + + + generator + /CountingLogic/Components/CountAlterer + + + + + counter_control_to_generator_alterCount + + /CountingLogic/Components/Application/counter + /CountingLogic/Components/Counter/control + + + /CountingLogic/Components/Application/generator + /CountingLogic/Components/CountAlterer/alterCount + + + + counter_data_to_consumer_readCount + + /CountingLogic/Components/Application/counter + /CountingLogic/Components/Counter/data + + + /CountingLogic/Components/Application/consumer + /CountingLogic/Components/CountConsumer/readCount + + + + + + CountAlterer + + + + alterCount + /CountingLogic/Interfaces/CounterControlInterface + + + + + CountConsumer + + + readCount + + + /CountingLogic/Interfaces/CounterDataInterface/count + NONE + + + + + + false + 5 + + + /CountingLogic/Interfaces/CounterDataInterface + + + + + Counter + + + control + /CountingLogic/Interfaces/CounterControlInterface + + + data + + + /CountingLogic/Interfaces/CounterDataInterface/count + SATURATE + + + + + + false + + + /CountingLogic/Interfaces/CounterDataInterface + + + + + ib + + + onDecrease + /CountingLogic/Components/Counter/ib/Decrease + + /CountingLogic/Components/Counter/control + /CountingLogic/Interfaces/CounterControlInterface/decrease + + + + onIncrease + /CountingLogic/Components/Counter/ib/Increase + + /CountingLogic/Components/Counter/control + /CountingLogic/Interfaces/CounterControlInterface/increase + + + + + + current + /CountingLogic/DataTypes/CounterDataType + + + + + Decrease + + + send + + + /CountingLogic/Components/Counter/data + /CountingLogic/Interfaces/CounterDataInterface/count + + + + + + + readCurrent + + /CountingLogic/Components/Counter/ib/current + + + + + + writeCurrent + + /CountingLogic/Components/Counter/ib/current + + + + + + Increase + + + send + + + /CountingLogic/Components/Counter/data + /CountingLogic/Interfaces/CounterDataInterface/count + + + + + + + readCurrent + + /CountingLogic/Components/Counter/ib/current + + + + + + writeCurrent + + /CountingLogic/Components/Counter/ib/current + + + + + + + + + + + + DataTypes + + + CounterDataType + VALUE + + + + /CountingLogic/DataTypes/CounterDataType_sizeLimits + + + + + + CounterDataTypeImpl + VALUE + + + + /CountingLogic/DataTypes/CounterDataType_sizeLimits + + + + + + CounterDataType_sizeLimits + + + + 0 + 100 + + + 0 + 100 + + + + + + dataTypeMappingSet + + + /CountingLogic/DataTypes/CounterDataType + /CountingLogic/DataTypes/CounterDataTypeImpl + + + + + + + Interfaces + + + CounterControlInterface + false + + + decrease + + + delta + /CountingLogic/DataTypes/CounterDataType + IN + + + result + /CountingLogic/DataTypes/CounterDataType + OUT + + + + + increase + + + delta + /CountingLogic/DataTypes/CounterDataType + IN + + + result + /CountingLogic/DataTypes/CounterDataType + OUT + + + + + + + CounterDataInterface + false + + + count + + + + QUEUED + + + + /CountingLogic/DataTypes/CounterDataType + + + + + + + + + diff --git a/counting-logic.qeax b/counting-logic.qeax new file mode 100644 index 0000000..2d1291c Binary files /dev/null and b/counting-logic.qeax differ