Merge branch 'dep_yw0907' of http://175.27.215.92:3000/yangw/lj_plc into dep_yw0907

master
nodyang 1 year ago
commit 751b3f53ab

@ -113,8 +113,8 @@ namespace Mesnac.Controls.ChemicalWeighing
{ {
Image img = Image.FromStream(_imageStream); Image img = Image.FromStream(_imageStream);
Size size = new Size(); Size size = new Size();
size.Width = 29; size.Width = 11;
size.Height = 24; size.Height = 14;
this.Size = size; this.Size = size;
if (bNewPic == true) if (bNewPic == true)
{ {

@ -593,7 +593,9 @@
<EmbeddedResource Include="Resources\UCConveyorMoveR.gif" /> <EmbeddedResource Include="Resources\UCConveyorMoveR.gif" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Resources\AlarmLightNewGray.png" /> <EmbeddedResource Include="Resources\AlarmLightNewGray.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Resources\AlarmLightNewGreen.gif" /> <EmbeddedResource Include="Resources\AlarmLightNewGreen.gif" />
<EmbeddedResource Include="Resources\AlarmLightNewRed.gif" /> <EmbeddedResource Include="Resources\AlarmLightNewRed.gif" />
</ItemGroup> </ItemGroup>
@ -628,6 +630,12 @@
<EmbeddedResource Include="Resources\controlCabinet.png" /> <EmbeddedResource Include="Resources\controlCabinet.png" />
<EmbeddedResource Include="Resources\controlCabinet0.png" /> <EmbeddedResource Include="Resources\controlCabinet0.png" />
<EmbeddedResource Include="Resources\controlCabinet1.png" /> <EmbeddedResource Include="Resources\controlCabinet1.png" />
<EmbeddedResource Include="Resources\AlarmLightNewGreen.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Resources\AlarmLightNewRed.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<Content Include="Resources\prepareHopperRight.png" /> <Content Include="Resources\prepareHopperRight.png" />
<Content Include="Resources\prepareHopperLeft.png" /> <Content Include="Resources\prepareHopperLeft.png" />
<Content Include="Resources\fay.png" /> <Content Include="Resources\fay.png" />
@ -673,6 +681,10 @@
<Name>Mesnac.Controls.Default</Name> <Name>Mesnac.Controls.Default</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="Resources\AlarmLightNewGreen.psd" />
<None Include="Resources\AlarmLightNewRed.psd" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

@ -42,7 +42,7 @@ namespace Mesnac.Controls.ChemicalWeighing
sImages = new string[2]; sImages = new string[2];
sImages[0] = "Mesnac.Controls.ChemicalWeighing.Resources.p0.png";//zsTurnOff sImages[0] = "Mesnac.Controls.ChemicalWeighing.Resources.p0.png";//zsTurnOff
sImages[1] = "Mesnac.Controls.ChemicalWeighing.Resources.p1.png";//zsTurnOn sImages[1] = "Mesnac.Controls.ChemicalWeighing.Resources.p1.png";//zsTurnOn
_status = Statuses.TurnOff; _status = Statuses.TurnOn;
} }
private void ReloadStream() private void ReloadStream()
@ -113,8 +113,8 @@ namespace Mesnac.Controls.ChemicalWeighing
{ {
Image img = Image.FromStream(_imageStream); Image img = Image.FromStream(_imageStream);
Size size = new Size(); Size size = new Size();
size.Width = 29; size.Width = 10;
size.Height = 24; size.Height = 15;
this.Size = size; this.Size = size;
if (bNewPic == true) if (bNewPic == true)
{ {

@ -4,7 +4,7 @@
<Main> <Main>
<Brand value="Siemens" /> <Brand value="Siemens" />
<Model value="S7" /> <Model value="S7" />
<ReadHz value="5000" /> <ReadHz value="2000" />
<UnitLen value="8" /> <UnitLen value="8" />
<Connection mode="Net"> <Connection mode="Net">
<IP value="192.168.1.50" /> <IP value="192.168.1.50" />

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save