Esempio n. 1
0
 public void RemoveEquipment(string name)
 {
     if (BlackBoard.Instance.GetValue <string> (Constant.BB_Name, "") == "")
     {
         DataManager.Instance.DeleteCollection(name);
         ViewManager.Instance.StartViewByPanelName(Constant.CollectionPanel);
         ViewManager.Instance.ShowMessageView("设备删除成功!");
     }
     else
     {
         StartCoroutine(collection.RemoveCollectionsPost(name));
     }
 }