Ejemplo n.º 1
0
 private void Start()
 {
     GetComponent <Button>().onClick.AddListener(() =>
     {
         string name = "x";
         if (valueType == ValueType.Measured)
         {
             value = (Main.m_Procedure.CurrentProcedure as MeasuredDataProcessProcedure)?.GetStatisticValue(measuredStatisticValue);
             name  = (Main.m_Procedure.CurrentProcedure as MeasuredDataProcessProcedure)?.GetStatisticValue(MeasuredStatisticValue.Symbol);
         }
         else if (valueType == ValueType.Complex)
         {
             value = (Main.m_Procedure.CurrentProcedure as ComplexDataProcessProcedure)?.GetStatisticValue(Text.text, ComplexStatisticValue);
             name  = Text.text;
         }
         FormulaControllerInstance.SelectCell(gameObject.name, value, name);
     });
 }