daily update on 20240413 by nitload youmu, camera complete

This commit is contained in:
YoumuLiu
2024-04-13 04:04:14 +08:00
parent f0f80f72f1
commit 7c755fe1e2
99 changed files with 1351 additions and 1119 deletions
+5 -4
View File
@@ -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)
{