@@ -637,9 +637,9 @@ package SimpleVehicleModel{
637637 connect differential.rightDiffPort to rearAxle.rightHalfAxle.rightAxleToDiffPort;
638638
639639 interface wheelToleftHalAxleInterface:WheelHubInterface
640- connect rearWheel1.lugNutCompositePort [1] to rearAxle.leftHalfAxle.shankCompositePort [1] ;
640+ connect [1] rearWheel1.lugNutCompositePort to [1] rearAxle.leftHalfAxle.shankCompositePort;
641641 interface wheelTorightHalAxleInterface:WheelHubInterface
642- connect rearWheel2.lugNutCompositePort [1] to rearAxle.rightHalfAxle.shankCompositePort [1] ;
642+ connect [1] rearWheel2.lugNutCompositePort to [1] rearAxle.rightHalfAxle.shankCompositePort;
643643
644644 }
645645 part starterMotor:StarterMotor;
@@ -950,7 +950,7 @@ package SimpleVehicleModel{
950950 }
951951 }
952952 interface wheelHubInterface:WheelHubInterface
953- connect wheel1.lugNutCompositePort [1] to hub1.shankCompositePort [1] ;
953+ connect [1] wheel1.lugNutCompositePort to [1] hub1.shankCompositePort;
954954 }
955955 // alternative 2 - w multiple nesxted interfaces
956956 part wheelHubAssy2{
@@ -965,9 +965,9 @@ package SimpleVehicleModel{
965965 }
966966 }
967967 interface wheelHubInterface:WheelHubInterface
968- connect lugNutCompositePort ::> wheel1.lugNutCompositePort [1] to shankCompositePort ::> hub1.shankCompositePort [1] {
968+ connect [1] lugNutCompositePort ::> wheel1.lugNutCompositePort to [1] shankCompositePort ::> hub1.shankCompositePort {
969969 interface wheelFastenerInterface1 :> wheelFastenerInterface
970- connect lugNutPort ::> lugNutCompositePort.lugNutPort [5] to shankPort ::> shankCompositePort.shankPort [5] ;
970+ connect [5] lugNutPort ::> lugNutCompositePort.lugNutPort to [5] shankPort ::> shankCompositePort.shankPort;
971971 }
972972 }
973973 // alternative 3 - w explicit nesxted interfaces
@@ -996,7 +996,7 @@ package SimpleVehicleModel{
996996 }
997997}
998998 interface wheelHubInterface:WheelHubInterface
999- connect lugNutCompositePort ::> wheel1.lugNutCompositePort [1] to shankCompositePort ::> hub1.shankCompositePort [1] {
999+ connect [1] lugNutCompositePort ::> wheel1.lugNutCompositePort to [1] shankCompositePort ::> hub1.shankCompositePort {
10001000 interface wheelFastenerInterface1 :> wheelFastenerInterface
10011001 connect lugNutPort ::> lugNutCompositePort.lugNutPort1 to shankPort ::> shankCompositePort.shankPort1 {
10021002 attribute :>> maxTorque = 90 * 1.356 [N*m];
0 commit comments