Exemplo n.º 1
0
    /// <summary>
    /// 查看设备信息
    /// </summary>
    public void OnDevInfoButtonClick()
    {
        FacilityDevManage manager = FacilityDevManage.Instance;

        if (currentDev != null && manager)
        {
            if (manager.transform.parent != transform.parent)
            {
                manager.SetNewParent(transform.parent);
            }
            manager.Show(currentDev);
        }
    }
    /// <summary>
    /// 显示监控信息
    /// </summary>
    private void ShowMonitor()
    {
        FacilityDevManage manager = FacilityDevManage.Instance;

        if (manager)
        {
            manager.Show(devNode.Info);
        }
        //FacilityInfoManage manager = FacilityInfoManage.Instance;
        //if (manager)
        //{
        //    manager.Show(devNode.Info);
        //}
    }