public WeightsByHand(double alpha_, int KilRozryadiv_, double dopysk_)
 {
     InitializeComponent();
     alpha        = alpha_;
     KilRozryadiv = KilRozryadiv_;
     dopysk       = dopysk_;
     Weights      = WeightsByHand_Numbers.Get_Weights();
 }
 private void button2_Click(object sender, EventArgs e)
 {
     double[] mas = new double[KilRozryadiv];
     for (int i = 0; i < KilRozryadiv; i++)
     {
         mas[i] = 0;
     }
     WeightsByHand_Numbers.Set_Weights(mas);
     mas = WeightsByHand_Numbers.Get_Weights();
     GridView2Filling(mas);
 }
Beispiel #3
0
 public void SetDacWeightsByHand()
 {
     this.dacInst.schvn.SetRealWeigths(WeightsByHand_Numbers.Get_Weights());
     dacInst.isCalibrated = false;
 }
Beispiel #4
0
 public void SetAdcWeightsByHand()
 {
     this.adcInst.dac.schvn.SetRealWeigths(WeightsByHand_Numbers.Get_Weights());
 }