protected override void InternalUpdateValue(object newvalue) { base.InternalUpdateValue(newvalue); if (Text) { Text.text = DisplayValue.ToString(); } }
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"); }
public override string ToString() { return("{ Pos=" + DisplayPosition.ToString() + "; Value=" + DisplayValue.ToString() + "}"); }
public override string ToString() { return(DisplayValue == null ? "" : DisplayValue.ToString()); }
public override string ToString() => DisplayValue.ToString("x8");