daily update on 20240413 by nitload youmu, camera complete
This commit is contained in:
@@ -59,7 +59,7 @@ namespace StgSharp
|
||||
/// Create a new <see cref="TimeSpanProvider"/> and define the length of time span. Length of a single time span is defined in microseconds.
|
||||
/// </summary>
|
||||
/// <param name="spanLength"></param>
|
||||
/// <parma name="provider"></parma>
|
||||
/// <param name="provider"></param>
|
||||
public TimeSpanProvider(long spanLength, TimeSourceProviderBase provider)
|
||||
{
|
||||
_spanLength = spanLength;
|
||||
@@ -74,7 +74,7 @@ namespace StgSharp
|
||||
/// Length of a single time span is defined in seconds.
|
||||
/// </summary>
|
||||
/// <param name="spanLength"></param>
|
||||
/// <parma name="provider"></parma>
|
||||
/// <param name="provider"></param>
|
||||
public TimeSpanProvider(double spanLength, TimeSourceProviderBase provider)
|
||||
{
|
||||
_spanLength = (long)(spanLength * 1000L * 1000L);
|
||||
@@ -89,7 +89,7 @@ namespace StgSharp
|
||||
/// Create a new <see cref="TimeSpanProvider"/> and define the length of time span. Length of a single time span is defined in microseconds.
|
||||
/// </summary>
|
||||
/// <param name="spanLength"></param>
|
||||
/// <parma name="provider"></parma>
|
||||
/// <param name="provider"></param>
|
||||
public TimeSpanProvider(long spanLength, int maxSpan, TimeSourceProviderBase provider)
|
||||
{
|
||||
if (maxSpan <= 0)
|
||||
@@ -103,6 +103,7 @@ namespace StgSharp
|
||||
|
||||
public int CurrentSpan
|
||||
=> timeSpanCount.Value;
|
||||
|
||||
/// <summary>
|
||||
/// Time source provider provided in <see cref="StgSharp"/> internal framework.
|
||||
/// </summary>
|
||||
@@ -123,7 +124,7 @@ namespace StgSharp
|
||||
set => _refeshCallback = value;
|
||||
}
|
||||
|
||||
public void SubcsribeToTimeSource(TimeSourceProviderBase serviceHandler)
|
||||
public void SubscribeToTimeSource(TimeSourceProviderBase serviceHandler)
|
||||
{
|
||||
if (_subscribed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user