public PlaneVpx(Rectangle rect, string name, VpxCategory type) : base(rect, name, type) { AssignRect(); base.EthArea = new VpxEndAreaView(_infoAreaRects[0], LinkType.EtherNet, type); base.RioArea = new VpxEndAreaView(_infoAreaRects[1], LinkType.RapidIO, type); base.GtxArea = new VpxEndAreaView(_infoAreaRects[2], LinkType.GTX, type); base.LvdsArea = new VpxEndAreaView(_infoAreaRects[3], LinkType.LVDS, type); }
} //该vpx的种类 public VpxEndAreaView(Rectangle rect, LinkType linkType, VpxCategory type) : base(rect) { LinkType = linkType; Type = type; }
protected VpxEndView(Rectangle rect, string name, VpxCategory type) : base(rect) { Name = name; this.Type = type; }