2025-02-20 16:10:09 +03:00
|
|
|
using System;
|
2025-02-23 10:18:38 +03:00
|
|
|
|
2025-02-20 16:10:09 +03:00
|
|
|
namespace mROA.Implementation
|
2025-01-11 22:44:29 +03:00
|
|
|
{
|
2025-08-03 00:32:32 +03:00
|
|
|
public struct CallRequest
|
2025-02-20 16:10:09 +03:00
|
|
|
{
|
2025-07-27 00:14:15 +03:00
|
|
|
public RequestId Id { get; set; }
|
2025-02-20 16:10:09 +03:00
|
|
|
public int CommandId { get; set; }
|
2025-07-10 11:10:32 +03:00
|
|
|
public ComplexObjectIdentifier ObjectId { get; set; }
|
2025-02-23 10:18:38 +03:00
|
|
|
|
2025-03-06 14:10:52 +03:00
|
|
|
public object?[]? Parameters { get; set; }
|
2025-03-10 00:00:24 +03:00
|
|
|
|
2025-02-23 10:32:31 +03:00
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return $"Call request {{ Id : {Id}, CommandId : {CommandId}, ObjectId : {ObjectId} }}";
|
|
|
|
|
}
|
2025-02-20 16:10:09 +03:00
|
|
|
}
|
2025-02-23 10:18:38 +03:00
|
|
|
|
2025-08-03 00:32:32 +03:00
|
|
|
public struct CancelRequest
|
2025-02-23 10:18:38 +03:00
|
|
|
{
|
2025-07-27 00:14:15 +03:00
|
|
|
public RequestId Id { get; set; }
|
2025-02-23 10:18:38 +03:00
|
|
|
}
|
2025-02-17 16:52:58 +03:00
|
|
|
}
|