Something strange with TCP ports

This commit is contained in:
Alexander Nozik 2018-11-29 22:18:36 +03:00
parent fd7be105cd
commit 8cdf62cced
3 changed files with 15 additions and 3 deletions

View File

@ -14,7 +14,14 @@
* limitations under the License. * limitations under the License.
*/ */
apply plugin: 'application' plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.5'
}
javafx {
modules = [ 'javafx.controls' ]
}
version = "0.1.0" version = "0.1.0"

View File

@ -47,7 +47,9 @@ class EGunView(val gun: EGun) : View() {
vbox { vbox {
gun.sources.forEach { source -> gun.sources.forEach { source ->
hbox { hbox {
label(source.name) label(source.name){
minWidth = 100.0
}
separator(Orientation.VERTICAL) separator(Orientation.VERTICAL)
indicator { indicator {
@ -60,6 +62,7 @@ class EGunView(val gun: EGun) : View() {
textfield { textfield {
} }
separator(Orientation.VERTICAL) separator(Orientation.VERTICAL)
label("V: ") label("V: ")
label(voltageProperty) label(voltageProperty)

View File

@ -34,7 +34,9 @@ import kotlin.experimental.and
class IT6800Device(context: Context, meta: Meta) : AbstractDevice(context, meta) { class IT6800Device(context: Context, meta: Meta) : AbstractDevice(context, meta) {
private val portHelper = PortHelper(this) private val portHelper = PortHelper(this).apply {
debug = true
}
private var monitorJob: Job? = null private var monitorJob: Job? = null