RAM 6000V Manuale Utente Pagina 115

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 272
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 114
105 Chapter 5
5.6 Source Code of Java Applet Example
import Adam.ModBus.*;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
import java.io.*;
import java.lang.*;
public class Adam6060 extends Applet {
boolean isStandalone = false;
String var0;
Thread AdamPoilThread;
String HostIP;
long ErrCnt = 0;
boolean IsAdamRuning = false;
ModBus Adam6060Connection;
Label Label1 = new Label();
myFramPanel palStatus = new myFramPanel (2);
myFramPanel pal1 = new myFramPanel (3);
myFramPanel pal2 = new myFramPanel (3);
myFramPanel palAdamStatus = new myFramPanel (1);
Label labStartAddress = new Label("Start Address:");
TextField txtStartAddress = new TextField("1");
Label labCount = new Label("No. of coils to read(Max 128):");
TextField txtCount = new TextField("1");
Button btAdam6060 = new Button("Read Coils");
TextArea txtMsg = new TextArea("", 1, 10, 1);
Label labAdamStatusForDIO = new Label("Status : ");
Vedere la pagina 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 271 272

Commenti su questo manuale

Nessun commento