Skip to content

Restructure OOP #17

Description

@sjuergen

Fundamentals of Object-Oriented Programming

Objectives: Understand the basic concepts of OOP and its benefits.

Introduction to OOP

  • Definition and objectives of OOP
  • Key concepts: Classes, Objects, Methods, Attributes
  • Benefits of OOP: Reusability, Maintainability, Extensibility

Object-Oriented Principles

  • Encapsulation
  • Inheritance
  • Polymorphism
  • Abstraction

OOP in ST (IEC 61131-3)

Objectives: Learn to implement OOP concepts in Structured Text.

Classes and Instances

  • Definition and declaration of classes in ST
  • Creating and using instances

Attributes and Methods

  • Declaration of attributes
  • Implementation of methods

Visibility and Access Control

  • Public, Private, and Protected
  • Getters and Setters methods

Advanced OOP Concepts

Objectives: Deepen the understanding of OOP concepts and their application in ST.

Inheritance

  • Implementation of base and derived classes
  • Overriding methods

Polymorphism

  • Concepts and examples
  • Using interfaces and abstract classes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions