2024-01-09 17:27:33 +08:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace Aitex.Core.RT.DataCollection.HighPerformance;
|
|
|
|
|
2024-01-15 19:20:23 +08:00
|
|
|
public interface IDataBuffer
|
2024-01-09 17:27:33 +08:00
|
|
|
{
|
|
|
|
int Index { get; }
|
|
|
|
|
|
|
|
string Name { get; }
|
|
|
|
|
|
|
|
Type ValueType { get; }
|
|
|
|
|
|
|
|
Func<object> Read{ get; }
|
|
|
|
|
|
|
|
void Cache(long timestamp);
|
|
|
|
|
|
|
|
string Get(long timestamp);
|
|
|
|
}
|