Something strange with TCP ports
This commit is contained in:
parent
fd7be105cd
commit
8cdf62cced
@ -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"
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user