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