This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
using DTS.Common.Interface.Connection;
using DTS.Common;
namespace DTS.DASLib.Service
{
/// <summary>
/// SLICE6DB3 is a limited version of SLICE6DB, it notably does not have ie1588/ptp support
/// </summary>
/// <typeparam name="T"></typeparam>
public class SLICE6DB3<T> : SLICE6DB<T>
where T : IConnection,
new()
{
#region IClockSyncActions
public override void SetClockSyncConfig(ServiceCallback callback, object userData, ClockSyncProfile profile)
{
var info = new SliceServiceAsyncInfo(callback, userData) { functionData = profile };
info.Success();
}
public override void GetClockSyncStatus(ServiceCallback callback, object userData)
{
var info = new SliceServiceAsyncInfo(callback, userData);
info.Success();
}
public override void SetPTPDomainID(ServiceCallback callback, object userData, byte domainID)
{
var info = new SliceServiceAsyncInfo(callback, userData) { functionData = domainID };
info.Success();
}
public override void GetPTPDomainID(ServiceCallback callback, object userData)
{
var info = new SliceServiceAsyncInfo(callback, userData);
info.Success();
}
#endregion
}
}