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, IotGatewayApiHandler, ILogger<ProjectApiHandler>)

Initializes a new instance of the ProjectApiHandler class.

Properties

Channels

Gets the channel handlers.

Devices

Gets the device handlers.

IotGateway

Gets the IoT Gateway handlers.

Methods

CompareAndApplyAsync(Project, Project, CancellationToken)

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

CompareAndApplyAsync(Project, CancellationToken)

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

CompareAndApplyDetailedAsync(Project, Project, CancellationToken)

Compares the source project with the project from the API and applies changes while returning detailed success and failure information.

CompareAndApplyDetailedAsync(Project, CancellationToken)

Compares the source project with the project from the API and applies changes while returning detailed success and failure information.

GetProjectPropertiesAsync(CancellationToken)

Gets the project properties from the Kepware server.

LoadProjectAsync(bool, int, 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.