mirror of
https://github.com/evopro-ag/Sharp7Reactive.git
synced 2025-12-16 19:52:53 +00:00
Remove unused cycleTime
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Sharp7.Rx.Extensions
|
|||||||
var subscriptions = new CompositeDisposable();
|
var subscriptions = new CompositeDisposable();
|
||||||
|
|
||||||
var notification = plc
|
var notification = plc
|
||||||
.CreateNotification<bool>(triggerAddress, TransmissionMode.OnChange, TimeSpan.Zero)
|
.CreateNotification<bool>(triggerAddress, TransmissionMode.OnChange)
|
||||||
.Publish()
|
.Publish()
|
||||||
.RefCount();
|
.RefCount();
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Sharp7.Rx.Interfaces
|
|||||||
{
|
{
|
||||||
public interface IPlc : IDisposable
|
public interface IPlc : IDisposable
|
||||||
{
|
{
|
||||||
IObservable<TValue> CreateNotification<TValue>(string variableName, TransmissionMode transmissionMode, TimeSpan cycleSpan);
|
IObservable<TValue> CreateNotification<TValue>(string variableName, TransmissionMode transmissionMode);
|
||||||
Task SetValue<TValue>(string variableName, TValue value);
|
Task SetValue<TValue>(string variableName, TValue value);
|
||||||
Task<TValue> GetValue<TValue>(string variableName);
|
Task<TValue> GetValue<TValue>(string variableName);
|
||||||
IObservable<ConnectionState> ConnectionState { get; }
|
IObservable<ConnectionState> ConnectionState { get; }
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ namespace Sharp7.Rx
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public IObservable<TValue> CreateNotification<TValue>(string variableName, TransmissionMode transmissionMode, TimeSpan cycleTime)
|
public IObservable<TValue> CreateNotification<TValue>(string variableName, TransmissionMode transmissionMode)
|
||||||
{
|
{
|
||||||
return Observable.Create<TValue>(observer =>
|
return Observable.Create<TValue>(observer =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user