public void ClearTopoTable()
 {
     Log.InfoStart("ClearTopoTable");
     Archors.Clear();
     DevInfos.Clear();
     Maps.Clear();
     PhysicalTopologys.Clear();
     TransformMs.Clear();
     NodeKKSs.Clear();
     Points.Clear();
     Bounds.Clear();
     Log.InfoEnd("ClearTopoTable");
 }
        private void SetInitBound(PhysicalTopology topo, double x1, double y1, double x2, double y2, double thicknessT, bool isRelative = true,
                                  double bottomHeightT = 0, bool isOnNormalArea = true, bool isOnAlarmArea = false, bool isOnLocationArea = false)
        {
            Bound      initBound = new Bound(x1, y1, x2, y2, bottomHeightT, thicknessT, isRelative);
            Bound      editBound = new Bound(x1, y1, x2, y2, bottomHeightT, thicknessT, isRelative);
            TransformM transfrom = new TransformM(initBound);

            Bounds.Add(initBound);
            Bounds.Add(editBound);
            transfrom.IsCreateAreaByData = isOnNormalArea;
            transfrom.IsOnAlarmArea      = isOnAlarmArea;
            transfrom.IsOnLocationArea   = isOnLocationArea;
            TransformMs.Add(transfrom);

            topo.Transfrom = transfrom;
            topo.InitBound = initBound;
            topo.EditBound = editBound;
            PhysicalTopologys.Edit(topo);
        }