Table of Contents

Class ProjectApiHandler

Namespace
Kepware.Api.ClientHandler
Assembly
Kepware.Api.dll

Handles operations related to projects and project properties in the Kepware server.

public class ProjectApiHandler
Inheritance
ProjectApiHandler
Inherited Members

Constructors

ProjectApiHandler(KepwareApiClient, ChannelApiHandler, DeviceApiHandler, ILogger<ProjectApiHandler>)

Initializes a new instance of the ProjectApiHandler class.

Properties

Channels

Gets the channel handlers.

Devices

Gets the device handlers.

Methods

CompareAndApply(Project, Project, CancellationToken)

Compares the source project with the project from the API and applies the changes to the API.

CompareAndApply(Project, CancellationToken)

Compares the source project with the project from the API and applies the changes to the API.

GetProjectPropertiesAsync(CancellationToken)

Gets the project properties from the Kepware server.

LoadProject(bool, CancellationToken)

Loads the project from the Kepware server. If blnLoadFullProject is true, it loads the full project, otherwise only the project properties will be returned.

SetProjectPropertiesAsync(Project, CancellationToken)

Sets the project properties on the Kepware server.