Joint_Information SingleJoint::get_Joint_Info() {
	Joint_Information ji;
	ji.joint = joint_num_;
	get_Position(ji.position);
	get_Velocity(ji.velocity);
	get_Current(ji.current);
	get_Status(ji.status);
	return ji;
}
STDMETHODIMP CLogoMarkerSymbol::Apply(LPUNKNOWN NewObject, LPUNKNOWN *oldObject)
{
  IColorPtr ipColor(NewObject);
  if (ipColor)
  {
    get_Current(NewObject, oldObject);
    put_Color(ipColor);
    return S_OK;
  }  

  ILogoMarkerSymbolPtr ipSymbol(NewObject);
  if (ipSymbol)
  {
    get_Current(NewObject, oldObject);
    IClonePtr ipClone(NewObject);
    Assign(ipClone);
    return S_OK;
  }

  return E_FAIL;
}