mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-16 19:52:53 +00:00
15 lines
472 B
C#
15 lines
472 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using Sharp7.Rx.Enums;
|
|
|
|
namespace Sharp7.Rx.Interfaces
|
|
{
|
|
public interface IPlc : IDisposable
|
|
{
|
|
IObservable<TValue> CreateNotification<TValue>(string variableName, TransmissionMode transmissionMode, TimeSpan cycleSpan);
|
|
Task SetValue<TValue>(string variableName, TValue value);
|
|
Task<TValue> GetValue<TValue>(string variableName);
|
|
IObservable<ConnectionState> ConnectionState { get; }
|
|
}
|
|
}
|