Ejemplo n.º 1
0
            public DisplayLcd(Program program, IMyTextPanel lcd)
            {
                this.program = program;
                this.lcd     = lcd;

                this.DisplayInventory = new DisplayInventory(this);
                this.DisplayDrill     = new DisplayDrill(this);
                this.DisplayMachine   = new DisplayMachine(this);
                this.DisplayPower     = new DisplayPower(this);
                this.DisplayShip      = new DisplayShip(this);
                this.DisplayTank      = new DisplayTank(this);
            }
Ejemplo n.º 2
0
 /// <summary>        
 /// Set PowerSetting field</summary>
 /// <param name="powerSetting_">Nullable field value to be set</param>      
 public void SetPowerSetting(DisplayPower? powerSetting_)
 {
     SetFieldValue(16, 0, powerSetting_, Fit.SubfieldIndexMainField);
 }