public void SendSaveGpuProfilesJson(string loginName, Guid clientId, string json) { if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty || string.IsNullOrEmpty(json)) { return; } _mq.BasicPublish( routingKey: WsMqKeyword.SaveGpuProfilesJsonRoutingKey, basicProperties: CreateBasicProperties(loginName, clientId), body: OperationMqBodyUtil.GetSaveGpuProfilesJsonMqSendBody(json)); }
public void SendSaveGpuProfilesJson(string loginName, Guid clientId, string json) { if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty || string.IsNullOrEmpty(json)) { return; } _serverConnection.MqChannel.BasicPublish( exchange: MqKeyword.NTMinerExchange, routingKey: WsMqKeyword.SaveGpuProfilesJsonRoutingKey, basicProperties: CreateBasicProperties(loginName, clientId), body: OperationMqBodyUtil.GetSaveGpuProfilesJsonMqSendBody(json)); }