Skip to content

Persistent data exchange#268

Merged
PTKu merged 7 commits into256-_TEMPLATE_Template_Simple_needs_additional_testing_and_improvmentsfrom
PersistentDataExchange
Nov 9, 2023
Merged

Persistent data exchange#268
PTKu merged 7 commits into256-_TEMPLATE_Template_Simple_needs_additional_testing_and_improvmentsfrom
PersistentDataExchange

Conversation

@kuh0005
Copy link
Copy Markdown
Collaborator

@kuh0005 kuh0005 commented Nov 9, 2023

Description

Added presistent data exchange -> tool that store or load any primitive variable to/from repository.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Third party dependency update
  • Third party dependency addition

How Has This Been Tested?

Written tests on Controller side (Ax) and .net side

Test Configuration:

  • simatix-ax version (apax.yml):
  • ix version:
  • PLC Target system: plcsim
  • PLC Firmware version:
  • OS System: window
  • Other relevant hardware:

Checklist:

  • [x ] My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@kuh0005 kuh0005 requested a review from PTKu November 9, 2023 11:51
@PTKu PTKu merged commit cba4969 into 256-_TEMPLATE_Template_Simple_needs_additional_testing_and_improvments Nov 9, 2023
@PTKu PTKu deleted the PersistentDataExchange branch November 9, 2023 12:20
PTKu added a commit that referenced this pull request Nov 23, 2023
…257)

* Create draft PR for #256

* again paths, paths and paths.... :(

* again paths, paths and paths.... :(

* messenger and logger optimization
- messenger now reduces the number of items need to be read from the controller by gouping message status into a single variable.
- logger now limits the reading of the messages to caret counter.

* performance improvements
- replaces context checks using simple expression

* test fix where improper context mock implementation

* adjust template.simple config + additions

* adjust template.simple config + additions

* _axoContext

* THIS._context_ in inherrited object to _context_

* THIS.GetContext() work in tasks with property _context_

* seq, axotask, axoobj

* sequncer init steps

* getContextUnsafe()

* ignore

* adjusts to lates AX# update

* cylinder init when context is nulll

* task execute optimalization

* cylinder init fix

* axo task inline

* axo task clean up

* updates to AX# 0.15.0-alpha.159

* messanger on conditition

* AxoCylinder optimize

* axo task status

* fix axotask

* sequencer optimalization

* sequncer cast

* var for opencycle count

* step inline calls

* fixing axostep

* AxoCylinder initialize only with AxoObject

* investigation for cylinder speed up

* wip for synch

* axo dataman performance opt.

-10% on cyclic calls

* AxoDataman - go back

* axodatatman optimized just object init

* axocomponent inlining

* AxoInsight optimalization - init of objects

* axo messanger inline optimalization

* fix cylinder app

* serve clean

* sets dotnet to 7.0.402

* updates ax# packages and remover -L due to apax 2

* fix an issue with string interpolation in remote task

* [wip] improvements to messaging add new UI

* nesting depth reduction in data

* nesting depth redution in inspectors

* template simple refactoring

* various asps

* additional fixies to axomessenger

* asp

* fixes an issue in log dequeue missing await

* fix some issues with data in template.simple

* additional visual improvement on AxoComponent and AxoMessenger details

* various template.simple additions

* add remote data handling for starer unit

* optimalization in Digital and Analog signals

* adds guiding feature to templates

* asp

* Create draft PR for #262

* Add Draggable project, with all component for draggable items

* Add readme

* Using mongo repo

* mono ref in twin, init repo on server side

* add proj ref to server app

* entityData, UnitHeader, estations

* unit process data

* snippets

* Changes in Draggable - added more customizing option. Updated readme

* context initialize entity repository

* unit template razor fix

* template service fix

* repository extension

* code tour

* split settings and data

* Unit tour

* added technology data on plc side

* try to fix tech data

* fix unit template service init

* fix tour

* fix template services

* tech settings to navigation menu

* technology data view

* starter unit technology data

* technology data in ground and auto seq

* fix technology data in template.simple

* Rename to VisualComposer.
Presentation options changed.

* add visual composer to template

* Unit object in unit

* UnitObject as a public class

- issue with accessibility on .net side

* Components member fix in Unit

* UnitTemplate - init repositories, naming

* Added accordion in "Show all"

* checks for apax.yml existence in dirs

* updates docfx

* Do not traverse the entire tree

* Chnage buttons visualization

* WIP

* Persistent data exchange (#268)

* mongo dateonly serialization

* Persistent data exchange in PLC and extension on .net side

* persistent exchange documentation

* persistent data exchange documentation

* Persistent tests and docu

* fix excel test, traversalBuilds - tmp_Build.ps1

---------

Co-authored-by: blazej.kuhajda <blazej.kuhajda@mts.sk>

* fix and docu for persistent exchange

* added instance of persistent data to template

* Templates.Simple brief documentation

* Refactoring.
Add option for changing template.
Add search option.
Added "ShowAllPrimitives".

* fix axoRemoteTask test

* concurrent calls for persistent exchange

* testing persistent data view

* persistent attribute fix

* persistent exchange - only concurent usage

* Tuning steps working with persisten data in ground

* axosimple, Ground seqnce small adjustment

* asp

* alings template with recent changes

* fix Usage of persistent call in unit.st

* AxOpenData, documentation with usage

* Persistent ReadFromRepository  using lethargic write to Controller

* persistent readTest needs to fix dummy connector

* fixing repository issue in template

* fixing namespace Ix.Repository

---------

Co-authored-by: PTKu <PTKu@users.noreply.github.com>
Co-authored-by: Peter <61538034+PTKu@users.noreply.github.com>
Co-authored-by: blazej.kuhajda <blazej.kuhajda@mts.sk>
Co-authored-by: Lukas Kytka <lukas.kytka@mts.sk>
Co-authored-by: Brano5 <Brano5@users.noreply.github.com>
Co-authored-by: Branko Zachemsky <bzachemsky@gmail.com>
Co-authored-by: BlazejK <blazej.kuhajda@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants