예제 #1
0
        // dodavanje radne tacke u report
        private void btn_add_Click(object sender, EventArgs e)
        {
            RadnaTacka temp = new RadnaTacka(radnaTacka);

            temp._q = Convert.ToDouble(lbl_q.Text);
            temp._h = Convert.ToDouble(lbl_h.Text);
            //radnaTacka._q = Convert.ToDouble(lbl_q.Text);
            //  radnaTacka._h = Convert.ToDouble(lbl_h.Text);
            krivaPerformansi.Add(temp);
            //  krivaPerformansi.Add(radnaTacka);
            dataGridView1.DataSource = null;
            dataGridView1.DataSource = krivaPerformansi;
        }
예제 #2
0
 public RadnaTacka(RadnaTacka r)
 {
     _q         = r._q;
     _h         = r._h;
     _uL1       = r._uL1;
     _uL2       = r._uL2;
     _uL3       = r._uL3;
     _iL1       = r._iL1;
     _iL2       = r._iL2;
     _iL3       = r._iL3;
     _u3p       = r._u3p;
     _i3p       = r._i3p;
     _p3p       = r._p3p;
     _cosphi3p  = r._cosphi3p;
     _cosphiL1  = r._cosphiL1;
     _cosphiL2  = r._cosphiL2;
     _cosphiL3  = r._cosphiL3;
     _referenca = r._referenca;
     _korisnik  = r._korisnik;
     _napomena  = r._napomena;
 }