FurnaceSimulator.csproj 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{FDF5BB48-689B-4B88-BABC-110F3DC07C67}</ProjectGuid>
  8. <OutputType>WinExe</OutputType>
  9. <RootNamespace>FurnaceSimulator</RootNamespace>
  10. <AssemblyName>FurnaceSimulator</AssemblyName>
  11. <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
  12. <FileAlignment>512</FileAlignment>
  13. <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  14. <WarningLevel>4</WarningLevel>
  15. <Deterministic>true</Deterministic>
  16. <TargetFrameworkProfile />
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  19. <PlatformTarget>AnyCPU</PlatformTarget>
  20. <DebugSymbols>true</DebugSymbols>
  21. <DebugType>full</DebugType>
  22. <Optimize>false</Optimize>
  23. <OutputPath>bin\Debug\</OutputPath>
  24. <DefineConstants>DEBUG;TRACE</DefineConstants>
  25. <ErrorReport>prompt</ErrorReport>
  26. <WarningLevel>4</WarningLevel>
  27. </PropertyGroup>
  28. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  29. <PlatformTarget>AnyCPU</PlatformTarget>
  30. <DebugType>pdbonly</DebugType>
  31. <Optimize>true</Optimize>
  32. <OutputPath>bin\Release\</OutputPath>
  33. <DefineConstants>TRACE</DefineConstants>
  34. <ErrorReport>prompt</ErrorReport>
  35. <WarningLevel>4</WarningLevel>
  36. </PropertyGroup>
  37. <ItemGroup>
  38. <Reference Include="log4net">
  39. <HintPath>..\..\ThirdParty\dlls\log4net.dll</HintPath>
  40. </Reference>
  41. <Reference Include="MECF.Framework.Common">
  42. <HintPath>..\..\FrameworkLocal\Output\MECF.Framework\MECF.Framework.Common.dll</HintPath>
  43. </Reference>
  44. <Reference Include="MECF.Framework.UI.Core">
  45. <HintPath>..\..\FrameworkLocal\Output\MECF.Framework\MECF.Framework.UI.Core.dll</HintPath>
  46. </Reference>
  47. <Reference Include="OpenSEMI.ClientBase, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  48. <SpecificVersion>False</SpecificVersion>
  49. <HintPath>..\..\ThirdParty\dlls\OpenSEMI.ClientBase.dll</HintPath>
  50. </Reference>
  51. <Reference Include="OpenSEMI.Ctrlib">
  52. <HintPath>..\..\ThirdParty\dlls\OpenSEMI.Ctrlib.dll</HintPath>
  53. </Reference>
  54. <Reference Include="PresentationFramework.Aero" />
  55. <Reference Include="System" />
  56. <Reference Include="System.Data" />
  57. <Reference Include="System.ServiceModel" />
  58. <Reference Include="System.Xml" />
  59. <Reference Include="Microsoft.CSharp" />
  60. <Reference Include="System.Core" />
  61. <Reference Include="System.Xml.Linq" />
  62. <Reference Include="System.Data.DataSetExtensions" />
  63. <Reference Include="System.Net.Http" />
  64. <Reference Include="System.Xaml">
  65. <RequiredTargetFramework>4.0</RequiredTargetFramework>
  66. </Reference>
  67. <Reference Include="WindowsBase" />
  68. <Reference Include="PresentationCore" />
  69. <Reference Include="PresentationFramework" />
  70. <Reference Include="WPFToolkit">
  71. <HintPath>..\..\ThirdParty\dlls\WPFToolkit.dll</HintPath>
  72. </Reference>
  73. <Reference Include="Xceed.Wpf.Toolkit">
  74. <HintPath>..\..\ThirdParty\dlls\Xceed.Wpf.Toolkit.dll</HintPath>
  75. </Reference>
  76. </ItemGroup>
  77. <ItemGroup>
  78. <ApplicationDefinition Include="App.xaml">
  79. <Generator>MSBuild:Compile</Generator>
  80. <SubType>Designer</SubType>
  81. </ApplicationDefinition>
  82. <Compile Include="App.xaml.cs">
  83. <DependentUpon>App.xaml</DependentUpon>
  84. <SubType>Code</SubType>
  85. </Compile>
  86. <Compile Include="Instances\SimulatorPlcService.cs" />
  87. <Compile Include="Instances\SimulatorPlc.cs" />
  88. <Compile Include="Instances\SimulatorSystem.cs" />
  89. <Compile Include="Instances\UiInstance.cs" />
  90. <Compile Include="Properties\Annotations.cs" />
  91. <Compile Include="Views\PLCView.xaml.cs">
  92. <DependentUpon>PLCView.xaml</DependentUpon>
  93. </Compile>
  94. <Compile Include="Views\LPView.xaml.cs">
  95. <DependentUpon>LPView.xaml</DependentUpon>
  96. </Compile>
  97. <Compile Include="Views\PlcViewModelBase.cs" />
  98. <Compile Include="Views\Converters\CassetteConverter.cs" />
  99. <Compile Include="Views\Converters\IoConvert.cs" />
  100. <Compile Include="Views\SimulatorIOHeaterView.xaml.cs">
  101. <DependentUpon>SimulatorIOHeaterView.xaml</DependentUpon>
  102. </Compile>
  103. <Compile Include="Views\SimulatorPMIOView.xaml.cs">
  104. <DependentUpon>SimulatorPMIOView.xaml</DependentUpon>
  105. </Compile>
  106. <Compile Include="Views\SimulatorPlcFloatIOView.xaml.cs">
  107. <DependentUpon>SimulatorPlcFloatIOView.xaml</DependentUpon>
  108. </Compile>
  109. </ItemGroup>
  110. <ItemGroup>
  111. <Compile Include="Properties\AssemblyInfo.cs">
  112. <SubType>Code</SubType>
  113. </Compile>
  114. <Compile Include="Properties\Resources.Designer.cs">
  115. <AutoGen>True</AutoGen>
  116. <DesignTime>True</DesignTime>
  117. <DependentUpon>Resources.resx</DependentUpon>
  118. </Compile>
  119. <Compile Include="Properties\Settings.Designer.cs">
  120. <AutoGen>True</AutoGen>
  121. <DependentUpon>Settings.settings</DependentUpon>
  122. <DesignTimeSharedInput>True</DesignTimeSharedInput>
  123. </Compile>
  124. <EmbeddedResource Include="Properties\Resources.resx">
  125. <Generator>ResXFileCodeGenerator</Generator>
  126. <LastGenOutput>Resources.Designer.cs</LastGenOutput>
  127. </EmbeddedResource>
  128. <None Include="Properties\Settings.settings">
  129. <Generator>SettingsSingleFileGenerator</Generator>
  130. <LastGenOutput>Settings.Designer.cs</LastGenOutput>
  131. </None>
  132. </ItemGroup>
  133. <ItemGroup>
  134. <None Include="App.config">
  135. <SubType>Designer</SubType>
  136. </None>
  137. </ItemGroup>
  138. <ItemGroup>
  139. <Page Include="Styles\Button.xaml">
  140. <SubType>Designer</SubType>
  141. <Generator>MSBuild:Compile</Generator>
  142. </Page>
  143. <Page Include="Views\PLCView.xaml">
  144. <Generator>MSBuild:Compile</Generator>
  145. <SubType>Designer</SubType>
  146. </Page>
  147. <Page Include="Views\LPView.xaml">
  148. <Generator>MSBuild:Compile</Generator>
  149. <SubType>Designer</SubType>
  150. </Page>
  151. <Page Include="Views\SimulatorIOHeaterView.xaml">
  152. <SubType>Designer</SubType>
  153. <Generator>MSBuild:Compile</Generator>
  154. </Page>
  155. <Page Include="Views\SimulatorPMIOView.xaml">
  156. <Generator>MSBuild:Compile</Generator>
  157. <SubType>Designer</SubType>
  158. </Page>
  159. <Page Include="Views\SimulatorPlcFloatIOView.xaml">
  160. <Generator>MSBuild:Compile</Generator>
  161. <SubType>Designer</SubType>
  162. </Page>
  163. </ItemGroup>
  164. <ItemGroup>
  165. <Resource Include="Resources\simulator.ico" />
  166. </ItemGroup>
  167. <ItemGroup>
  168. <ProjectReference Include="..\..\FrameworkLocal\RTCore\RTCore.csproj">
  169. <Project>{f913dfcb-9319-4fe9-98a5-2428cf6744de}</Project>
  170. <Name>RTCore</Name>
  171. </ProjectReference>
  172. <ProjectReference Include="..\..\FrameworkLocal\SimulatorCore\SimulatorCore.csproj">
  173. <Project>{be21b571-0145-447b-88da-61e621d60e0c}</Project>
  174. <Name>SimulatorCore</Name>
  175. </ProjectReference>
  176. <ProjectReference Include="..\FurnaceRT\FurnaceRT.csproj">
  177. <Project>{5eafa05f-c2c0-40b3-9c8f-46d8559148d0}</Project>
  178. <Name>FurnaceRT</Name>
  179. </ProjectReference>
  180. </ItemGroup>
  181. <ItemGroup>
  182. <None Include="Config\UILayout.xml">
  183. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  184. </None>
  185. </ItemGroup>
  186. <ItemGroup>
  187. <None Include="Config\_ioDefinePM.xml">
  188. <SubType>Designer</SubType>
  189. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  190. </None>
  191. </ItemGroup>
  192. <ItemGroup>
  193. <None Include="Config\_ioDefineHeater.xml">
  194. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  195. </None>
  196. </ItemGroup>
  197. <ItemGroup />
  198. <ItemGroup />
  199. <ItemGroup />
  200. <ItemGroup>
  201. <None Include="Config\SiBCN\_ioDefinePM.xml">
  202. <SubType>Designer</SubType>
  203. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  204. </None>
  205. </ItemGroup>
  206. <ItemGroup>
  207. <None Include="Config\SiBCN\_ioDefineHeater.xml">
  208. <SubType>Designer</SubType>
  209. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  210. </None>
  211. </ItemGroup>
  212. <ItemGroup>
  213. <None Include="Config\ELK\_ioDefinePM.xml">
  214. <SubType>Designer</SubType>
  215. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  216. </None>
  217. </ItemGroup>
  218. <ItemGroup>
  219. <None Include="Config\ELK\_ioDefineHeater.xml">
  220. <SubType>Designer</SubType>
  221. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  222. </None>
  223. </ItemGroup>
  224. <ItemGroup>
  225. <None Include="Config\NTP\_ioDefinePM.xml">
  226. <SubType>Designer</SubType>
  227. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  228. </None>
  229. </ItemGroup>
  230. <ItemGroup>
  231. <None Include="Config\NTP\_ioDefineHeater.xml">
  232. <SubType>Designer</SubType>
  233. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  234. </None>
  235. </ItemGroup>
  236. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  237. <PropertyGroup>
  238. <PostBuildEvent>if exist "$(ProjectDir)..\FurnaceSetup\Packages\FurnaceSimulator" rd "$(ProjectDir)..\FurnaceSetup\Packages\FurnaceSimulator" /s /q
  239. md "$(ProjectDir)..\FurnaceSetup\Packages\FurnaceSimulator\"
  240. echo 复制文件到安装目录,"$(ProjectDir)..\FurnaceSetup\Packages\FurnaceSimulator\"
  241. xcopy /e "$(TargetDir)*.*" "$(ProjectDir)..\FurnaceSetup\Packages\FurnaceSimulator\" /q</PostBuildEvent>
  242. </PropertyGroup>
  243. </Project>