using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class MeasurementInfo : MonoBehaviour
{
    [SerializeField] private RoscanModelUnity model;
    [SerializeField] private Text value0, value1, value2, value3, value4, value5, value6, value7, value8, value9, value10,
                                  value11, value12, value13, value14, value15, value16, value17, value18, value19, value20,
                                  value21, value22, value23, value24, value25;

    /// <summary> Measurment results print to UI - texts in table </summary>
    public void MeasInfo()
    {
        value0.text = model.MeasurementResults[0];
        value1.text = model.MeasurementResults[1];
        value2.text = model.MeasurementResults[2];
        value3.text = model.MeasurementResults[3];
        value4.text = model.MeasurementResults[4];
        value5.text = model.MeasurementResults[5];
        value6.text = model.MeasurementResults[6];
        value7.text = model.MeasurementResults[7];
        value8.text = model.MeasurementResults[8];
        value9.text = model.MeasurementResults[9];
        value10.text = model.MeasurementResults[10];
        value11.text = model.MeasurementResults[11];
        value12.text = model.MeasurementResults[12];
        value13.text = model.MeasurementResults[13];
        value14.text = model.MeasurementResults[14];
        value15.text = model.MeasurementResults[15];
        value16.text = model.MeasurementResults[16];
        value17.text = model.MeasurementResults[17];
        value18.text = model.MeasurementResults[18];
        value19.text = model.MeasurementResults[19];
        value20.text = model.MeasurementResults[20];
        value21.text = model.MeasurementResults[21];
        value22.text = model.MeasurementResults[22];
        value23.text = model.MeasurementResults[23];
        value24.text = model.MeasurementResults[24];
        value25.text = model.MeasurementResults[25];
    }
}
