  TestVK.zip       
   1 7.7

        :
\TestVK\DLL\GetWeight.dll

       :
--------------------------------------------------------------------

//+++++++++++++++   ++++++++++++++++++++++++++++++++:

 1 ;
 2 ;

 ()                   
   = ()+"DLL\GetWeight.dll";     
  
   () = 0 
  
    ("     " + );
    (());
  ;	

  
    1 = ("AddIn.GetWeight"); 
    2 = ("AddIn.GetWeight"); 
  
    ("    AddIn.GetWeight");
    (());
  ;
	
  (".");
 

//+++++++++++++++ -. +++++++++++++++++++++++++++++:


 ()
                                                                     
    ("    GetWeight.");
    
    //   ip     C GetWeight
    //    C GetWeight   

     1.("localhost", 8810) = 0  // : .Connect("localhost", 8810)
    
      ("1      GetWeight.");
    ;        

     2.("localhost", 8815) = 0 
    
      ("2      GetWeight.");
    ;  
	
    .("", 1);
  
    (());
  ;


 () 
  
    // 1.     GetWeight (1 -  , 0 -   )
     . = 0// : .ServerConnected
     
      ("   ");
    ;  
	  
    // 2.     GetWeight     (1 - , 0 -  )
     . = 0// : .IndicatorConnected
     
      ("   ");
    ;  
	  
    // 3.        (1 -  , 0 -  )
     . <> 0 // : .Motion
     
      ("  ");
    ;  
	
    // 4.     
    (.);  // : .Weight
  
    (());
    ("");
  ; 


 ()
  .1.((1));	
  .2.((2));	


 _1()  
  (" 1: " + (1));    


 _2()  
  (" 2: " + (2));    


 ()
  
    ("    GetWeight.");
    1.();  // : .Disconnect();
    2.();  // : .Disconnect();
  
    (());
  ; 

