예제 #1
0
        private void startButton_Click(object sender, EventArgs e)
        {
            //
            string anoAttributeId   = model.getAssociatedAttibuteId();
            string anoAttributeName = model.getAssociatedAttibuteName();
            string reqStr           = "";//拼接请求字符串:方案名-运行次数-成员名-属性1(x)-属性二(y)……………………………………………………………………………………

            double[] results = getRelations(reqStr);
            if (results != null)
            {
                this.fomulationTextBox.Text = "Y=" + results[0] + "* X +" + results[2];
                List <string> str = model.GetLateNameStatus();

                this.XYInfoTextBox.Text = "Y:" + anoAttributeName + "  X:" + str[2]; //不确定获取第一个属性*****************************
            }
            model.setlinearResults(results);
            agent.informZedGetCoff();
        }