// WebApiServer收到矿机签名变更事件但矿机不存在时 public static ClientData Create(IMinerSign minerSign) { var minerData = MinerData.Create(minerSign); return(Create(minerData)); }
// 用户在内网群控客户端添加矿机时 public static ClientData Create(string minerIp, out MinerData minerData) { minerData = MinerData.Create(minerIp); return(Create(minerData)); }