public static ErrorNumber GetDevice(DeviceType deviceType) { return((ErrorNumber)PlcmHelper.getDeviceEnum((int)deviceType)); }