Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method for saving PLC project as a library #4

Merged
merged 28 commits into from
Feb 17, 2024

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    4e679b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    816f7b1 View commit details
    Browse the repository at this point in the history
  3. feat: Added LoadSolution to AutomationInterface

    - Build copy `TestTwincatProject` to binary
    - Added `DteInstanceIsNullException`
    ahuca committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    e54ea97 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. feat: Added TwinGet.Utils

    Added `Directory.CopyDirectory()`
    ahuca committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    1beed13 View commit details
    Browse the repository at this point in the history
  2. test: Added more test setup to AutomationInterfaceTests

    During test setup, copy `TestTwincatProject` to a new temporary test directory. This helps isolate the test subjects between tests.
    ahuca committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    0212bcb View commit details
    Browse the repository at this point in the history
  3. refactor: Adjusted exception type for ThrowIfInvalidSolutionPath

    `FileNotFoundException` is a more appropriate exception to throw.
    ahuca committed Dec 6, 2023
    Configuration menu
    Copy the full SHA
    af86521 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Configuration menu
    Copy the full SHA
    bfea603 View commit details
    Browse the repository at this point in the history
  2. test: Refactored AutomationInterfaceTests

    Added `TestProject` class for cleaner test setup and tear-down.
    ahuca committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    2351be6 View commit details
    Browse the repository at this point in the history
  3. feat: Added TwincatProject as a wrapper class for a TwinCAT project

    Also added more test TwinCAT projects.
    ahuca committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    8a5c44a View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. feat: Added file-sharing option to CopyDirectory()

    This way when creating a source stream it can share access with other threads.
    ahuca committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    c722479 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. feat: Added ProjectFilesDeserialization

    With classes for deserialize TwinCAT xml project files, including `.tsproj`, `.tspproj`, and `.plcproj`
    ahuca committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    46b45fc View commit details
    Browse the repository at this point in the history
  2. feat: Added TwincatProject and PlcProject

    Acting as wrapper classes for TwinCAT project and a PLC project, respectively.
    ahuca committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    2712457 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    54c002b View commit details
    Browse the repository at this point in the history
  2. refactor: Renamed files under ProjectFileDeserialization

    - To avoid two classes having the same name `PlcProject`
    - Added more tests to `TwincatProjectTests`
    - Rearranged and added new files to `TestUtils` folder
    ahuca committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    d5fbf7c View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/main' into 3-add-method-for-savi…

    …ng-twincat-project-as-a-library
    ahuca committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    fe7eff6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aad6017 View commit details
    Browse the repository at this point in the history
  5. refactor: Extracted class TwincatDteProvider

    This will make tests more lightweight as we don't need to use the whole `AutomationInterface` class everytime we setup.
    ahuca committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    6a62d42 View commit details
    Browse the repository at this point in the history
  6. test: Rearranged order of using for TestProject

    Added usage guide regarding `TestProject` class
    ahuca committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    5517ff7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5c5b46e View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. refactor: Extracted TryCleanUpDteProvider method

    Added null check in case the cleanup is done simultaneously in different processes
    ahuca committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    2d56af7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8473ef1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    efe446d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f51c1c View commit details
    Browse the repository at this point in the history
  5. feat: Added more properties to PlcProject

    - Added more test data to `PlcProjectDataTests` regarding unmanaged library project
    - Added test to `AutomationInterfaceTests` to save all managed library projects (as libraries)
    - Added `TestPlcProject3` to `TestTwincatProject2` which is an unmanaged project
    ahuca committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    42f1bc3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9812197 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    a14a354 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cee99d6 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Configuration menu
    Copy the full SHA
    de23c1a View commit details
    Browse the repository at this point in the history