protected override void InternalUpdateValue(object newvalue)
    {
        base.InternalUpdateValue(newvalue);

        if (Text)
        {
            Text.text = DisplayValue.ToString();
        }
    }
Esempio n. 2
0
        public void AddIndicators(List <IndicatorInfo> indicators)
        {
            indicators_ = indicators;
            var indicatorsString = string.Join("; ", indicators_.Select(x => x.ToString()).ToArray());

            _connectedMonitorsLogger.LogMessage("Monitor: {0} | Number: {1} | Color: {2} | Indicators: {4} | Display color: {3}",
                                                Index + 1,
                                                DisplayValue.ToString(),
                                                MonitorColor.ToString(),
                                                DisplayColor.ToString(),
                                                indicatorsString.Length > 0 ? indicatorsString : "None");
        }
Esempio n. 3
0
 public override string ToString()
 {
     return("{ Pos=" + DisplayPosition.ToString() + "; Value=" + DisplayValue.ToString() + "}");
 }
 public override string ToString()
 {
     return(DisplayValue == null ? "" : DisplayValue.ToString());
 }
Esempio n. 5
0
 public override string ToString() => DisplayValue.ToString("x8");