merge
This commit is contained in:
parent
93923a7c4f
commit
a1dc60b94a
|
|
@ -6,25 +6,25 @@ namespace TIAM.Services;
|
|||
public class SignalRTags : AcSignalRTags
|
||||
{
|
||||
//[SignalMessageTag(null, typeof(SignalResponseMessage<string>), null, null)]
|
||||
public const int GetTransfersAsync = 5;
|
||||
|
||||
public const int GetPropertiesByOwnerIdAsync = 6;
|
||||
|
||||
[SignalMessageTag(typeof(SignalPostJsonDataMessage<Transfer>), typeof(SignalResponseMessage<string>), null, null)]
|
||||
public const int UpdateTransferAsync = 7;
|
||||
public const int AddTransferAsync = 8;
|
||||
public const int RemoveTransferAsync = 9;
|
||||
public const int GetCompaniesAsync = 10;
|
||||
public const int UpdateCompanyAsync = 11;
|
||||
public const int AddCompanyAsync = 12;
|
||||
public const int RemoveCompanyAsync = 13;
|
||||
public const int GetTransferToDriversAsync = 14;
|
||||
public const int AddTransferToDriversAsync = 15;
|
||||
public const int UpdateTransferToDriversAsync = 16;
|
||||
public const int RemoveTransferToDriversAsync = 17;
|
||||
public const int GetAddressesByContextIdAsync = 18;
|
||||
public const int AddAddressToContextIdAsync = 19;
|
||||
public const int UpdateAddressByContextIdAsync = 20;
|
||||
public const int RemoveAddressByContextIdAsync = 21;
|
||||
public const int GetTransfers = 5;
|
||||
public const int GetPropertiesByOwnerId = 6;
|
||||
public const int UpdateTransfer = 7;
|
||||
public const int AddTransfer = 8;
|
||||
public const int RemoveTransfer = 9;
|
||||
|
||||
public const int GetCompanies = 10;
|
||||
public const int UpdateCompany = 11;
|
||||
public const int AddCompany = 12;
|
||||
public const int RemoveCompany = 13;
|
||||
|
||||
public const int GetTransferToDrivers = 14;
|
||||
public const int AddTransferToDrivers = 15;
|
||||
public const int UpdateTransferToDrivers = 16;
|
||||
public const int RemoveTransferToDrivers = 17;
|
||||
|
||||
public const int GetAddressesByContextId = 18;
|
||||
public const int AddAddressToContextId = 19;
|
||||
public const int UpdateAddressByContextId = 20;
|
||||
public const int RemoveAddressByContextId = 21;
|
||||
|
||||
}
|
||||
|
|
@ -11,10 +11,10 @@ public class AddressGrid : TiamGrid<Address>
|
|||
{
|
||||
GridName = nameof(Address);
|
||||
|
||||
GetAllMessageTag = SignalRTags.GetAddressesByContextIdAsync;
|
||||
AddMessageTag = SignalRTags.AddAddressToContextIdAsync;
|
||||
UpdateMessageTag = SignalRTags.UpdateAddressByContextIdAsync;
|
||||
RemoveMessageTag = SignalRTags.RemoveAddressByContextIdAsync;
|
||||
GetAllMessageTag = SignalRTags.GetAddressesByContextId;
|
||||
AddMessageTag = SignalRTags.AddAddressToContextId;
|
||||
UpdateMessageTag = SignalRTags.UpdateAddressByContextId;
|
||||
RemoveMessageTag = SignalRTags.RemoveAddressByContextId;
|
||||
}
|
||||
|
||||
protected override Task SetParametersAsyncCore(ParameterView parameters)
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@ public class TransferToDriversGrid : TiamGrid<TransferToDriver>
|
|||
{
|
||||
GridName = nameof(TransferToDriver);
|
||||
|
||||
GetAllMessageTag = SignalRTags.GetTransferToDriversAsync;
|
||||
AddMessageTag = SignalRTags.AddTransferToDriversAsync;
|
||||
UpdateMessageTag = SignalRTags.UpdateTransferToDriversAsync;
|
||||
RemoveMessageTag = SignalRTags.RemoveTransferToDriversAsync;
|
||||
GetAllMessageTag = SignalRTags.GetTransferToDrivers;
|
||||
AddMessageTag = SignalRTags.AddTransferToDrivers;
|
||||
UpdateMessageTag = SignalRTags.UpdateTransferToDrivers;
|
||||
RemoveMessageTag = SignalRTags.RemoveTransferToDrivers;
|
||||
}
|
||||
|
||||
protected override Task SetParametersAsyncCore(ParameterView parameters)
|
||||
|
|
|
|||
Loading…
Reference in New Issue