File indexing completed on 2024-04-21 14:46:27

0001 /*
0002     SPDX-FileCopyrightText: 2009 Prakash Mohan <prakash.mohan@kdemail.net>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "oal/eyepiece.h"
0008 
0009 void OAL::Eyepiece::setEyepiece(const QString &_id, const QString &_model, const QString &_vendor, double _fov,
0010                                 const QString &_fovUnit, double _focalLength)
0011 {
0012     m_Id          = _id;
0013     m_Model       = _model;
0014     m_Vendor      = _vendor;
0015     m_AppFovUnit  = _fovUnit;
0016     m_AppFOV      = _fov;
0017     m_FocalLength = _focalLength;
0018     m_Name        = _vendor + ' ' + _model + ' ' + QString::number(_focalLength) + "mm (" + _id + ')';
0019 }