|
|
@@ -169,19 +169,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加工作后")]
|
|
|
public class MineWorkAddedEvent : DomainEvent<IMineWork> {
|
|
|
- public MineWorkAddedEvent(RouteToPathId routeToPathId, IMineWork source) : base(routeToPathId, source) {
|
|
|
+ public MineWorkAddedEvent(PathId routeToPathId, IMineWork source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新工作后")]
|
|
|
public class MineWorkUpdatedEvent : DomainEvent<IMineWork> {
|
|
|
- public MineWorkUpdatedEvent(RouteToPathId routeToPathId, IMineWork source) : base(routeToPathId, source) {
|
|
|
+ public MineWorkUpdatedEvent(PathId routeToPathId, IMineWork source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除工作后")]
|
|
|
public class MineWorkRemovedEvent : DomainEvent<IMineWork> {
|
|
|
- public MineWorkRemovedEvent(RouteToPathId routeToPathId, IMineWork source) : base(routeToPathId, source) {
|
|
|
+ public MineWorkRemovedEvent(PathId routeToPathId, IMineWork source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -207,19 +207,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加矿机分组后")]
|
|
|
public class MinerGroupAddedEvent : DomainEvent<IMinerGroup> {
|
|
|
- public MinerGroupAddedEvent(RouteToPathId routeToPathId, IMinerGroup source) : base(routeToPathId, source) {
|
|
|
+ public MinerGroupAddedEvent(PathId routeToPathId, IMinerGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新矿机分组后")]
|
|
|
public class MinerGroupUpdatedEvent : DomainEvent<IMinerGroup> {
|
|
|
- public MinerGroupUpdatedEvent(RouteToPathId routeToPathId, IMinerGroup source) : base(routeToPathId, source) {
|
|
|
+ public MinerGroupUpdatedEvent(PathId routeToPathId, IMinerGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除矿机分组后")]
|
|
|
public class MinerGroupRemovedEvent : DomainEvent<IMinerGroup> {
|
|
|
- public MinerGroupRemovedEvent(RouteToPathId routeToPathId, IMinerGroup source) : base(routeToPathId, source) {
|
|
|
+ public MinerGroupRemovedEvent(PathId routeToPathId, IMinerGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -245,19 +245,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加NTMiner钱包后")]
|
|
|
public class NTMinerWalletAddedEvent : DomainEvent<INTMinerWallet> {
|
|
|
- public NTMinerWalletAddedEvent(RouteToPathId routeToPathId, INTMinerWallet source) : base(routeToPathId, source) {
|
|
|
+ public NTMinerWalletAddedEvent(PathId routeToPathId, INTMinerWallet source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新NTMiner钱包后")]
|
|
|
public class NTMinerWalletUpdatedEvent : DomainEvent<INTMinerWallet> {
|
|
|
- public NTMinerWalletUpdatedEvent(RouteToPathId routeToPathId, INTMinerWallet source) : base(routeToPathId, source) {
|
|
|
+ public NTMinerWalletUpdatedEvent(PathId routeToPathId, INTMinerWallet source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除NTMiner钱包后")]
|
|
|
public class NTMinerWalletRemovedEvent : DomainEvent<INTMinerWallet> {
|
|
|
- public NTMinerWalletRemovedEvent(RouteToPathId routeToPathId, INTMinerWallet source) : base(routeToPathId, source) {
|
|
|
+ public NTMinerWalletRemovedEvent(PathId routeToPathId, INTMinerWallet source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -283,19 +283,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加超频建议后")]
|
|
|
public class OverClockDataAddedEvent : DomainEvent<IOverClockData> {
|
|
|
- public OverClockDataAddedEvent(RouteToPathId routeToPathId, IOverClockData source) : base(routeToPathId, source) {
|
|
|
+ public OverClockDataAddedEvent(PathId routeToPathId, IOverClockData source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新超频建议后")]
|
|
|
public class OverClockDataUpdatedEvent : DomainEvent<IOverClockData> {
|
|
|
- public OverClockDataUpdatedEvent(RouteToPathId routeToPathId, IOverClockData source) : base(routeToPathId, source) {
|
|
|
+ public OverClockDataUpdatedEvent(PathId routeToPathId, IOverClockData source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除超频建议后")]
|
|
|
public class OverClockDataRemovedEvent : DomainEvent<IOverClockData> {
|
|
|
- public OverClockDataRemovedEvent(RouteToPathId routeToPathId, IOverClockData source) : base(routeToPathId, source) {
|
|
|
+ public OverClockDataRemovedEvent(PathId routeToPathId, IOverClockData source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -333,19 +333,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加列显后")]
|
|
|
public class ColumnsShowAddedEvent : DomainEvent<IColumnsShow> {
|
|
|
- public ColumnsShowAddedEvent(RouteToPathId routeToPathId, IColumnsShow source) : base(routeToPathId, source) {
|
|
|
+ public ColumnsShowAddedEvent(PathId routeToPathId, IColumnsShow source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新列显后")]
|
|
|
public class ColumnsShowUpdatedEvent : DomainEvent<IColumnsShow> {
|
|
|
- public ColumnsShowUpdatedEvent(RouteToPathId routeToPathId, IColumnsShow source) : base(routeToPathId, source) {
|
|
|
+ public ColumnsShowUpdatedEvent(PathId routeToPathId, IColumnsShow source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除列显后")]
|
|
|
public class ColumnsShowRemovedEvent : DomainEvent<IColumnsShow> {
|
|
|
- public ColumnsShowRemovedEvent(RouteToPathId routeToPathId, IColumnsShow source) : base(routeToPathId, source) {
|
|
|
+ public ColumnsShowRemovedEvent(PathId routeToPathId, IColumnsShow source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -371,13 +371,13 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "币种超频完成后")]
|
|
|
public class CoinOverClockDoneEvent : EventBase {
|
|
|
- public CoinOverClockDoneEvent(RouteToPathId routeToPathId) : base(routeToPathId) {
|
|
|
+ public CoinOverClockDoneEvent(PathId routeToPathId) : base(routeToPathId) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "Gpu超频数据添加或更新后")]
|
|
|
public class GpuProfileAddedOrUpdatedEvent : DomainEvent<IGpuProfile> {
|
|
|
- public GpuProfileAddedOrUpdatedEvent(RouteToPathId routeToPathId, IGpuProfile source) : base(routeToPathId, source) {
|
|
|
+ public GpuProfileAddedOrUpdatedEvent(PathId routeToPathId, IGpuProfile source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -385,7 +385,7 @@ namespace NTMiner.Core {
|
|
|
#region speed and share
|
|
|
[MessageType(description: "显卡算力变更事件")]
|
|
|
public class GpuSpeedChangedEvent : DomainEvent<IGpuSpeed> {
|
|
|
- public GpuSpeedChangedEvent(bool isDual, RouteToPathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
+ public GpuSpeedChangedEvent(bool isDual, PathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
this.IsDual = isDual;
|
|
|
}
|
|
|
|
|
|
@@ -394,37 +394,37 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "显卡份额变更事件")]
|
|
|
public class GpuShareChangedEvent : DomainEvent<IGpuSpeed> {
|
|
|
- public GpuShareChangedEvent(RouteToPathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
+ public GpuShareChangedEvent(PathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "找到了一个份额")]
|
|
|
public class FoundShareIncreasedEvent : DomainEvent<IGpuSpeed> {
|
|
|
- public FoundShareIncreasedEvent(RouteToPathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
+ public FoundShareIncreasedEvent(PathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "接受了一个份额")]
|
|
|
public class AcceptShareIncreasedEvent : DomainEvent<IGpuSpeed> {
|
|
|
- public AcceptShareIncreasedEvent(RouteToPathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
+ public AcceptShareIncreasedEvent(PathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "拒绝了一个份额")]
|
|
|
public class RejectShareIncreasedEvent : DomainEvent<IGpuSpeed> {
|
|
|
- public RejectShareIncreasedEvent(RouteToPathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
+ public RejectShareIncreasedEvent(PathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "算错了一个份额")]
|
|
|
public class IncorrectShareIncreasedEvent : DomainEvent<IGpuSpeed> {
|
|
|
- public IncorrectShareIncreasedEvent(RouteToPathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
+ public IncorrectShareIncreasedEvent(PathId routeToPathId, IGpuSpeed gpuSpeed) : base(routeToPathId, gpuSpeed) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "收益变更事件")]
|
|
|
public class ShareChangedEvent : DomainEvent<ICoinShare> {
|
|
|
- public ShareChangedEvent(RouteToPathId routeToPathId, ICoinShare share) : base(routeToPathId, share) {
|
|
|
+ public ShareChangedEvent(PathId routeToPathId, ICoinShare share) : base(routeToPathId, share) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -432,7 +432,7 @@ namespace NTMiner.Core {
|
|
|
#region Gpu Messages
|
|
|
[MessageType(description: "显卡状态变更事件", isCanNoHandler: true)]
|
|
|
public class GpuStateChangedEvent : DomainEvent<IGpu> {
|
|
|
- public GpuStateChangedEvent(RouteToPathId routeToPathId, IGpu source) : base(routeToPathId, source) {
|
|
|
+ public GpuStateChangedEvent(PathId routeToPathId, IGpu source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -458,19 +458,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加系统字典后")]
|
|
|
public class SysDicAddedEvent : DomainEvent<ISysDic> {
|
|
|
- public SysDicAddedEvent(RouteToPathId routeToPathId, ISysDic source) : base(routeToPathId, source) {
|
|
|
+ public SysDicAddedEvent(PathId routeToPathId, ISysDic source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新系统字典后")]
|
|
|
public class SysDicUpdatedEvent : DomainEvent<ISysDic> {
|
|
|
- public SysDicUpdatedEvent(RouteToPathId routeToPathId, ISysDic source) : base(routeToPathId, source) {
|
|
|
+ public SysDicUpdatedEvent(PathId routeToPathId, ISysDic source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除系统字典后")]
|
|
|
public class SysDicRemovedEvent : DomainEvent<ISysDic> {
|
|
|
- public SysDicRemovedEvent(RouteToPathId routeToPathId, ISysDic source) : base(routeToPathId, source) {
|
|
|
+ public SysDicRemovedEvent(PathId routeToPathId, ISysDic source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -496,19 +496,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了系统字典项后")]
|
|
|
public class SysDicItemAddedEvent : DomainEvent<ISysDicItem> {
|
|
|
- public SysDicItemAddedEvent(RouteToPathId routeToPathId, ISysDicItem source) : base(routeToPathId, source) {
|
|
|
+ public SysDicItemAddedEvent(PathId routeToPathId, ISysDicItem source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了系统字典项后")]
|
|
|
public class SysDicItemUpdatedEvent : DomainEvent<ISysDicItem> {
|
|
|
- public SysDicItemUpdatedEvent(RouteToPathId routeToPathId, ISysDicItem source) : base(routeToPathId, source) {
|
|
|
+ public SysDicItemUpdatedEvent(PathId routeToPathId, ISysDicItem source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除了系统字典项后")]
|
|
|
public class SysDicItemRemovedEvent : DomainEvent<ISysDicItem> {
|
|
|
- public SysDicItemRemovedEvent(RouteToPathId routeToPathId, ISysDicItem source) : base(routeToPathId, source) {
|
|
|
+ public SysDicItemRemovedEvent(PathId routeToPathId, ISysDicItem source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -534,25 +534,25 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了币种后")]
|
|
|
public class CoinAddedEvent : DomainEvent<ICoin> {
|
|
|
- public CoinAddedEvent(RouteToPathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
+ public CoinAddedEvent(PathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了币种后")]
|
|
|
public class CoinUpdatedEvent : DomainEvent<ICoin> {
|
|
|
- public CoinUpdatedEvent(RouteToPathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
+ public CoinUpdatedEvent(PathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了币种后")]
|
|
|
public class CoinRemovedEvent : DomainEvent<ICoin> {
|
|
|
- public CoinRemovedEvent(RouteToPathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
+ public CoinRemovedEvent(PathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "下载了币种图标后")]
|
|
|
public class CoinIconDownloadedEvent : DomainEvent<ICoin> {
|
|
|
- public CoinIconDownloadedEvent(RouteToPathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
+ public CoinIconDownloadedEvent(PathId routeToPathId, ICoin source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -578,19 +578,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了组后")]
|
|
|
public class GroupAddedEvent : DomainEvent<IGroup> {
|
|
|
- public GroupAddedEvent(RouteToPathId routeToPathId, IGroup source) : base(routeToPathId, source) {
|
|
|
+ public GroupAddedEvent(PathId routeToPathId, IGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了组后")]
|
|
|
public class GroupUpdatedEvent : DomainEvent<IGroup> {
|
|
|
- public GroupUpdatedEvent(RouteToPathId routeToPathId, IGroup source) : base(routeToPathId, source) {
|
|
|
+ public GroupUpdatedEvent(PathId routeToPathId, IGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了组后")]
|
|
|
public class GroupRemovedEvent : DomainEvent<IGroup> {
|
|
|
- public GroupRemovedEvent(RouteToPathId routeToPathId, IGroup source) : base(routeToPathId, source) {
|
|
|
+ public GroupRemovedEvent(PathId routeToPathId, IGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -616,13 +616,13 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了币组后")]
|
|
|
public class CoinGroupAddedEvent : DomainEvent<ICoinGroup> {
|
|
|
- public CoinGroupAddedEvent(RouteToPathId routeToPathId, ICoinGroup source) : base(routeToPathId, source) {
|
|
|
+ public CoinGroupAddedEvent(PathId routeToPathId, ICoinGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了币组后")]
|
|
|
public class CoinGroupRemovedEvent : DomainEvent<ICoinGroup> {
|
|
|
- public CoinGroupRemovedEvent(RouteToPathId routeToPathId, ICoinGroup source) : base(routeToPathId, source) {
|
|
|
+ public CoinGroupRemovedEvent(PathId routeToPathId, ICoinGroup source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -648,19 +648,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了文件书写器后")]
|
|
|
public class FileWriterAddedEvent : DomainEvent<IFileWriter> {
|
|
|
- public FileWriterAddedEvent(RouteToPathId routeToPathId, IFileWriter source) : base(routeToPathId, source) {
|
|
|
+ public FileWriterAddedEvent(PathId routeToPathId, IFileWriter source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了文件书写器后")]
|
|
|
public class FileWriterUpdatedEvent : DomainEvent<IFileWriter> {
|
|
|
- public FileWriterUpdatedEvent(RouteToPathId routeToPathId, IFileWriter source) : base(routeToPathId, source) {
|
|
|
+ public FileWriterUpdatedEvent(PathId routeToPathId, IFileWriter source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了文件书写器后")]
|
|
|
public class FileWriterRemovedEvent : DomainEvent<IFileWriter> {
|
|
|
- public FileWriterRemovedEvent(RouteToPathId routeToPathId, IFileWriter source) : base(routeToPathId, source) {
|
|
|
+ public FileWriterRemovedEvent(PathId routeToPathId, IFileWriter source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -686,19 +686,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了命令行片段书写器后")]
|
|
|
public class FragmentWriterAddedEvent : DomainEvent<IFragmentWriter> {
|
|
|
- public FragmentWriterAddedEvent(RouteToPathId routeToPathId, IFragmentWriter source) : base(routeToPathId, source) {
|
|
|
+ public FragmentWriterAddedEvent(PathId routeToPathId, IFragmentWriter source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了命令行片段书写器后")]
|
|
|
public class FragmentWriterUpdatedEvent : DomainEvent<IFragmentWriter> {
|
|
|
- public FragmentWriterUpdatedEvent(RouteToPathId routeToPathId, IFragmentWriter source) : base(routeToPathId, source) {
|
|
|
+ public FragmentWriterUpdatedEvent(PathId routeToPathId, IFragmentWriter source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了命令行片段书写器后")]
|
|
|
public class FragmentWriterRemovedEvent : DomainEvent<IFragmentWriter> {
|
|
|
- public FragmentWriterRemovedEvent(RouteToPathId routeToPathId, IFragmentWriter source) : base(routeToPathId, source) {
|
|
|
+ public FragmentWriterRemovedEvent(PathId routeToPathId, IFragmentWriter source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -724,19 +724,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了钱包后")]
|
|
|
public class WalletAddedEvent : DomainEvent<IWallet> {
|
|
|
- public WalletAddedEvent(RouteToPathId routeToPathId, IWallet source) : base(routeToPathId, source) {
|
|
|
+ public WalletAddedEvent(PathId routeToPathId, IWallet source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了钱包后")]
|
|
|
public class WalletUpdatedEvent : DomainEvent<IWallet> {
|
|
|
- public WalletUpdatedEvent(RouteToPathId routeToPathId, IWallet source) : base(routeToPathId, source) {
|
|
|
+ public WalletUpdatedEvent(PathId routeToPathId, IWallet source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了钱包后")]
|
|
|
public class WalletRemovedEvent : DomainEvent<IWallet> {
|
|
|
- public WalletRemovedEvent(RouteToPathId routeToPathId, IWallet source) : base(routeToPathId, source) {
|
|
|
+ public WalletRemovedEvent(PathId routeToPathId, IWallet source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -762,19 +762,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了矿池后")]
|
|
|
public class PoolAddedEvent : DomainEvent<IPool> {
|
|
|
- public PoolAddedEvent(RouteToPathId routeToPathId, IPool source) : base(routeToPathId, source) {
|
|
|
+ public PoolAddedEvent(PathId routeToPathId, IPool source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了矿池后")]
|
|
|
public class PoolUpdatedEvent : DomainEvent<IPool> {
|
|
|
- public PoolUpdatedEvent(RouteToPathId routeToPathId, IPool source) : base(routeToPathId, source) {
|
|
|
+ public PoolUpdatedEvent(PathId routeToPathId, IPool source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了矿池后")]
|
|
|
public class PoolRemovedEvent : DomainEvent<IPool> {
|
|
|
- public PoolRemovedEvent(RouteToPathId routeToPathId, IPool source) : base(routeToPathId, source) {
|
|
|
+ public PoolRemovedEvent(PathId routeToPathId, IPool source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -800,19 +800,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了币种级内核后")]
|
|
|
public class CoinKernelAddedEvent : DomainEvent<ICoinKernel> {
|
|
|
- public CoinKernelAddedEvent(RouteToPathId routeToPathId, ICoinKernel source) : base(routeToPathId, source) {
|
|
|
+ public CoinKernelAddedEvent(PathId routeToPathId, ICoinKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了币种级内核后")]
|
|
|
public class CoinKernelUpdatedEvent : DomainEvent<ICoinKernel> {
|
|
|
- public CoinKernelUpdatedEvent(RouteToPathId routeToPathId, ICoinKernel source) : base(routeToPathId, source) {
|
|
|
+ public CoinKernelUpdatedEvent(PathId routeToPathId, ICoinKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了币种级内核后")]
|
|
|
public class CoinKernelRemovedEvent : DomainEvent<ICoinKernel> {
|
|
|
- public CoinKernelRemovedEvent(RouteToPathId routeToPathId, ICoinKernel source) : base(routeToPathId, source) {
|
|
|
+ public CoinKernelRemovedEvent(PathId routeToPathId, ICoinKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -838,19 +838,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了矿池级内核后")]
|
|
|
public class PoolKernelAddedEvent : DomainEvent<IPoolKernel> {
|
|
|
- public PoolKernelAddedEvent(RouteToPathId routeToPathId, IPoolKernel source) : base(routeToPathId, source) {
|
|
|
+ public PoolKernelAddedEvent(PathId routeToPathId, IPoolKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了矿池级内核后")]
|
|
|
public class PoolKernelUpdatedEvent : DomainEvent<IPoolKernel> {
|
|
|
- public PoolKernelUpdatedEvent(RouteToPathId routeToPathId, IPoolKernel source) : base(routeToPathId, source) {
|
|
|
+ public PoolKernelUpdatedEvent(PathId routeToPathId, IPoolKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了矿池级内核后")]
|
|
|
public class PoolKernelRemovedEvent : DomainEvent<IPoolKernel> {
|
|
|
- public PoolKernelRemovedEvent(RouteToPathId routeToPathId, IPoolKernel source) : base(routeToPathId, source) {
|
|
|
+ public PoolKernelRemovedEvent(PathId routeToPathId, IPoolKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -876,19 +876,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了包后")]
|
|
|
public class PackageAddedEvent : DomainEvent<IPackage> {
|
|
|
- public PackageAddedEvent(RouteToPathId routeToPathId, IPackage source) : base(routeToPathId, source) {
|
|
|
+ public PackageAddedEvent(PathId routeToPathId, IPackage source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了包后")]
|
|
|
public class PackageUpdatedEvent : DomainEvent<IPackage> {
|
|
|
- public PackageUpdatedEvent(RouteToPathId routeToPathId, IPackage source) : base(routeToPathId, source) {
|
|
|
+ public PackageUpdatedEvent(PathId routeToPathId, IPackage source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除了包后")]
|
|
|
public class PackageRemovedEvent : DomainEvent<IPackage> {
|
|
|
- public PackageRemovedEvent(RouteToPathId routeToPathId, IPackage source) : base(routeToPathId, source) {
|
|
|
+ public PackageRemovedEvent(PathId routeToPathId, IPackage source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -914,19 +914,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了内核后")]
|
|
|
public class KernelAddedEvent : DomainEvent<IKernel> {
|
|
|
- public KernelAddedEvent(RouteToPathId routeToPathId, IKernel source) : base(routeToPathId, source) {
|
|
|
+ public KernelAddedEvent(PathId routeToPathId, IKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了内核后")]
|
|
|
public class KernelUpdatedEvent : DomainEvent<IKernel> {
|
|
|
- public KernelUpdatedEvent(RouteToPathId routeToPathId, IKernel source) : base(routeToPathId, source) {
|
|
|
+ public KernelUpdatedEvent(PathId routeToPathId, IKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "删除了内核后")]
|
|
|
public class KernelRemovedEvent : DomainEvent<IKernel> {
|
|
|
- public KernelRemovedEvent(RouteToPathId routeToPathId, IKernel source) : base(routeToPathId, source) {
|
|
|
+ public KernelRemovedEvent(PathId routeToPathId, IKernel source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -952,19 +952,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了内核输入组后")]
|
|
|
public class KernelInputAddedEvent : DomainEvent<IKernelInput> {
|
|
|
- public KernelInputAddedEvent(RouteToPathId routeToPathId, IKernelInput source) : base(routeToPathId, source) {
|
|
|
+ public KernelInputAddedEvent(PathId routeToPathId, IKernelInput source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了内核输入组后")]
|
|
|
public class KernelInputUpdatedEvent : DomainEvent<IKernelInput> {
|
|
|
- public KernelInputUpdatedEvent(RouteToPathId routeToPathId, IKernelInput source) : base(routeToPathId, source) {
|
|
|
+ public KernelInputUpdatedEvent(PathId routeToPathId, IKernelInput source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了内核输入组后")]
|
|
|
public class KernelInputRemovedEvent : DomainEvent<IKernelInput> {
|
|
|
- public KernelInputRemovedEvent(RouteToPathId routeToPathId, IKernelInput source) : base(routeToPathId, source) {
|
|
|
+ public KernelInputRemovedEvent(PathId routeToPathId, IKernelInput source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -990,19 +990,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了内核输出组后")]
|
|
|
public class KernelOutputAddedEvent : DomainEvent<IKernelOutput> {
|
|
|
- public KernelOutputAddedEvent(RouteToPathId routeToPathId, IKernelOutput source) : base(routeToPathId, source) {
|
|
|
+ public KernelOutputAddedEvent(PathId routeToPathId, IKernelOutput source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了内核输出组后")]
|
|
|
public class KernelOutputUpdatedEvent : DomainEvent<IKernelOutput> {
|
|
|
- public KernelOutputUpdatedEvent(RouteToPathId routeToPathId, IKernelOutput source) : base(routeToPathId, source) {
|
|
|
+ public KernelOutputUpdatedEvent(PathId routeToPathId, IKernelOutput source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了内核输出组后")]
|
|
|
public class KernelOutputRemovedEvent : DomainEvent<IKernelOutput> {
|
|
|
- public KernelOutputRemovedEvent(RouteToPathId routeToPathId, IKernelOutput source) : base(routeToPathId, source) {
|
|
|
+ public KernelOutputRemovedEvent(PathId routeToPathId, IKernelOutput source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|
|
|
@@ -1028,19 +1028,19 @@ namespace NTMiner.Core {
|
|
|
|
|
|
[MessageType(description: "添加了内核输出翻译器后")]
|
|
|
public class KernelOutputTranslaterAddedEvent : DomainEvent<IKernelOutputTranslater> {
|
|
|
- public KernelOutputTranslaterAddedEvent(RouteToPathId routeToPathId, IKernelOutputTranslater source) : base(routeToPathId, source) {
|
|
|
+ public KernelOutputTranslaterAddedEvent(PathId routeToPathId, IKernelOutputTranslater source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "更新了内核输出翻译器后")]
|
|
|
public class KernelOutputTranslaterUpdatedEvent : DomainEvent<IKernelOutputTranslater> {
|
|
|
- public KernelOutputTranslaterUpdatedEvent(RouteToPathId routeToPathId, IKernelOutputTranslater source) : base(routeToPathId, source) {
|
|
|
+ public KernelOutputTranslaterUpdatedEvent(PathId routeToPathId, IKernelOutputTranslater source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
[MessageType(description: "移除了内核输出翻译器后")]
|
|
|
public class KernelOutputTranslaterRemovedEvent : DomainEvent<IKernelOutputTranslater> {
|
|
|
- public KernelOutputTranslaterRemovedEvent(RouteToPathId routeToPathId, IKernelOutputTranslater source) : base(routeToPathId, source) {
|
|
|
+ public KernelOutputTranslaterRemovedEvent(PathId routeToPathId, IKernelOutputTranslater source) : base(routeToPathId, source) {
|
|
|
}
|
|
|
}
|
|
|
#endregion
|