コード例 #1
0
        public void SetStatusByEmt(bool xstatus, int EMTInTeam)
        {
            Status[EMTInTeam] = xstatus;
            int temp = 0;

            for (int a = 0; a < 5; a++)
            {
                if (Status[a] == true)
                {
                    temp++;
                }
            }
            emtnum = temp;
            if (temp >= 3 && TeamStatus != "Dispatched")
            {
                TeamStatus = "Available";
            }
            else if (temp < 3)
            {
                TeamStatus = "Non-Available";
            }
            Team_Updated?.Invoke(this, null);
        }
コード例 #2
0
 public void SetStatusByDispatch(string xstatus)
 {
     TeamStatus = xstatus;
     Team_Updated?.Invoke(this, null);
 }