示例#1
0
 public void SendUpgradeNTMiner(string loginName, Guid clientId, string ntminerFileName) {
     if (string.IsNullOrEmpty(loginName) || clientId == Guid.Empty || string.IsNullOrEmpty(ntminerFileName)) {
         return;
     }
     _mq.BasicPublish(
         routingKey: WsMqKeyword.UpgradeNTMinerRoutingKey,
         basicProperties: CreateBasicProperties(loginName, clientId),
         body: OperationMqBodyUtil.GetUpgradeNTMinerMqSendBody(ntminerFileName));
 }