扩展PLC索引值到1000 三位数

master
bobpan 5 years ago
parent 6ff677c6ba
commit 56f2c57cc4

@ -1,4 +1,3 @@
<RCC> <RCC>
<qresource prefix="Enchanter"> <qresource prefix="/Enchanter"/>
</qresource>
</RCC> </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> <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> </QtMoc>
</ItemGroup> </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" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')"> <ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
<Import Project="$(QtMsBuild)\qt.targets" /> <Import Project="$(QtMsBuild)\qt.targets" />

@ -44,4 +44,15 @@
<Filter>Resource Files</Filter> <Filter>Resource Files</Filter>
</QtRcc> </QtRcc>
</ItemGroup> </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> </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 "QPLCIndexUI.h"
#include "WfModel.h" #include "WfModel.h"
#include "QAddModeUI.h" #include "QAddModeUI.h"
#define LP_WF_PLC_MAX_INDEX 100 #define LP_WF_PLC_MAX_INDEX 1000
#pragma execution_character_set("utf-8") #pragma execution_character_set("utf-8")
QModelMangerUI::QModelMangerUI(QWidget *parent) QModelMangerUI::QModelMangerUI(QWidget *parent)
: QWidget(parent) : QWidget(parent)

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

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

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

Loading…
Cancel
Save