Exemplo n.º 1
0
 ///
 ///          <summary> * (9) get attribute DeviceCondition </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumDeviceCondition getDeviceCondition()
 {
     return(EnumDeviceCondition.getEnum(getAttribute(AttributeName.DEVICECONDITION, null, null)));
 }
Exemplo n.º 2
0
 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);
 }