/// <summary> /// 上机激活 /// </summary> public static void CardCheckIn(DataResultBlock resultBlock, string card) { CSEmkCheckin.Builder checkin = new CSEmkCheckin.Builder(); checkin.SetCardnumber(card); MessageContent.Builder content = new MessageContent.Builder(); content.SetMessageType(1); content.SetCsEmkCheckin(checkin); SendModel send = new SendModel() { cmd = Cmd.CMD_EMK_CHECKIN, content = content.Build() }; NetMessageManage.SendMsg(send, resultBlock); }