コード例 #1
0
 ///
 ///          <summary> * (9) get attribute DeviceOperationMode </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumDeviceOperationMode getDeviceOperationMode()
 {
     return(EnumDeviceOperationMode.getEnum(getAttribute(AttributeName.DEVICEOPERATIONMODE, null, null)));
 }
コード例 #2
0
 static JDFAutoMISDetails()
 {
     atrInfoTable[0] = new AtrInfoTable(AttributeName.COSTTYPE, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumCostType.getEnum(0), null);
     atrInfoTable[1] = new AtrInfoTable(AttributeName.DEVICEOPERATIONMODE, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumDeviceOperationMode.getEnum(0), null);
     atrInfoTable[2] = new AtrInfoTable(AttributeName.WORKTYPE, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumWorkType.getEnum(0), null);
     atrInfoTable[3] = new AtrInfoTable(AttributeName.WORKTYPEDETAILS, 0x33333311, AttributeInfo.EnumAttributeType.string_, null, null);
 }
コード例 #3
0
ファイル: JDFAutoDeviceInfo.cs プロジェクト: cip4/JDFLibNet
 static JDFAutoDeviceInfo()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.COUNTERUNIT, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.DEVICECONDITION, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumDeviceCondition.getEnum(0), null);
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.DEVICEID, 0x33333333, AttributeInfo.EnumAttributeType.string_, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.DEVICEOPERATIONMODE, 0x33333311, AttributeInfo.EnumAttributeType.enumeration, EnumDeviceOperationMode.getEnum(0), null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.DEVICESTATUS, 0x22222222, AttributeInfo.EnumAttributeType.enumeration, EnumDeviceStatus.getEnum(0), null);
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.HOURCOUNTER, 0x33333333, AttributeInfo.EnumAttributeType.duration, null, null);
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.POWERONTIME, 0x33333333, AttributeInfo.EnumAttributeType.dateTime, null, null);
     atrInfoTable[7]  = new AtrInfoTable(AttributeName.PRODUCTIONCOUNTER, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[8]  = new AtrInfoTable(AttributeName.SPEED, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     atrInfoTable[9]  = new AtrInfoTable(AttributeName.STATUSDETAILS, 0x33333333, AttributeInfo.EnumAttributeType.shortString, null, null);
     atrInfoTable[10] = new AtrInfoTable(AttributeName.TOTALPRODUCTIONCOUNTER, 0x33333333, AttributeInfo.EnumAttributeType.double_, null, null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.DEVICE, 0x66666666);
     elemInfoTable[1] = new ElemInfoTable(ElementName.EMPLOYEE, 0x33333333);
     elemInfoTable[2] = new ElemInfoTable(ElementName.JOBPHASE, 0x33333333);
     elemInfoTable[3] = new ElemInfoTable(ElementName.MODULESTATUS, 0x33333333);
 }