mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-16 11:42:52 +00:00
Add non-generic CreateNotification method
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using JetBrains.Annotations;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Sharp7.Rx.Enums;
|
||||
|
||||
namespace Sharp7.Rx.Interfaces;
|
||||
@@ -7,12 +6,13 @@ namespace Sharp7.Rx.Interfaces;
|
||||
[NoReorder]
|
||||
public interface IPlc : IDisposable
|
||||
{
|
||||
IObservable<TValue> CreateNotification<TValue>(string variableName, TransmissionMode transmissionMode);
|
||||
Task SetValue<TValue>(string variableName, TValue value, CancellationToken token = default);
|
||||
Task<TValue> GetValue<TValue>(string variableName, CancellationToken token = default);
|
||||
IObservable<ConnectionState> ConnectionState { get; }
|
||||
|
||||
Task SetValue<TValue>(string variableName, TValue value, CancellationToken token = default);
|
||||
|
||||
Task<TValue> GetValue<TValue>(string variableName, CancellationToken token = default);
|
||||
Task<object> GetValue(string variableName, CancellationToken token = default);
|
||||
|
||||
ILogger Logger { get; }
|
||||
IObservable<TValue> CreateNotification<TValue>(string variableName, TransmissionMode transmissionMode);
|
||||
IObservable<object> CreateNotification(string variableName, TransmissionMode transmissionMode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user