@ -847,125 +847,119 @@ void initPunchCommonFunParasList(QList<ParaItem> ¶sList)
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_S ETSTART PO INT, FUN_S ETSTART PO INT, 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_BACK STARTPOINT, FUN_BACKSTART POINT, 0x0003 , operate ) ) ;
FUN_BACKWORKPOINT , FUN_BACKWORKPOINT , 0x0003 , operate ) ) ;
//常用功能设置参数-常用按钮4; 单位: 无 , 范围全部, 默认FUN_BACKOFFSETPOINT
parasList . append ( makeAParaItem ( 0 ,
@ -973,279 +967,265 @@ void initPunchSewCommonFunParasList(QList<ParaItem> ¶sList)
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_BACKWORK POINT, 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_SET OFFSETPOINT, 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_BACKOFFSET POINT, 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 )