Changeset 670

Show
Ignore:
Timestamp:
10/11/2007 10:23:49 AM (15 months ago)
Author:
otter
Message:

Connectors/Icon of Math.InverseBlockConstraints newly constructed
sinced messed-up with Modelica 3.0 graphical annotations

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Modelica/trunk/Modelica/Blocks/Math.mo

    r669 r670  
    558558    extends Modelica.Blocks.Interfaces.BlockIcon; 
    559559     
    560     Interfaces.RealInput u1 "Input signal 1 (u1 = u2)"  
    561       annotation (Placement(transformation(extent={{-120,-10},{-100,10}}))); 
    562     annotation (Diagram(coordinateSystem(preserveAspectRatio=true, extent={{ 
    563               -100,-100},{100,100}}), graphics), Icon(coordinateSystem( 
    564             preserveAspectRatio=true, extent={{-100,-100},{100,100}}), graphics= 
    565            {Line( 
    566             points={{-100,0},{-72,0},{-72,60},{-100,60}}, 
    567             color={0,0,127}, 
    568             smooth=Smooth.None), Line( 
    569             points={{100,0},{70,0},{70,-60},{100,-60}}, 
    570             color={0,0,127}, 
    571             smooth=Smooth.None)})); 
    572     Interfaces.RealInput u2 "Input signal 2 (u1 = u2)"  
    573       annotation (Placement(transformation(extent={{-120,50},{-100,70}}))); 
    574     Interfaces.RealOutput y1 "Output signal 1 (y1 = y2)"  
    575       annotation (Placement(transformation(extent={{100,-10},{120,10}}))); 
    576     Interfaces.RealOutput y2 "Output signal 2 (y1 = y2)"  
    577       annotation (Placement(transformation(extent={{100,-70},{120,-50}}))); 
    578     annotation(structurallyIncomplete=true); 
     560    annotation(structurallyIncomplete=true,  
     561      Diagram,  
     562      Icon(Line(points=[-100,0; -58,0; -58,80; -100,80], style( 
     563            color=74,  
     564            rgbcolor={0,0,127},  
     565            smooth=0)), Line(points=[100,-62; 58,-62; 58,0; 100,0], style( 
     566            color=74,  
     567            rgbcolor={0,0,127},  
     568            smooth=0)))); 
     569    Interfaces.RealInput u1 annotation (extent=[-140,-20; -100,20]); 
     570    Interfaces.RealInput u2 annotation (extent=[-140,60; -100,100]); 
     571    Interfaces.RealOutput y1 annotation (extent=[100,-10; 120,10]); 
     572    Interfaces.RealOutput y2 annotation (extent=[100,-70; 120,-50]); 
    579573  equation  
    580574    u1 = u2;