13.07.2015 Views

datasensor safety sensor sb-bws-t4

datasensor safety sensor sb-bws-t4

datasensor safety sensor sb-bws-t4

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

};}public static void Main(){//o a doua instanta a delegatuluiServer.AfisareDelegate d2 = newServer.AfisareDelegate(AfisarePersonalizata2);//o instanta a clasei ServerServer s = new Server();//apelul metodei server de 2 ori//afisari personalizates.ListareInformatii(d1);s.ListareInformatii(d2);Console.ReadLine();}Cu ildasm putem vedea codul MSIL generat:Se observă că un delegat este o clasă derivată implicit dinSystem.MulticastDelegate şi posedă 3 metode: Invoke, BeginInvok şi EndInvoke.(Apelul metodei callback din ListareInformaţii este tradus în apelul metodei Invoke.)Constructorul clasei delegat, surprinzător, nu conţine nici o instrucţiune:.method public hidebysig specialname rtspecialnameinstance void .ctor(object 'object', native int 'method') runtime managed{} // end of method AfisareDelegate::.ctorAceasta deoarece, pentru a putea garanta faptul că metoda callback specificatăde client are aceeaşi semnătură cu delegatul, implementarea constructorului esteoferită de către mediul de execuţie!3


MODELSMODEL DESCRIPTION CODE N°BWS-T4-N type 4 control unit 970500030BWS-T4-N-MT type 4 control unit with double Muting 970500040BWS-T4-MT type 4 control unit with external contacts control 970500020ACCESSORIESMODEL DESCRIPTION CODE N°GMC-6007 deviating mirror M2056007LMS muting signalling lamp M2059004Please refer also to Sx-F/G-ST <strong>safety</strong> photoelectric <strong>sensor</strong> seriesSAFETY DEVICESDistribuited by:HEADQUARTERSDATASENSOR SpAvia Lavino, 265 - 40050 Monte San Pietro, BO - ItalyTel. +39 051/6765611 • Fax +39 051/6759324www.<strong>data<strong>sensor</strong></strong>.com • e-mail info@<strong>data<strong>sensor</strong></strong>.comData<strong>sensor</strong> SpA endeavours to continuously improve and renew its products; for this reason thetechnical data and contents of this catalogue may undergo variations without prior notice. For correctinstallation and use Data<strong>sensor</strong> SpA can guarantee only the data indicated in the instruction manualsupplied with the products.9C500321E - Printed in Italy in January 2002Rev. 03

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!