Ignore:
Timestamp:
2019-05-21T20:56:19+02:00 (5 years ago)
Author:
Adrian Pop <adrian.pop@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
2c90ef26, 38bb5e0, 4199f2d, 9dd81ea, e2eee3d
Parents:
ad11e88
git-author:
Adrian Pop <adrian.pop@…> (05/20/19 15:16:11)
git-committer:
Adrian Pop <adrian.pop@…> (05/21/19 20:56:19)
Message:
  • more API using the NF
  • fix ticket:5482 handle getIconAnnotation and getDiagramAnnotation via the NF
  • cache results of the NF instantiation
  • better fix for ticket:5484
  • change annotation Text record to have defaults for fontName and testStyle
  • update tests due to changes to Text annotation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuite/openmodelica/interactive-API/Buildings.PartialFlowMachine.mos

    r1add323 r0e102be  
    1111// true
    1212// ""
    13 // {-100.0,-100.0,100.0,100.0,false,0.1,2.0,2.0,{Line(true, {0.0, 0.0}, 0, {{0, 50}, {100, 50}}, {0, 0, 0}, LinePattern.Solid, 0.25, {Arrow.None, Arrow.None}, 3, Smooth.None), Line(true, {0.0, 0.0}, 0, {{0, 80}, {100, 80}}, {0, 0, 0}, LinePattern.Solid, 0.25, {Arrow.None, Arrow.None}, 3, Smooth.None), Line(false, {0.0, 0.0}, 0, {{0, 100}, {0, 40}}, {0, 0, 0}, LinePattern.Solid, 0.25, {Arrow.None, Arrow.None}, 3, Smooth.None), Rectangle(true, {0.0, 0.0}, 0, {0, 0, 0}, {0, 127, 255}, LinePattern.Solid, FillPattern.HorizontalCylinder, 0.25, BorderPattern.None, {{-100, 16}, {100, -14}}, 0), Ellipse(true, {0.0, 0.0}, 0, {0, 0, 0}, {0, 100, 199}, LinePattern.Solid, FillPattern.Sphere, 0.25, {{-58, 50}, {54, -58}}, 0, 360), Polygon(true, {0.0, 0.0}, 0, {0, 0, 0}, {255, 255, 255}, LinePattern.None, FillPattern.HorizontalCylinder, 0.25, {{0, 50}, {0, -56}, {54, 2}, {0, 50}}, Smooth.None), Ellipse(true, {0.0, 0.0}, 0, {0, 0, 0}, {0, 100, 199}, LinePattern.Solid, FillPattern.Sphere, 0.25, {{4, 14}, {34, -16}}, 0, 360), Rectangle(true, {0.0, 0.0}, 0, {0, 0, 0}, {135, 135, 135}, LinePattern.Solid, FillPattern.Solid, 0.25, BorderPattern.None, {{-34, 40}, {32, 100}}, 0), Ellipse(true, {0.0, 0.0}, 0, {0, 0, 0}, {135, 135, 135}, LinePattern.Solid, FillPattern.Solid, 0.25, {{-34, 100}, {32, 40}}, 0, 360), Text(true, {0.0, 0.0}, 0, {0, 0, 0}, {135, 135, 135}, LinePattern.Solid, FillPattern.Solid, 0.25, {{-22, 92}, {20, 46}}, "M", 0, {-1, -1, -1}, {TextStyle.Bold}, TextAlignment.Center), Text(true, {0.0, 0.0}, 0, {0, 0, 127}, {0, 0, 0}, LinePattern.Solid, FillPattern.None, 0.25, {{64, 98}, {114, 84}}, "P", 0, {-1, -1, -1}, TextAlignment.Center)}}
     13// {-100.0,-100.0,100.0,100.0,false,0.1,2.0,2.0,{Line(true, {0.0, 0.0}, 0, {{0, 50}, {100, 50}}, {0, 0, 0}, LinePattern.Solid, 0.25, {Arrow.None, Arrow.None}, 3, Smooth.None), Line(true, {0.0, 0.0}, 0, {{0, 80}, {100, 80}}, {0, 0, 0}, LinePattern.Solid, 0.25, {Arrow.None, Arrow.None}, 3, Smooth.None), Line(false, {0.0, 0.0}, 0, {{0, 100}, {0, 40}}, {0, 0, 0}, LinePattern.Solid, 0.25, {Arrow.None, Arrow.None}, 3, Smooth.None), Rectangle(true, {0.0, 0.0}, 0, {0, 0, 0}, {0, 127, 255}, LinePattern.Solid, FillPattern.HorizontalCylinder, 0.25, BorderPattern.None, {{-100, 16}, {100, -14}}, 0), Ellipse(true, {0.0, 0.0}, 0, {0, 0, 0}, {0, 100, 199}, LinePattern.Solid, FillPattern.Sphere, 0.25, {{-58, 50}, {54, -58}}, 0, 360), Polygon(true, {0.0, 0.0}, 0, {0, 0, 0}, {255, 255, 255}, LinePattern.None, FillPattern.HorizontalCylinder, 0.25, {{0, 50}, {0, -56}, {54, 2}, {0, 50}}, Smooth.None), Ellipse(true, {0.0, 0.0}, 0, {0, 0, 0}, {0, 100, 199}, LinePattern.Solid, FillPattern.Sphere, 0.25, {{4, 14}, {34, -16}}, 0, 360), Rectangle(true, {0.0, 0.0}, 0, {0, 0, 0}, {135, 135, 135}, LinePattern.Solid, FillPattern.Solid, 0.25, BorderPattern.None, {{-34, 40}, {32, 100}}, 0), Ellipse(true, {0.0, 0.0}, 0, {0, 0, 0}, {135, 135, 135}, LinePattern.Solid, FillPattern.Solid, 0.25, {{-34, 100}, {32, 40}}, 0, 360), Text(true, {0.0, 0.0}, 0, {0, 0, 0}, {135, 135, 135}, LinePattern.Solid, FillPattern.Solid, 0.25, {{-22, 92}, {20, 46}}, "M", 0, {-1, -1, -1}, "", {TextStyle.Bold}, TextAlignment.Center), Text(true, {0.0, 0.0}, 0, {0, 0, 127}, {0, 0, 0}, LinePattern.Solid, FillPattern.None, 0.25, {{64, 98}, {114, 84}}, "P", 0, {-1, -1, -1}, "", {}, TextAlignment.Center)}}
    1414// ""
    1515// endResult
Note: See TracChangeset for help on using the changeset viewer.