public void Copy( Source_QueryParms from )
{
// Val parm
this.TagGroupSelected = from.TagGroupSelected;
this.TagGroupSession = from.TagGroupSession;
this.TagGroupTarget = from.TagGroupTarget;
if (from.SingulationAlgorithm == SingulationAlgorithm.FIXEDQ)
{
this.nativeSingulationParms = new rfid.Structures.FixedQParms( );
this.sourceParameters = new Source_SingulationParametersFixedQ
(
( rfid.Structures.FixedQParms ) this.nativeSingulationParms
);
( ( Source_SingulationParametersFixedQ ) this.sourceParameters ).Copy
(
( Source_SingulationParametersFixedQ ) from.SingulationAlgorithmParameters
);
}
else if (from.SingulationAlgorithm == SingulationAlgorithm.DYNAMICQ)
{
this.nativeSingulationParms = new rfid.Structures.DynamicQParms( );
this.sourceParameters = new Source_SingulationParametersDynamicQ
(
( rfid.Structures.DynamicQParms ) this.nativeSingulationParms
);
( ( Source_SingulationParametersDynamicQ ) this.sourceParameters ).Copy
(
( Source_SingulationParametersDynamicQ ) from.SingulationAlgorithmParameters
);
}
else
{
Console.WriteLine( "ERR : Algorithm.Copy( Source_QueryParms from )" );
}
}