All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.dariolucia.ccsds.sle.utl.si.rocf.RocfServiceInstanceState Maven / Gradle / Ivy

The newest version!
/*
 *  Copyright 2018-2019 Dario Lucia (https://www.dariolucia.eu)
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package eu.dariolucia.ccsds.sle.utl.si.rocf;

import java.util.Date;
import java.util.List;

import eu.dariolucia.ccsds.sle.utl.si.DeliveryModeEnum;
import eu.dariolucia.ccsds.sle.utl.si.GVCID;
import eu.dariolucia.ccsds.sle.utl.si.LockStatusEnum;
import eu.dariolucia.ccsds.sle.utl.si.ProductionStatusEnum;
import eu.dariolucia.ccsds.sle.utl.si.ServiceInstanceState;

public class RocfServiceInstanceState extends ServiceInstanceState {

	// Configuration or GET_PARAMETER
	private Integer latencyLimit;
	private List permittedGvcid;
	private List permittedTcVcid;
	private List permittedControlWordTypes;
	private List permittedUpdateModes;
	private Integer minReportingCycle;
	private Integer reportingCycle;
	private int transferBufferSize;
	// Selected via START
	private GVCID requestedGvcid;
	private Integer requestedTcVcid;
	private RocfControlWordTypeEnum requestedControlWordType;
	private RocfUpdateModeEnum requestedUpdateMode;
	private DeliveryModeEnum deliveryMode;
	private Date startTime;
	private Date endTime;
	// STATUS_REPORT
	private int processedFrameNumber;
	private int deliveredOcfsNumber;
	private LockStatusEnum frameSyncLockStatus;
	private LockStatusEnum symbolSyncLockStatus;
	private LockStatusEnum subcarrierLockStatus;
	private LockStatusEnum carrierLockStatus;
	private ProductionStatusEnum productionStatus;

	public final Integer getLatencyLimit() {
		return latencyLimit;
	}

	public final void setLatencyLimit(Integer latencyLimit) {
		this.latencyLimit = latencyLimit;
	}

	public final List getPermittedGvcid() {
		return permittedGvcid;
	}

	public final void setPermittedGvcid(List permittedGvcid) {
		this.permittedGvcid = permittedGvcid;
	}

	public final Integer getMinReportingCycle() {
		return minReportingCycle;
	}

	public final void setMinReportingCycle(Integer minReportingCycle) {
		this.minReportingCycle = minReportingCycle;
	}

	public final Integer getReportingCycle() {
		return reportingCycle;
	}

	public final void setReportingCycle(Integer reportingCycle) {
		this.reportingCycle = reportingCycle;
	}

	public final int getTransferBufferSize() {
		return transferBufferSize;
	}

	public final void setTransferBufferSize(int transferBufferSize) {
		this.transferBufferSize = transferBufferSize;
	}

	public final GVCID getRequestedGvcid() {
		return requestedGvcid;
	}

	public final void setRequestedGvcid(GVCID requestedGvcid) {
		this.requestedGvcid = requestedGvcid;
	}

	public final DeliveryModeEnum getDeliveryMode() {
		return deliveryMode;
	}

	public final void setDeliveryMode(DeliveryModeEnum deliveryMode) {
		this.deliveryMode = deliveryMode;
	}

	public final LockStatusEnum getFrameSyncLockStatus() {
		return frameSyncLockStatus;
	}

	public final void setFrameSyncLockStatus(LockStatusEnum frameSyncLockStatus) {
		this.frameSyncLockStatus = frameSyncLockStatus;
	}

	public final LockStatusEnum getSymbolSyncLockStatus() {
		return symbolSyncLockStatus;
	}

	public final void setSymbolSyncLockStatus(LockStatusEnum symbolSyncLockStatus) {
		this.symbolSyncLockStatus = symbolSyncLockStatus;
	}

	public final LockStatusEnum getSubcarrierLockStatus() {
		return subcarrierLockStatus;
	}

	public final void setSubcarrierLockStatus(LockStatusEnum subcarrierLockStatus) {
		this.subcarrierLockStatus = subcarrierLockStatus;
	}

	public final LockStatusEnum getCarrierLockStatus() {
		return carrierLockStatus;
	}

	public final void setCarrierLockStatus(LockStatusEnum carrierLockStatus) {
		this.carrierLockStatus = carrierLockStatus;
	}

	public final ProductionStatusEnum getProductionStatus() {
		return productionStatus;
	}

	public final void setProductionStatus(ProductionStatusEnum productionStatus) {
		this.productionStatus = productionStatus;
	}

	public final Date getStartTime() {
		return startTime;
	}

	public final void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public final Date getEndTime() {
		return endTime;
	}

	public final void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public final List getPermittedTcVcid() {
		return permittedTcVcid;
	}

	public final void setPermittedTcVcid(List permittedTcVcid) {
		this.permittedTcVcid = permittedTcVcid;
	}

	public final List getPermittedControlWordTypes() {
		return permittedControlWordTypes;
	}

	public final void setPermittedControlWordTypes(List permittedControlWordTypes) {
		this.permittedControlWordTypes = permittedControlWordTypes;
	}

	public final List getPermittedUpdateModes() {
		return permittedUpdateModes;
	}

	public final void setPermittedUpdateModes(List permittedUpdateModes) {
		this.permittedUpdateModes = permittedUpdateModes;
	}

	public final Integer getRequestedTcVcid() {
		return requestedTcVcid;
	}

	public final void setRequestedTcVcid(Integer requestedTcVcid) {
		this.requestedTcVcid = requestedTcVcid;
	}

	public final RocfControlWordTypeEnum getRequestedControlWordType() {
		return requestedControlWordType;
	}

	public final void setRequestedControlWordType(RocfControlWordTypeEnum requestedControlWordType) {
		this.requestedControlWordType = requestedControlWordType;
	}

	public final RocfUpdateModeEnum getRequestedUpdateMode() {
		return requestedUpdateMode;
	}

	public final void setRequestedUpdateMode(RocfUpdateModeEnum requestedUpdateMode) {
		this.requestedUpdateMode = requestedUpdateMode;
	}

	public final int getProcessedFrameNumber() {
		return processedFrameNumber;
	}

	public final void setProcessedFrameNumber(int processedFrameNumber) {
		this.processedFrameNumber = processedFrameNumber;
	}

	public final int getDeliveredOcfsNumber() {
		return deliveredOcfsNumber;
	}

	public final void setDeliveredOcfsNumber(int deliveredOcfsNumber) {
		this.deliveredOcfsNumber = deliveredOcfsNumber;
	}

	@Override
	public String toString() {
		return "RocfServiceInstanceState{" +
				"latencyLimit=" + getLatencyLimit() +
				", permittedGvcid=" + getPermittedGvcid() +
				", permittedTcVcid=" + getPermittedTcVcid() +
				", permittedControlWordTypes=" + getPermittedControlWordTypes() +
				", permittedUpdateModes=" + getPermittedUpdateModes() +
				", minReportingCycle=" + getMinReportingCycle() +
				", reportingCycle=" + getReportingCycle() +
				", transferBufferSize=" + getTransferBufferSize() +
				", requestedGvcid=" + getRequestedGvcid() +
				", requestedTcVcid=" + getRequestedTcVcid() +
				", requestedControlWordType=" + getRequestedControlWordType() +
				", requestedUpdateMode=" + getRequestedUpdateMode() +
				", deliveryMode=" + getDeliveryMode() +
				", startTime=" + getStartTime() +
				", endTime=" + getEndTime() +
				", processedFrameNumber=" + getProcessedFrameNumber() +
				", deliveredOcfsNumber=" + getDeliveredOcfsNumber() +
				", frameSyncLockStatus=" + getFrameSyncLockStatus() +
				", symbolSyncLockStatus=" + getSymbolSyncLockStatus() +
				", subcarrierLockStatus=" + getSubcarrierLockStatus() +
				", carrierLockStatus=" + getCarrierLockStatus() +
				", productionStatus=" + getProductionStatus() +
				"} " + super.toString();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy