org.ccsds.moims.mo.mal.structures.Union.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(17.7k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中org.ccsds.moims.mo.mal.structures.Union.<init>()方法的一些代码示例,展示了Union.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Union.<init>()方法的具体详情如下:
包路径:org.ccsds.moims.mo.mal.structures.Union
类名称:Union
方法名:<init>

Union.<init>介绍

暂无

代码示例

代码示例来源:origin: int.esa.nmf.core.moservices.api/platform

/**
 * Asynchronous version of method enableUnit.
 * @param enable The enable field holds the boolean value to enable or disable the unit.
 * @param unitObjInstId The unitObjInstId field holds the object instance identifier of the unit to be enabled or disabled.
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @return the MAL message sent to initiate the interaction.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage asyncEnableUnit(Boolean enable, Long unitObjInstId, org.ccsds.moims.mo.platform.powercontrol.consumer.PowerControlAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return consumer.asyncRequest(org.ccsds.moims.mo.platform.powercontrol.PowerControlHelper.ENABLEUNIT_OP, adapter, (enable == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(enable), (unitObjInstId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(unitObjInstId));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/platform

/**
 * The enableUnit operation allows a consumer to enable and disable a specific Unit. .
 * @param enable The enable field holds the boolean value to enable or disable the unit.
 * @param unitObjInstId The unitObjInstId field holds the object instance identifier of the unit to be enabled or disabled.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public void enableUnit(Boolean enable, Long unitObjInstId) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 consumer.request(org.ccsds.moims.mo.platform.powercontrol.PowerControlHelper.ENABLEUNIT_OP, (enable == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(enable), (unitObjInstId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(unitObjInstId));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/com-nmf

/**
 * @param interactionTicket .
 * @param missingIndexes .
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public void retrieveRangeAgain(Long interactionTicket, org.ccsds.moims.mo.mal.structures.UIntegerList missingIndexes, org.ccsds.moims.mo.com.archivesync.consumer.ArchiveSyncAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 consumer.progress(org.ccsds.moims.mo.com.archivesync.ArchiveSyncHelper.RETRIEVERANGEAGAIN_OP, adapter, (interactionTicket == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(interactionTicket), missingIndexes);
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/platform

/**
 * Asynchronous version of method getNMEASentence.
 * @param sentenceIdentifier The sentenceIdentifier field shall hold the sentence identifier of the request.
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @return the MAL message sent to initiate the interaction.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage asyncGetNMEASentence(String sentenceIdentifier, org.ccsds.moims.mo.platform.gps.consumer.GPSAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return consumer.asyncInvoke(org.ccsds.moims.mo.platform.gps.GPSHelper.GETNMEASENTENCE_OP, adapter, (sentenceIdentifier == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(sentenceIdentifier));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/com-nmf

/**
 * @param transactionTicket .
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public void free(Long transactionTicket) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 consumer.submit(org.ccsds.moims.mo.com.archivesync.ArchiveSyncHelper.FREE_OP, (transactionTicket == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(transactionTicket));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/platform

/**
 * The getNMEASentence operation allows a consumer to request a NMEA sentence from a sentence identifier.
 * @param sentenceIdentifier The sentenceIdentifier field shall hold the sentence identifier of the request.
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public void getNMEASentence(String sentenceIdentifier, org.ccsds.moims.mo.platform.gps.consumer.GPSAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 consumer.invoke(org.ccsds.moims.mo.platform.gps.GPSHelper.GETNMEASENTENCE_OP, adapter, (sentenceIdentifier == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(sentenceIdentifier));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/platform

/**
 * Sends a INVOKE response to the consumer.
 * @param sentence The sentence field shall hold the NMEA sentence.
 * @return Returns the MAL message created by the response.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage sendResponse(String sentence) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return interaction.sendResponse((sentence == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(sentence));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/software-management

/**
 * Asynchronous version of method deployImage.
 * @param imageInstId .
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @return the MAL message sent to initiate the interaction.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage asyncDeployImage(Long imageInstId, org.ccsds.moims.mo.softwaremanagement.softwareimage.consumer.SoftwareImageAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return consumer.asyncSubmit(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.DEPLOYIMAGE_OP, adapter, (imageInstId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(imageInstId));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/com-nmf

/**
 * Asynchronous version of method free.
 * @param transactionTicket .
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @return the MAL message sent to initiate the interaction.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage asyncFree(Long transactionTicket, org.ccsds.moims.mo.com.archivesync.consumer.ArchiveSyncAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return consumer.asyncSubmit(org.ccsds.moims.mo.com.archivesync.ArchiveSyncHelper.FREE_OP, adapter, (transactionTicket == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(transactionTicket));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/software-management

/**
 * Sends a INVOKE response to the consumer.
 * @param newImageInstId .
 * @return Returns the MAL message created by the response.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage sendResponse(Long newImageInstId) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return interaction.sendResponse((newImageInstId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(newImageInstId));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/software-management

/**
 * @param imageInstId .
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public void deployImage(Long imageInstId) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 consumer.submit(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.DEPLOYIMAGE_OP, (imageInstId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(imageInstId));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/software-management

/**
 * The checkImageIntegrity operation allows a consumer to check the integrity of a software image on the provider. The checksum shall be generated from the checksum algorithm selected by the consumer.
 * @param imageInstIds The imageInstIds shall contain the object instance identifier of the image to be checked.
 * @param checksumAlgorithm .
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public void checkImageIntegrity(org.ccsds.moims.mo.mal.structures.LongList imageInstIds, String checksumAlgorithm, org.ccsds.moims.mo.softwaremanagement.softwareimage.consumer.SoftwareImageAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 consumer.invoke(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.CHECKIMAGEINTEGRITY_OP, adapter, imageInstIds, (checksumAlgorithm == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(checksumAlgorithm));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/com-nmf

/**
 * Asynchronous version of method retrieveRangeAgain.
 * @param interactionTicket .
 * @param missingIndexes .
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @return the MAL message sent to initiate the interaction.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage asyncRetrieveRangeAgain(Long interactionTicket, org.ccsds.moims.mo.mal.structures.UIntegerList missingIndexes, org.ccsds.moims.mo.com.archivesync.consumer.ArchiveSyncAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return consumer.asyncProgress(org.ccsds.moims.mo.com.archivesync.ArchiveSyncHelper.RETRIEVERANGEAGAIN_OP, adapter, (interactionTicket == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(interactionTicket), missingIndexes);
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/platform

/**
  * The setDesiredAttitude operation allows a consumer to set the spacecraft's attitude from an attitude definition.
  * @param objInstId The object instance identifier of the attitude definition to be set.
  * @param autoUnset The autoUnset field holds the duration after which the attitude definition shall be automatically unset.
If the field is null, then the attitude definition won't be automatically unset, in this case the manual unsetAttitude operation must be used to disengage it.
  * @param streamingRate The streamingRate field shall contain the publishing frequency. .
  * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
  * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
  */
 public void setDesiredAttitude(Long objInstId, org.ccsds.moims.mo.mal.structures.Duration autoUnset, org.ccsds.moims.mo.mal.structures.Duration streamingRate) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
 {
  consumer.submit(org.ccsds.moims.mo.platform.autonomousadcs.AutonomousADCSHelper.SETDESIREDATTITUDE_OP, (objInstId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(objInstId), autoUnset, streamingRate);
 }

代码示例来源:origin: int.esa.nmf.core.moservices.api/platform

/**
  * The enableSDR operation allows a consumer to enable or disable the Software-defined Radio.
  * @param enable The enable field shall hold the flag status to enable/disable the Software-defined Radio.
If the enable field is true then the Software-defined Radio shall be enabled otherwise disabled.
  * @param initialConfiguration The  initialConfiguration field shall hold the configuration to be set right after the SDR is enabled.
  * @param publishingPeriod .
  * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
  * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
  */
 public void enableSDR(Boolean enable, org.ccsds.moims.mo.platform.softwaredefinedradio.structures.SDRConfiguration initialConfiguration, org.ccsds.moims.mo.mal.structures.Duration publishingPeriod) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
 {
  consumer.submit(org.ccsds.moims.mo.platform.softwaredefinedradio.SoftwareDefinedRadioHelper.ENABLESDR_OP, (enable == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(enable), initialConfiguration, publishingPeriod);
 }

代码示例来源:origin: int.esa.nmf.core.moservices.api/software-management

/**
 * Asynchronous version of method checkImageIntegrity.
 * @param imageInstIds The imageInstIds shall contain the object instance identifier of the image to be checked.
 * @param checksumAlgorithm .
 * @param adapter adapter Listener in charge of receiving the messages from the service provider.
 * @return the MAL message sent to initiate the interaction.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage asyncCheckImageIntegrity(org.ccsds.moims.mo.mal.structures.LongList imageInstIds, String checksumAlgorithm, org.ccsds.moims.mo.softwaremanagement.softwareimage.consumer.SoftwareImageAdapter adapter) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return consumer.asyncInvoke(org.ccsds.moims.mo.softwaremanagement.softwareimage.SoftwareImageHelper.CHECKIMAGEINTEGRITY_OP, adapter, imageInstIds, (checksumAlgorithm == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(checksumAlgorithm));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/com-nmf

/**
 * Sends a PROGRESS acknowledge to the consumer.
 * @param interactionTicket .
 * @return Returns the MAL message created by the acknowledge.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage sendAcknowledgement(Long interactionTicket) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return interaction.sendAcknowledgement((interactionTicket == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(interactionTicket));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/software-management

/**
 * Sends a PROGRESS update to the consumer.
 * @param appClosing The appClosing field shall contain the object instance identifier of an app. This update shall be sent after the app acknowledges the reception of the command to stop.
 * @return Returns the MAL message created by the update.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage sendUpdate(Long appClosing) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return interaction.sendUpdate((appClosing == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(appClosing));
}

代码示例来源:origin: int.esa.nmf.core.moservices.api/software-management

/**
 * Sends a PROGRESS acknowledge to the consumer.
 * @param requestId The requestId field shall contain the id of the request.
 * @return Returns the MAL message created by the acknowledge.
 * @throws org.ccsds.moims.mo.mal.MALInteractionException if there is a problem during the interaction as defined by the MAL specification.
 * @throws org.ccsds.moims.mo.mal.MALException if there is an implementation exception.
 */
public org.ccsds.moims.mo.mal.transport.MALMessage sendAcknowledgement(Long requestId) throws org.ccsds.moims.mo.mal.MALInteractionException, org.ccsds.moims.mo.mal.MALException
{
 return interaction.sendAcknowledgement((requestId == null) ? null : new org.ccsds.moims.mo.mal.structures.Union(requestId));
}

代码示例来源:origin: int.esa.nmf.core.moservices.impl/ccsds-mc

private Union linearInterpolation(final Attribute value, final Pair top, final Pair bottom) {
  double x = HelperAttributes.attribute2double(value);
  double x_0 = HelperAttributes.attribute2double(bottom.getFirst());
  double y_0 = HelperAttributes.attribute2double(bottom.getSecond());
  double x_1 = HelperAttributes.attribute2double(top.getFirst());
  double y_1 = HelperAttributes.attribute2double(top.getSecond());
  return new Union(this.linearInterpolation(x, x_0, y_0, x_1, y_1));
}

相关文章