Exemplo n.º 1
0
    public MedMgr()
    {
        Name = "MedMgr";
        Meds = new List<Med>();
        Administered = new List<Med>();
        Inventory = new List<Med>();
        Ordered = new List<MedOrderMsg>();

        instance = this;
    }
Exemplo n.º 2
0
    static public MedMgr GetInstance()
    {
        if (instance == null)
        {
            instance = new MedMgr();
            instance.LoadXML("XML/Meds");
        }

        return instance;
    }
Exemplo n.º 3
0
 public MedAdministerLogItem(float time, Med med, MedMgr.MedType type, string who, float dosage)
     : base()
 {
     this.Med = med;
     this.Type = type;
     this.Who = who;
     this.Dosage = dosage;
 }