Revisions

This commit is contained in:
2026-08-09 03:54:28 +03:00
parent 2028db671f
commit 3b55d8d2f8
37 changed files with 1743 additions and 230 deletions
@@ -27,6 +27,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Esiur.Resource;
namespace Esiur.Protocol;
public class EpResourceQueueItem
@@ -41,13 +42,23 @@ public class EpResourceQueueItem
byte index;
object value;
EpResource resource;
ResourceCursor cursor;
DateTime recordedAt;
public EpResourceQueueItem(EpResource resource, DistributedResourceQueueItemType type, object value, byte index)
public EpResourceQueueItem(
EpResource resource,
DistributedResourceQueueItemType type,
object value,
byte index,
ResourceCursor cursor,
DateTime recordedAt)
{
this.resource = resource;
this.index = index;
this.type = type;
this.value = value;
this.cursor = cursor;
this.recordedAt = recordedAt;
}
public EpResource Resource
@@ -68,4 +79,7 @@ public class EpResourceQueueItem
{
get { return value; }
}
public ResourceCursor Cursor => cursor;
public DateTime RecordedAt => recordedAt;
}