public void Subscribe(string topic, string name) { StaticResources.messageQueue.Enqueue("时间:" + DateTime.Now.ToString() + "订阅信息,信息ID为:" + mqtt.Subscribe(topic, StaticResources.NameToQos(name))); }