private void SetData(InformationDTO information) { textBoxRejectionProcent.Text = information.RejectionProcent.ToString(); textBoxQueue1AvrLength.Text = information.Queue1AvrLength.ToString(); textBoxQueue1AvrTimeAsReal.Text = information.Queue1AvrTimeAsReal.ToString(); textBoxQueue1AvrTime.Text = information.Queue1AvrTime.ToString(); textBoxDevice1Loading.Text = information.Device11Loading.ToString(); textBoxDevice2Loading.Text = information.Device12Loading.ToString(); textBoxDevice3Loading.Text = information.Device2Loading.ToString(); }
private void SetData(InformationDTO information) { textBoxQueue1AvrLength.Text = information.Queue1AvrLength.ToString(); textBoxQueue2AvrLength.Text = information.Queue2AvrLength.ToString(); textBoxQueue1AvrTimeAsReal.Text = information.Queue1AvrTimeAsReal.ToString(); textBoxQueue2AvrTimeAsReal.Text = information.Queue2AvrTimeAsReal.ToString(); textBoxQueue1AvrTime.Text = information.Queue1AvrTime.ToString(); textBoxQueue2AvrTime.Text = information.Queue2AvrTime.ToString(); textBoxDevice1Loading.Text = (information.Device11Loading + information.Device12Loading).ToString(); textBoxDevice2Loading.Text = (information.Device21Loading + information.Device22Loading).ToString(); }