Numass tasks fix
This commit is contained in:
parent
bb9a3c6fa8
commit
72b046abfe
@ -8,13 +8,20 @@ import inr.numass.data.analyzers.SmartAnalyzer
|
||||
import inr.numass.data.api.NumassSet
|
||||
import inr.numass.utils.NumassUtils
|
||||
|
||||
val selectDataTask = task("data") {
|
||||
val selectDataTask = task("select") {
|
||||
model {
|
||||
data("*")
|
||||
configure(meta.getMetaOrEmpty("data"))
|
||||
}
|
||||
transform { data ->
|
||||
CustomDataFilter(meta).filter<NumassSet>(data.checked(NumassSet::class.java))
|
||||
}
|
||||
}
|
||||
|
||||
val monitorTableTask = task("monitor") {
|
||||
model {
|
||||
dependsOn("select", meta)
|
||||
}
|
||||
join<NumassSet, Table> {
|
||||
result { data ->
|
||||
val monitorVoltage = meta.getDouble("monitorVoltage", 16000.0);
|
||||
|
Loading…
Reference in New Issue
Block a user