IntegerChange

block IntegerChange "Indicates integer signal changing"
    extends Interfaces.IntegerSIBooleanSO;
equation
    y = change(u);

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {-90, 36}, 
                        {90, -36}},
                    lineColor = {160, 160, 164},
                    textString = "change()")}),
        Documentation(info = "<html>\n<p>\nThis block sets the Boolean output <strong>y</strong> to true, when the\nInteger input <strong>u</strong> changes:\n</p>\n<pre>    y = <strong>change</strong>( u );\n</pre>\n</html>"));
end IntegerChange;