void AMSamplePlateMoveActionInfo::setSamplePositionIndex(int samplePositionId){
	if(samplePositionIndex_ != samplePositionId){
		samplePositionIndex_ = samplePositionId;
		samplePosition_ = 0; //NULL
		setModified(true);
		updateDescriptionText();
	}
}
Пример #2
0
AMNumberChangeActionInfo::AMNumberChangeActionInfo(const AMNumberChangeActionInfo &other) :
	AMActionInfo3(other)
{
	newNumber_ = other.newNumber();
	indexToChange_ = other.indexToChange();
	canCopy_ = other.canCopy();
	updateDescriptionText();
}
Пример #3
0
AMNumberChangeActionInfo::AMNumberChangeActionInfo(int newNumber, int indexToChange, QObject *parent) :
	AMActionInfo3("Number Change", "Number Change", ":/system-run.png", parent)
{
	newNumber_ = newNumber;
	indexToChange_ = indexToChange;
	canCopy_ = true;
	updateDescriptionText();
}
Пример #4
0
void AMControlWaitActionInfo::setMatchType(AMControlWaitActionInfo::MatchType newMatchType)
{
	if (newMatchType == matchType_)
		return;

	matchType_ = newMatchType;
	setModified(true);
	updateDescriptionText();
}
AMSamplePlateMoveActionInfo::AMSamplePlateMoveActionInfo(int samplePlateId, int samplePositionIndex, QObject *parent) :
	AMActionInfo3("Sample Move", "Sample Move", ":/system-run.png", parent)
{
	//samplePlateId_ = samplePlateId;
	//samplePositionId_ = samplePositionId;
	setSamplePlateId(samplePlateId);
	setSamplePositionIndex(samplePositionIndex);
	samplePosition_ = 0; //NULL
	updateDescriptionText();
}
Пример #6
0
void AMControlWaitActionInfo::setTimeout(double newTimeout)
{
	if (newTimeout <= 0)
		return;

	if (newTimeout == timeout_)
		return;

	timeout_ = newTimeout;
	setModified(true);
	updateDescriptionText();
}
Пример #7
0
void AMControlWaitActionInfo::setControlInfo(const AMControlInfo &controlInfo)
{
	controlInfo_.setValuesFrom(controlInfo);
	setModified(true);
	updateDescriptionText();
}
Пример #8
0
void AMControlWaitActionInfo::setSetpoint(double setpoint)
{
	controlInfo_.setValue(setpoint);
	setModified(true);
	updateDescriptionText();
}
Пример #9
0
void AMNumberChangeActionInfo::setIndexToChange(int indexToChange){
	indexToChange_ = indexToChange;
	updateDescriptionText();
}
Пример #10
0
void AMNumberChangeActionInfo::setNewNumber(int newNumber){
	newNumber_ = newNumber;
	updateDescriptionText();
}