1、修改配置文件名称;
2、修改花样文件夹路径,并删除fcg文件;
3、合并任晴的代码;
This commit is contained in:
华海艳 2024-02-19 11:33:47 +08:00
parent 6bb609026d
commit b9438b59c4
8 changed files with 403 additions and 352 deletions

View File

@ -847,125 +847,119 @@ void initPunchCommonFunParasList(QList<ParaItem> &parasList)
void initPunchSewCommonFunParasList(QList<ParaItem> &parasList)
{
//常用功能设置参数---------------------------
//常用功能设置参数-常用按钮1单位无 ,范围全部,默认
//常用功能设置参数-常用按钮1单位无 ,范围全部,默认FUN_PATTERNSELECT
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
1, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button1"),//常用按钮1
FUN_PATTERNSELECT, FUN_ALLTOZERO, FUN_NULL, FUN_PATTERNSELECT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_ALLTOZERO, FUN_ALLTOZERO, FUN_NULL, FUN_ALLTOZERO, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_PATTERNSELECT, FUN_PATTERNSELECT, 0x0001, operate));
FUN_ALLTOZERO, FUN_ALLTOZERO, 0x0001, operate));
//常用功能设置参数-常用按钮2单位无 ,范围全部,默认
//常用功能设置参数-常用按钮2单位无 ,范围全部,默认FUN_BACKTOORIGIN
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
2, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button2"),//常用按钮2
FUN_SETSTARTPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_SETSTARTPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_SPINDLETEST, FUN_ALLTOZERO, FUN_NULL, FUN_SPINDLETEST, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_SETSTARTPOINT, FUN_SETSTARTPOINT, 0x0002, operate));
FUN_SPINDLETEST, FUN_SPINDLETEST, 0x0002, operate));
//常用功能设置参数-常用按钮3单位无 ,范围全部,默认
//常用功能设置参数-常用按钮3单位无 ,范围全部,默认FUN_SETOFFSETPOINT
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
3, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button3"),//常用按钮3
FUN_BACKSTARTPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_BACKSTARTPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_BACKWORKPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_BACKWORKPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_BACKSTARTPOINT, FUN_BACKSTARTPOINT, 0x0003, operate));
FUN_BACKWORKPOINT, FUN_BACKWORKPOINT, 0x0003, operate));
//常用功能设置参数-常用按钮4单位范围全部默认FUN_BACKOFFSETPOINT
parasList.append(makeAParaItem(0,
@ -973,279 +967,265 @@ void initPunchSewCommonFunParasList(QList<ParaItem> &parasList)
0 ,
4, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button4"),//常用按钮4
FUN_CHECKFRAME, FUN_ALLTOZERO, FUN_NULL, FUN_CHECKFRAME, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_BACKANCHORPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_BACKANCHORPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_CHECKFRAME, FUN_CHECKFRAME, 0x0004, operate));
FUN_BACKANCHORPOINT, FUN_BACKANCHORPOINT, 0x0004, operate));
//常用功能设置参数-常用按钮5单位无 ,范围全部,默认
//常用功能设置参数-常用按钮5单位无 ,范围全部,默认FUN_SETSTARTEMBPOINT
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
5, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button5"),//常用按钮5
FUN_BACKWORKPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_BACKWORKPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_SETOFFSETPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_SETOFFSETPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_BACKWORKPOINT, FUN_BACKWORKPOINT, 0x0005, operate));
FUN_SETOFFSETPOINT, FUN_SETOFFSETPOINT, 0x0005, operate));
//常用功能设置参数-常用按钮6单位无 ,范围全部,默认
//常用功能设置参数-常用按钮6单位无 ,范围全部,默认FUN_BACKSTARTEMBPOINT
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
6, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button6"),//常用按钮6
FUN_SETOFFSETPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_SETOFFSETPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_BACKOFFSETPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_BACKOFFSETPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_SETOFFSETPOINT, FUN_SETOFFSETPOINT, 0x0006, operate));
FUN_BACKOFFSETPOINT, FUN_BACKOFFSETPOINT, 0x0006, operate));
//常用功能设置参数-常用按钮7单位无 ,范围全部,默认
//常用功能设置参数-常用按钮7单位无 ,范围全部,默认FUN_CHECKFRAME
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
7, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button7"),//常用按钮7
FUN_BACKOFFSETPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_BACKOFFSETPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_SETANCHORPOINT, FUN_ALLTOZERO, FUN_NULL, FUN_SETANCHORPOINT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_BACKOFFSETPOINT, FUN_BACKOFFSETPOINT, 0x0007, operate));
FUN_SETANCHORPOINT, FUN_SETANCHORPOINT, 0x0007, operate));
//常用功能设置参数-常用按钮8单位无 ,范围全部,默认
//常用功能设置参数-常用按钮8单位无 ,范围全部,默认FUN_MANUALTRIM
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
8, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button8"),//常用按钮8
FUN_PUNCHSPINDLEJOG, FUN_ALLTOZERO, FUN_NULL, FUN_PUNCHSPINDLEJOG, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_CHECKFRAME, FUN_ALLTOZERO, FUN_NULL, FUN_CHECKFRAME, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_PUNCHSPINDLEJOG, FUN_PUNCHSPINDLEJOG, 0x0008, operate));
FUN_CHECKFRAME, FUN_CHECKFRAME, 0x0008, operate));
//常用功能设置参数-常用按钮9单位无 ,范围全部,默认
//常用功能设置参数-常用按钮9单位无 ,范围全部,默认FUN_MANUALCHANGECOLOR
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
9, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button9"),//常用按钮9
FUN_PUNCHMANUALCHANGECOLOR, FUN_ALLTOZERO, FUN_NULL, FUN_PUNCHMANUALCHANGECOLOR, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_FORWARDORBACK, FUN_ALLTOZERO, FUN_NULL, FUN_FORWARDORBACK, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_PUNCHMANUALCHANGECOLOR, FUN_PUNCHMANUALCHANGECOLOR, 0x0009, operate));
FUN_FORWARDORBACK, FUN_FORWARDORBACK, 0x0009, operate));
//常用功能设置参数-常用按钮10单位无 ,范围全部,默认
//常用功能设置参数-常用按钮10单位无 ,范围全部,默认FUN_PATTERNSELECT
parasList.append(makeAParaItem(0,
PARA_TYPE_COMMONFUN,
0 ,
10, 0, 0, PARA_VALUE_TYPE_LIST,
QCoreApplication::translate("GLOBAL", "Frequently used button10"),//常用按钮10
FUN_SINGLEPUNCH, FUN_ALLTOZERO, FUN_NULL, FUN_SINGLEPUNCH, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零
QCoreApplication::translate("GLOBAL","SpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点
QCoreApplication::translate("GLOBAL","SetStartPoint:")+QString::number(FUN_SETSTARTPOINT)+";"+//定起始点
QCoreApplication::translate("GLOBAL","BackStartPoint:")+QString::number(FUN_BACKSTARTPOINT)+";"+//回起始点
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔
QCoreApplication::translate("GLOBAL","FrameZero:")+QString::number(FUN_FRAMEZERO)+";"+//框架归零
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车
QCoreApplication::translate("GLOBAL","Sewing head lifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动
QCoreApplication::translate("GLOBAL","PunchSetStartPoint:")+QString::number(FUN_SECSETSTARTPOINT)+";"+//冲孔定起始点(第二机头定起始点)
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头
QCoreApplication::translate("GLOBAL","Head 1 thread trimming:")+QString::number(FUN_SEWHEADCUTLINEO)+";"+//机头1剪线
QCoreApplication::translate("GLOBAL","Head 2 thread trimming:")+QString::number(FUN_SEWHEADCUTLINET)+";"+//机头2剪线
QCoreApplication::translate("GLOBAL","Needle shuttle proofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点
FUN_PATTERNSELECT, FUN_ALLTOZERO, FUN_NULL, FUN_PATTERNSELECT, 0, "", "",
(QCoreApplication::translate("GLOBAL", "AllToZero:")+QString::number(FUN_ALLTOZERO)+";"+//全部归零 -1
QCoreApplication::translate("GLOBAL","PunchSpindleTest:")+QString::number(FUN_SPINDLETEST)+";"+//冲孔主轴研车 -4
QCoreApplication::translate("GLOBAL","BackWorkPoint:")+QString::number(FUN_BACKWORKPOINT)+";"+//回工作点 -5
QCoreApplication::translate("GLOBAL","BackAnchorPoint:")+QString::number(FUN_BACKANCHORPOINT)+";"+//回定位点 -6
QCoreApplication::translate("GLOBAL","SetOffsetPoint:")+QString::number(FUN_SETOFFSETPOINT)+";"+//定偏移点 -8
QCoreApplication::translate("GLOBAL","BackOffsetPoint:")+QString::number(FUN_BACKOFFSETPOINT)+";"+//回偏移点 -9
QCoreApplication::translate("GLOBAL","SewSetAnchorPoint:")+QString::number(FUN_SETANCHORPOINT)+";"+//缝纫定定位点 -11
QCoreApplication::translate("GLOBAL","CheckFrame:")+QString::number(FUN_CHECKFRAME)+";"+//边框检查-13
QCoreApplication::translate("GLOBAL","ForwardOrBackward:")+QString::number(FUN_FORWARDORBACK)+";"+//前进回退-14
QCoreApplication::translate("GLOBAL","PatternSelect:")+QString::number(FUN_PATTERNSELECT)+";"+//花样选择-16
QCoreApplication::translate("GLOBAL","PunchSpindleJog:")+QString::number(FUN_PUNCHSPINDLEJOG)+";"+//冲孔主轴点动 -17
QCoreApplication::translate("GLOBAL","ManualColorChange:")+QString::number(FUN_PUNCHMANUALCHANGECOLOR)+";"+//手动换色 -18
QCoreApplication::translate("GLOBAL","SinglePunch:")+QString::number(FUN_SINGLEPUNCH)+";"+//单次冲孔 -20
QCoreApplication::translate("GLOBAL","MoveToRightUp:")+QString::number(FUN_MOVETORIGHTUP)+";"+//去右上角-22
QCoreApplication::translate("GLOBAL","MoveToRightDown:")+QString::number(FUN_MOVETORIGHTDOWN)+";"+//去右下角 -23
QCoreApplication::translate("GLOBAL","MoveToLeftUp:")+QString::number(FUN_MOVETOLEFTUP)+";"+//去左上角 -24
QCoreApplication::translate("GLOBAL","MoveToLeftDown:")+QString::number(FUN_MOVETOLEFTDOWN)+";"+//去左下角 -25
QCoreApplication::translate("GLOBAL","SetWorkRange:")+QString::number(FUN_SETWORKRANGE)+";"+//定工作范围 -26
QCoreApplication::translate("GLOBAL","PunchStopLower:")+QString::number(FUN_PUNCHSTOPLOWER)+";"+//冲头停下位 -28
QCoreApplication::translate("GLOBAL","SewSpindleTest:")+QString::number(FUN_SEWSPINDLETEST)+";"+//缝纫主轴研车-34
QCoreApplication::translate("GLOBAL","SewHeadLifting:")+QString::number(FUN_SEWMOTORUPDOWN)+";"+//缝纫机头升降 -35
QCoreApplication::translate("GLOBAL","SewSpindleJog:")+QString::number(FUN_SEWSPINDLEJOG)+";"+//缝纫主轴点动 -36
QCoreApplication::translate("GLOBAL","SewHookPosition:")+QString::number(FUN_SEWHOOKPOSITION)+";"+//缝纫主轴去勾线位 -37
QCoreApplication::translate("GLOBAL","PunchSetAnchorPoint:")+QString::number(FUN_SECSETANCHORPOINT)+";"+//冲孔定定位点-40
QCoreApplication::translate("GLOBAL","ChangeMachineSewHead:")+QString::number(FUN_SELECTSEWHEAD)+";"+//切换缝纫机头-41
QCoreApplication::translate("GLOBAL","ChangeMachinePunchHead:")+QString::number(FUN_SELECTPUCNHHEAD)+";"+//切换冲孔机头-42
QCoreApplication::translate("GLOBAL","NeedleShuttleProofreading:")+QString::number(FUN_NEEDLECONTRAST)+";"+//针梭校对 -45
QCoreApplication::translate("GLOBAL","BackCenter:")+QString::number(FUN_RETURNTOCENTERPOINT)+";"+//回中心点 -52
QCoreApplication::translate("GLOBAL","Null:")+QString::number(FUN_NULL)+";"),//无功能
FUN_SINGLEPUNCH, FUN_SINGLEPUNCH, 0x000A, operate));
FUN_PATTERNSELECT, FUN_PATTERNSELECT, 0x000A, operate));
//常用功能设置参数---------------------------
}
void initPunchEmbSewCommonFunParasList(QList<ParaItem> &parasList)

View File

@ -1212,7 +1212,7 @@ typedef struct
#define ROTATE_ADJUST 0x0003 // 旋转校对
#define HEAD_LIFT_UP 0x0004 // 机头上升
#define SET_WORK_AREA 0x0005 // 设置可工作区域
#define CHANGE_WORK_HEAD 0X0006 //机头切换
#define SEWING_MS_RUN 0x0009 // 缝纫主轴研车
#define PUNCH_MS_RUN 0x000A // 冲孔主轴研车
#define ALL_MS_RUN 0x000B // 所有主轴研车
@ -1235,9 +1235,10 @@ typedef struct
#define CHECK_CANBUS 0x0023 // 总线检测
#define PUNCH_MS_JOG 0x0030 // 多头冲孔点动
#define PUNCH_SW_KN 0x0031 // 多头冲孔换刀
#define PUNCH_CHANGE_ZERO 0x0032 // 冲孔换色0
#define PUNCH_CHANGE_ZERO 0x0032 // 冲孔换色
#define PUNCH_MS_POH 0x0035 //单次冲孔
#define PUNCH_MS_CD 0x0036 //冲头停下位
#define CHANGE_WORK_HEAD 0X0037 //机头切换
#define AUTO_SET_RANGE 0x0038 // 自动设定工作范围
#define PUNCH_DRAW_OUTLINE 0x003A //画轮廓线
#define PUNCH_CON_OIL 0x0077 // 冲孔连续供油

View File

@ -77,13 +77,15 @@ QString getErrStr(u32 code)
CASE_OP(ERR_MC_AUTO, QObject::tr("Machine is in auto state")); // 机器处于自动状态
CASE_OP(ERR_INSTALLMENT_OK, QObject::tr("Password set finished")); // 密码设置成功
CASE_OP(ERR_INSTALLMENT_FAIL, QObject::tr("Password set failed")); // 密码设置失败
CASE_OP(ERR_READ_HEAD_PARA, QObject::tr("Error reading headboard parameters")); // 读取机头板参数错误
CASE_OP(ERR_READ_HEAD_PARA, QObject::tr("Error reading headboard parameters")); // 读取机头板参数错误
CASE_OP(ERR_CHANGE_PNHPIN1, QObject::tr("Replace punch 1")); // 更换冲头1
CASE_OP(ERR_CHANGE_PNHPIN2, QObject::tr("Replace punch 2")); // 更换冲头2
CASE_OP(ERR_CHANGE_PNHPIN3, QObject::tr("Replace punch 3")); // 更换冲头3
CASE_OP(ERR_CHANGE_PNHPIN4, QObject::tr("Replace punch 4")); // 更换冲头4
CASE_OP(ERR_CHANGE_PNHPIN5, QObject::tr("Replace punch 5")); // 更换冲头5
CASE_OP(ERR_CHANGE_PNHPIN6, QObject::tr("Replace punch 6")); // 更换冲头6
CASE_OP(ERR_MT_DRIVER_R, QObject::tr("Rotating driver alarm")); // 旋转驱动器报警
CASE_OP(ERR_MT_DRIVER_R2, QObject::tr("Rotation 2 driver alarm")); // 旋转2驱动器报警
//通用的状态信息
CASE_OP(STA_NORMAL_STOP, QObject::tr("Normal stop")); // 正常停止

View File

@ -70,24 +70,52 @@ int main(int argc, char *argv[])
g_pSettings = new Settings();
//将文件和文件夹重命名,防止旧程序升级为新程序时因为文件名称不同,造成死机
//重命名mcConfig.ini
//重命名或删除mcConfig.ini
QString mcconfigfile;
mcconfigfile = apppath.path() + apppath.separator() + "mcConfig.ini";
QFile file(mcconfigfile);
if(file.exists())
QString mcconfigfile1;
mcconfigfile1 = apppath.path() + apppath.separator() + "mcconfig.ini";
QFile file1(mcconfigfile1);
if(file1.exists())
{
QString mcconfigfileCp = apppath.path() + apppath.separator() + "mcconfig.ini";
file.rename(mcconfigfileCp);
file.remove();//删除mcConfig.ini
}
else
{
if(file.exists())
{
QString mcconfigfileCp = apppath.path() + apppath.separator() + "mcconfig.ini";
file.rename(mcconfigfileCp);
#ifdef Q_OS_LINUX
system("sync");
#endif
}
}
//重命名lotConfig.ini
//重命名或删除lotConfig.ini
QString lotconfigfile;
lotconfigfile = apppath.path() + apppath.separator() + "lotConfig.ini";
file.setFileName(lotconfigfile);
if(file.exists())
QString lotconfigfile1;
lotconfigfile1 = apppath.path() + apppath.separator() + "lotconfig.ini";
file1.setFileName(lotconfigfile1);
if(file1.exists())
{
QString lotconfigfileCp = apppath.path() + apppath.separator() + "lotconfig.ini";
file.rename(lotconfigfileCp);
file.remove();//删除lotConfig.ini
}
else
{
if(file.exists())
{
QString lotconfigfileCp = apppath.path() + apppath.separator() + "lotconfig.ini";
file.rename(lotconfigfileCp);
#ifdef Q_OS_LINUX
system("sync");
#endif
}
}
//如果目录下有oprt文件夹删除此文件夹
@ -98,6 +126,7 @@ int main(int argc, char *argv[])
if(oprtDir.exists())
{
system("rm -rf /storage/oprt/oprt");
system("sync");
}
#endif
@ -124,6 +153,9 @@ int main(int argc, char *argv[])
QString dirPathCp = apppath.absolutePath() + apppath.separator() + PATTERNPATH;
dataFilesDir.rename(dirPath,dirPathCp);
#ifdef Q_OS_LINUX
system("sync");
#endif
}
//日志文件记录
@ -240,6 +272,10 @@ int main(int argc, char *argv[])
if(g_pSettings->ifKeyExists(g_emResolutStr) == true)
{
g_emResolut = (Resolution)(g_pSettings->readFromIniFile("HMI/resolution").toInt());
if(g_emResolut > resolution1006)
{
g_emResolut = resolution1006;
}
}
else
{
@ -247,10 +283,22 @@ int main(int argc, char *argv[])
}
language = g_pSettings->readFromIniFile("HMI/language").toInt();
if(language > english)
{
language = chinese;
}
g_emDebugMode =(DebugMode)(g_pSettings->readFromIniFile("HMI/debugMode").toInt());//如果存在配置文件并且有这个key就读配置文件里的调试模式的值
connectMode = g_pSettings->readFromIniFile("HMI/connectMode").toInt();
g_emMacType = (MachineType)(g_pSettings->readFromIniFile("HMI/machineType").toInt());
if(g_emMacType > MACHINE_TEMPLATE_SEW)
{
g_emMacType = MACHINE_PUNCH_AUTOPOS;
}
g_emProductType = (ProductType)(g_pSettings->readFromIniFile("HMI/productType").toInt());
if(g_emProductType > PRODUCT_NULL)
{
g_emProductType = PRODUCT_NULL;
}
gatewayConnectMode = g_pSettings->readFromIniFile("IOT/gatewayConnectMode").toInt();
}

View File

@ -2219,6 +2219,7 @@ void MainWidgetFunction::funFirstHeadSetAnchorPoint(QString filePath)
}
if(g_pCurEmbData != NULL)
{
g_pCurEmbData->setStartPosition(x,y);
g_pCurEmbData->setAnchorPosition(x,y);
//改变中间数据ds16的头文件
}
@ -2348,6 +2349,7 @@ void MainWidgetFunction::funSecHeadSetAnchorPoint(QString filePath)
}
if(g_pCurEmbData != NULL)
{
g_pCurEmbData->setStartPosition(x,y);
g_pCurEmbData->setAnchorPosition(x,y);
//改变中间数据ds16的头文件
}

View File

@ -2564,12 +2564,16 @@ void PunchSewMachine::initShortCutList()
m_allShortCutList.append(makeAShortCutItem(0,0x0004,tr("Sew Spindle Test"),"buttonSpindleTest",FUN_SEWSPINDLETEST));// 缝纫主轴研车
m_allShortCutList.append(makeAShortCutItem(0,0x0005,tr("Sew Head Up Dn"),"buttonHeadUpDn",FUN_SEWMOTORUPDOWN));//缝纫机头升降
m_allShortCutList.append(makeAShortCutItem(0,0x0006,tr("Sew Spindle Jog"),"buttonSpindleJog",FUN_SEWSPINDLEJOG));//缝纫主轴点动
m_allShortCutList.append(makeAShortCutItem(0,0x0007,tr("Sew Hook Position"),"buttonSewHookPosi",FUN_SEWHOOKPOSITION));//缝纫主轴去勾线位
m_allShortCutList.append(makeAShortCutItem(0,0x0008,tr("Head 1 trim"),"buttonManualTrim",FUN_SEWHEADCUTLINEO));//机头1剪线
m_allShortCutList.append(makeAShortCutItem(0,0x0007,tr("Sew Hook Position"),"buttonFrameZero",FUN_SEWHOOKPOSITION));//缝纫主轴去勾线位
if(g_emMacType == MACHINE_PUNCH_SEW && g_emProductType == PRODUCT_PUNCHSEW_SINGLEHEAD)//单头
{
m_allShortCutList.append(makeAShortCutItem(0,0x0008,tr("Head trim"),"buttonManualTrim",FUN_SEWHEADCUTLINEO));//机头剪线
}
//等于冲缝机并为2头
if(g_emMacType == MACHINE_PUNCH_SEW && g_emProductType == PRODUCT_PUNCHSEW_TWOHEAD)
{
m_allShortCutList.append(makeAShortCutItem(0,0x0008,tr("Head 1 trim"),"buttonManualTrim",FUN_SEWHEADCUTLINEO));//机头1剪线
m_allShortCutList.append(makeAShortCutItem(0,0x0009,tr("Head 2 trim"),"buttonManualTrim1",FUN_SEWHEADCUTLINET));//机头2剪线
}

View File

@ -2275,6 +2275,7 @@ void MainWidget::setCommonBtn()
{
int commonBtnIdx = g_pSettings->readFromIniFile("HMI/commonbtn"+QString::number(i+1)).toInt();
QString btnStyle;
btnStyle.clear();
if(commonBtnIdx == FUN_NULL)
{
btnStyle = "buttonAddCommonFunctions";
@ -2283,6 +2284,10 @@ void MainWidget::setCommonBtn()
{
btnStyle = getCommonBtnStyle(commonBtnIdx);//根据按钮索引找到对应按钮的图片名称
}
if(btnStyle.length() <= 0)
{
btnStyle = "buttonAddCommonFunctions";
}
m_shortCutBtnList[i]->setShortCutTopImage(m_setControlStyle.getTopStyleSheet(btnStyle),point);
}
}
@ -3661,6 +3666,7 @@ void MainWidget::slotShowPatternPara(QString filePath,s16 showFlag)
QString ext = fileInfo.suffix().toUpper();
int beginX,beginY,anchorX,anchorY;
beginX = beginY = 0;
anchorX = anchorY = 0;
if(ext == "DST")//dst文件
{
@ -3670,6 +3676,7 @@ void MainWidget::slotShowPatternPara(QString filePath,s16 showFlag)
else if(ext == "DSR")//dsr文件
{
DataFileDsr dsr;
//得到dsr源文件中的起始点和定位点
dsr.getBeginXYAndAnchorXY(m_curFilePath,beginX,beginY,anchorX,anchorY);
}
else
@ -3793,6 +3800,13 @@ void MainWidget::slotShowPatternPara(QString filePath,s16 showFlag)
//将起始点设置到ds16数据中-放在发送数据前
// m_fileHead.beginX = m_fileHead.anchorX + m_fileHead.beginX + g_pCurEmbData->getBeginX();
// m_fileHead.beginY = m_fileHead.anchorY + m_fileHead.beginY + g_pCurEmbData->getBeginY();
if(g_emMacType == MACHINE_PUNCH_SEW)
{
//冲缝机 定位点和起始点一样
m_fileHead.beginX= m_fileHead.anchorX;
m_fileHead.beginY=m_fileHead.anchorY;
}
//定位点写回ds16和头文件中
m_pMainWidgetFunction->funSetStartPoint(filePath,m_fileHead.beginX,m_fileHead.beginY);
if(g_emMacType == MACHINE_PUNCH_SEW_EMB)
{

View File

@ -2339,16 +2339,16 @@ void ParameterSetDialog::on_buttonOk_clicked()
}
else if(g_emMacType == MACHINE_PUNCH_SEW)//冲缝机
{
g_pSettings->writeToIniFile("HMI/commonbtn1",FUN_PATTERNSELECT);//快捷按钮1的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn2",FUN_SETSTARTPOINT);//快捷按钮2的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn3",FUN_BACKSTARTPOINT);//快捷按钮3的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn4",FUN_CHECKFRAME);//快捷按钮4的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn5",FUN_BACKWORKPOINT);//快捷按钮5的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn1",FUN_ALLTOZERO);//快捷按钮1的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn2",FUN_PUNCHSPINDLEJOG);//快捷按钮2的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn3",FUN_SPINDLEENABLE);//快捷按钮3的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn4",FUN_SPINDLEDISABLE);//快捷按钮4的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn5",FUN_SPINDLETEST);//快捷按钮5的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn6",FUN_SETOFFSETPOINT);//快捷按钮6的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn7",FUN_BACKOFFSETPOINT);//快捷按钮7的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn8",FUN_PUNCHSPINDLEJOG);//快捷按钮8的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn9",FUN_PUNCHMANUALCHANGECOLOR);//快捷按钮9的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn10",FUN_SINGLEPUNCH);//快捷按钮10的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn8",FUN_SETSTARTPOINT);//快捷按钮8的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn9",FUN_BACKSTARTPOINT);//快捷按钮9的功能索引
g_pSettings->writeToIniFile("HMI/commonbtn10",FUN_BACKWORKPOINT);//快捷按钮10的功能索引
}
else
{
@ -2391,8 +2391,8 @@ void ParameterSetDialog::on_buttonOk_clicked()
{
if(m_itemList[i].indexInPara == ROOT_RACKNUMBERINPUT)
{
int RackNumber = m_itemList[i].value;//机架号
g_pSettings->writeToIniFile("IOT/rackNumber",RackNumber);
int rackNumber = m_itemList[i].value;//机架号
g_pSettings->writeToIniFile("IOT/rackNumber",rackNumber);
}
else if(m_itemList[i].indexInPara == ROOT_DELIVERYTIME)
{