public KdzLink(int id, int p1Id, int p2Id, MckNodes nodes, byte type, decimal length) { Id = id; P1 = nodes[p1Id]; P2 = nodes[p2Id]; Type = type; Length = length; }
public KdzInfraLink(SqlDataReader inprec, MckNodes nodes) : base(inprec.GetIntNumber(0), inprec.GetIntNumber(1), inprec.GetIntNumber(2), nodes, (byte)(inprec.GetIntNumberOrDefault(3) ?? 0), inprec.GetFixNumber(6) / 1000m) { if (inprec.GetIntNumber(4) > 0) { var gp = new GeoPolyLine(inprec.GetString(5), Length); MidPoints = gp.MidPoints().ToList(); } }
//LX4220, Point1, Point2, LX40T0, LX003, LShape, LShape.STLength() public KdzCarLink(SqlDataReader inprec, MckNodes nodes) : base(inprec, nodes) { }
public KdzCouplingLink(IDataRecord inprec, MckNodes nodes, TSysList tsyses) : base(inprec.GetIntNumber(0), inprec.GetIntNumber(1), inprec.GetIntNumber(2), nodes, (byte)inprec.GetIntNumber(3), inprec.GetFixNumber(4) / 1000m) { TSysSet = new TSysSet(tsyses.Pedestran()); }
public KdzInfraLink(int id, int p1Id, int p2Id, MckNodes nodes, byte type, decimal length) : base(id, p1Id, p2Id, nodes, type, length) { }