Files
Sharp7Reactive/Sharp7.Rx/Interfaces/IPlc.cs
2018-11-05 16:23:37 +01:00

14 lines
416 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);
}
}