private void ExecuteAddPoKeys(object o) { PoKeys poKeys = new PoKeys(); poKeys.SetOwner(this); PoKeysList.Add(poKeys); }
internal void SetOwner(PoKeys poKeys) { owner = poKeys; UpdateStatus(); UpdateMatrixLedConfig(); if (SevenSegmentDigits != null) { SevenSegmentDigits = SevenSegmentDigits.OrderBy(digit => digit.Position).ToList(); } UpdateFalconGaugeDigits(); }
public SevenSegmentMatrixLedConfig GetSevenSegmentConfig(PoKeys pokeys) { switch (Id) { case Ids.MatrixLed1: return(pokeys.GetOrCreateSevenSegmentMatrixLed1Config()); case Ids.MatrixLed2: return(pokeys.GetOrCreateSevenSegmentMatrixLed2Config()); default: return(null); } }
internal void SetOwner(PoKeys poKeys) { owner = poKeys; UpdateStatus(); }
public void SetOwner(PoKeys pokeys) { owner = pokeys; UpdateStatus(); }