예제 #1
0
        public static Serverraum getInstance()
        {
            if (sigleInstance == null)
            {
                sigleInstance = new Serverraum();
            }


            return(sigleInstance);
        }
예제 #2
0
 private void OnAktualisieren(object sender, EventArgs e)
 {
     txtIstTemp.Text  = Serverraum.getInstance().IstTemperatur.ToString();
     txtSollTemp.Text = Serverraum.getInstance().SollTemperatur.ToString();
 }
예제 #3
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     Serverraum.getInstance().SollTemperatur = Convert.ToDouble(txtSollTemp.Text);
 }
예제 #4
0
파일: TempView.cs 프로젝트: Lenoxy/M226B
 private void timer1_Tick(object sender, EventArgs e)
 {
     lblIstTemp.Text  = Serverraum.getInstance().IstTemperatur.ToString();
     lblSollTemp.Text = Serverraum.getInstance().SollTemperatur.ToString();
 }