RAM 6000V Manual do Utilizador Página 113

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 272
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 112
103 Chapter 5
}
The fragment is used to obtain the host IP value and check if it is null. To
acquire the necessary parameter information from the index.html, you
need to add the fragment below.
public String[][] getParameterInfo() {
String[][] pinfo =
{
{"HostIP", "String", ""},
};
return pinfo;
}
As for mouse/keyboard events and graphical user interface, they are
beyond the scope of our discussion here and we will leave them to users.
After you finish your program and compile, it should generate a couple of
classes, e.g. ADAM6060.class, ADAM6060$1.class, ADAM6060$2, and
myFramPanel.class in our example. Then, follow the standard way to
combine the generated classes with ModBus.class which must be placed
in the directory path œAdam/ModBus/ into a jar file. In this case, the
name for the file should be ADAM6060.jar. The figure below shows the
structure to make the jar file.
Figure 5.25: Structure of the ADAM6060.jar file
Vista de página 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 271 272

Comentários a estes Manuais

Sem comentários