CommandStatus CommandHandlerAdapter::Select(const AnalogOutputInt16& arCommand, size_t aIndex) { jshort value = arCommand.GetValue(); jlong index = aIndex; jint status = this->GetEnv()->CallIntMethod(mProxy, mSelectAnalogInt16, value, index); return IntToCommandStatus(status); }
void Group41Var2::Write(uint8_t* apBuff, const AnalogOutputInt16& arVal) const { this->mValue.Set(apBuff, arVal.GetValue()); this->mStatus.Set(apBuff, arVal.mStatus); }