扩展PLC索引值到1000 三位数

master
bobpan 5 years ago
parent 6ff677c6ba
commit 56f2c57cc4

@ -1,4 +1,3 @@
<RCC>
<qresource prefix="Enchanter">
</qresource>
<qresource prefix="/Enchanter"/>
</RCC>

Binary file not shown.

@ -125,6 +125,15 @@
<IncludePath Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\GeneratedFiles;.;$(QTDIR)\include;.\GeneratedFiles\$(ConfigurationName);$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets</IncludePath>
</QtMoc>
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Enchanter.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="Resources\molun.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" />

@ -44,4 +44,15 @@
<Filter>Resource Files</Filter>
</QtRcc>
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Enchanter.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="Resources\molun.ico" />
</ItemGroup>
</Project>

@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ 生成的包含文件。
// 供 Enchanter.rc 使用
//
#define IDI_ICON1 109
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 111
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

@ -6,7 +6,7 @@
#include "QPLCIndexUI.h"
#include "WfModel.h"
#include "QAddModeUI.h"
#define LP_WF_PLC_MAX_INDEX 100
#define LP_WF_PLC_MAX_INDEX 1000
#pragma execution_character_set("utf-8")
QModelMangerUI::QModelMangerUI(QWidget *parent)
: QWidget(parent)

@ -10,6 +10,11 @@
<height>450</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="windowTitle">
<string>型号管理</string>
</property>
@ -89,6 +94,11 @@
<height>25</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>添加</string>
</property>
@ -102,6 +112,11 @@
<height>25</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>修改</string>
</property>
@ -115,6 +130,11 @@
<height>25</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>删除</string>
</property>
@ -128,6 +148,11 @@
<height>25</height>
</size>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>设置为当前运行模型</string>
</property>
@ -144,7 +169,7 @@
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>10</pointsize>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>230</width>
<height>91</height>
<height>104</height>
</rect>
</property>
<property name="font">
@ -19,6 +19,9 @@
<string>QPLCIndexUI</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
</property>
<item row="1" column="0">
<widget class="QPushButton" name="BtnPCLIndexOK">
<property name="sizePolicy">
@ -27,9 +30,15 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
@ -45,9 +54,15 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
@ -73,7 +88,7 @@
<widget class="QLabel" name="label">
<property name="font">
<font>
<pointsize>11</pointsize>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
@ -91,11 +106,11 @@
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
<pointsize>15</pointsize>
</font>
</property>
<property name="maximum">
<number>100</number>
<number>1000</number>
</property>
</widget>
</item>

@ -74,7 +74,7 @@
<OutputFile>$(SolutionDir)..\runner17\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(QTDIR)\lib;.\..\..\3part\camera_Baumer\v2.8\Dev\C++\Lib\x64;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>qtmaind.lib;Qt5Cored.lib;bgapi2_genicam.lib;tpBased.lib;libzkqd.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>qtmaind.lib;Qt5Cored.lib;bgapi2_genicam.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

Loading…
Cancel
Save