public static void AddFrameMapping(Appliance a, IPUCFrame f) { _applianceFrameMap[a] = f; }
public ApplianceExplanation(Appliance appliance, string name, int priority) : base(appliance, name, priority) { }
public static IPUCFrame GetFrame(Appliance a) { return((IPUCFrame)_applianceFrameMap[a]); }
public ApplianceObject(Appliance appliance) : this(appliance, null, -1) { }
/* * Constructors */ public ApplianceExplanation(Appliance appliance) : base(appliance) { }
/* * Constructors */ public ApplianceState(Appliance appliance, string name, bool nowrite) : this(appliance, name, -1, nowrite) { }
public ApplianceCommand(Appliance appliance, string name, int priority) : base(appliance, name, priority) { }
/* * Constructors */ public ApplianceCommand(Appliance appliance) : base(appliance) { }
public void ActivateAppliance(UnloadedAppliance oldAppl, Appliance newAppl) { Globals.GetFrame(newAppl).AddActiveAppliance(newAppl); _appliances[newAppl.GetUniqueName()] = newAppl; }
/* * Constructor */ public DeviceSwitcher(Appliance a) { _appliance = a; }