•
|
Defines the Table Header Name and Width of the Items
|
Each Item must have its own Method
Returns:
str: the Header Name of the Column
int: the Column Width
Possible Items for Technology Table: "Id", "Material", "SeamSize", "WeldingPosition", "WireDiameter", "GasFlowRate", "WireFeedSpeed", "WeldingSpeed", "Current", "Voltage", "WireConsumption", "GasFlow", "TotalWeldingTime"
def defineColId(self):
return self.__NLS.getNLS("Id","Id*"), int(self.__NLS.getNLS("IdWidth","21"))
def defineColMaterial(self):
return self.__NLS.getNLS("Material","Material*"), int(self.__NLS.getNLS("MaterialWidth","21"))
def defineColSeamSize(self):
return self.__NLS.getNLS("SeamSize","Seam Size*") + self.__systemUnit, int(self.__NLS.getNLS("SeamSizeWidth","21"))
def defineColWeldingPosition(self):
return self.__NLS.getNLS("WeldingPosition","Welding Position*"), int(self.__NLS.getNLS("WeldingPositionWidth","21"))
def defineColWeldingSpeed(self):
return self.__NLS.getNLS("WeldingSpeed","Welding Speed*") + self.__systemFeedUnit, int(self.__NLS.getNLS("WeldingSpeedWidth","21"))
def defineColWireDiameter(self):
return self.__NLS.getNLS("WireDiameter","Wire Diameter*") + self.__systemUnit, int(self.__NLS.getNLS("WireDiameterWidth","21"))
def defineColWireFeedSpeed(self):
return self.__NLS.getNLS("WireFeedSpeed","Wire Feed Speed*") + self.__systemFeedUnit, int(self.__NLS.getNLS("WireFeedSpeedWidth","21"))
def defineColWireConsumption(self):
return self.__NLS.getNLS("WireConsumption","Wire Consumption*"), int(self.__NLS.getNLS("WireConsumptionWidth","21"))
def defineColVoltage(self):
return self.__NLS.getNLS("Voltage","Voltage*"), int(self.__NLS.getNLS("VoltageWidth","21"))
def defineColCurrent(self):
return self.__NLS.getNLS("Current","Current*"), int(self.__NLS.getNLS("CurrentWidth","21"))
def defineColGasFlow(self):
return self.__NLS.getNLS("GasFlow","Gas Flow*"), int(self.__NLS.getNLS("GasFlowWidth","21"))
def defineColGasFlowRate(self):
return self.__NLS.getNLS("GasFlowRate","Gas Flow Rate*"), int(self.__NLS.getNLS("GasFlowRateWidth","21"))
def defineColTotalWeldingTime(self):
return self.__NLS.getNLS("TotalWeldingTime","Total Welding Time*") + self.__systemTimeUnit, int(self.__NLS.getNLS("TotalWeldingTimeWidth","21"))
Possible Items for Operation Table : "WeldSeam", "WPSID", "SeamSize", "WeldingPosition", "SeamLength", "WeldingTime"
def defineColOpsWeldSeam(self):
return self.__NLS.getNLS("WeldSeamOps","Weld Seam*"), int(self.__NLS.getNLS("WeldSeamOpsWidth","35"))
def defineColOpsWPSID(self):
return self.__NLS.getNLS("WPSIDOps","WPS ID*"), int(self.__NLS.getNLS("WPSIDOpsWidth","35"))
def defineColOpsSeamSize(self):
return self.__NLS.getNLS("SeamSizeOps","Seam Size*") + self.__systemUnit, int(self.__NLS.getNLS("SeamSizeOpsWidth","35"))
def defineColOpsWeldingPosition(self):
return self.__NLS.getNLS("WeldingPositionOps","Welding Position*"), int(self.__NLS.getNLS("WeldingPositionOpsWidth","35"))
def defineColOpsSeamLength(self):
return self.__NLS.getNLS("SeamLengthOps","Seam Length*") + self.__systemSizeUnit, int(self.__NLS.getNLS("SeamLengthOpsWidth","35"))
def defineColOpsWeldingTime(self):
return self.__NLS.getNLS("WeldingTimeOps","Welding Time*") + self.__systemTimeUnit, int(self.__NLS.getNLS("WeldingTimeOpsWidth","35"))
|