* Plant discrete controller had a simulation issue with a Superblock,
it's possible to make it work after some GUI manipulation.
* Hydraulics links have been aligned to the grid
* AND Gate produced $\mathfs$ errors on loading
* NOR Gate produced $\mathfs$ errors on loading
Change-Id: Ie137757082d6ba33cb81d94479d43733b3c15825
graphics.exprs=exprs
x.graphics=graphics;
x.model=model
- // Updating the label:
- lab = "SineVoltage;displayedLabel=$\mathsf{\substack{"+exprs(1)+"\,V\\ \sim\,"+exprs(3)+"}}$"
- x.graphics.style = lab;
break
end
case "define" then
<add as="SineVoltage" extend="blockWithLabel">
<add as="shape" value="ellipse"/>
<add as="perimeter" value="ellipsePerimeter"/>
- <add as="displayedLabel" value="$\mathsf{\substack{%s\,V\vphantom{%s}\\ \sim\,%s}}$"/>
+ <add as="displayedLabel" value="$\mathsf{\substack{%1$s\,V\\ \sim\,%3s}}$"/>
</add>
<add as="Switch" extend="Icon">
<add as="image" value="$SCILAB/modules/xcos/images/blocks/SWITCH.svg"/>