Compare commits
No commits in common. "290010fc8c2b71f789f8aa990080b8502b7325d8" and "f1b63c3951c5da04a4e4ee7c836702dbc1086c02" have entirely different histories.
290010fc8c
...
f1b63c3951
@ -7,7 +7,6 @@ plugins {
|
||||
}
|
||||
|
||||
val dataforgeVersion: String by extra("0.6.2")
|
||||
val visionforgeVersion by extra("0.3.0-dev-10")
|
||||
val ktorVersion: String by extra(space.kscience.gradle.KScienceVersions.ktorVersion)
|
||||
val rsocketVersion by extra("0.15.4")
|
||||
val xodusVersion by extra("2.0.1")
|
||||
|
@ -127,8 +127,7 @@ public abstract class DeviceSpec<D : Device> {
|
||||
PropertyDelegateProvider { _: DeviceSpec<D>, property: KProperty<*> ->
|
||||
val propertyName = name ?: property.name
|
||||
val deviceProperty = object : WritableDevicePropertySpec<D, T> {
|
||||
override val descriptor: PropertyDescriptor = PropertyDescriptor(propertyName, writable = true)
|
||||
.apply(descriptorBuilder)
|
||||
override val descriptor: PropertyDescriptor = PropertyDescriptor(propertyName).apply(descriptorBuilder)
|
||||
override val converter: MetaConverter<T> = converter
|
||||
|
||||
override suspend fun read(device: D): T? = withContext(device.coroutineContext) { device.read() }
|
||||
|
Loading…
Reference in New Issue
Block a user