Regenerate the affected drivers

This commit is contained in:
Douglas Clowes
2014-10-22 16:03:22 +11:00
parent ff260fd737
commit d41e77cc79
20 changed files with 296 additions and 296 deletions

View File

@@ -310,10 +310,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} write ${scobj_hpath}/setpoint
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/setpoint simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/setpoint simulated true
}
# Start of var: value
@@ -357,10 +357,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/a/G 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/a/G simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/a/G simulated true
}
# Start of var: J
@@ -378,10 +378,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/a/J 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/a/J simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/a/J simulated true
}
# Start of var: K
@@ -399,10 +399,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/a/K 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/a/K simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/a/K simulated true
}
# Start of var: N
@@ -420,10 +420,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/a/N 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/a/N simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/a/N simulated true
}
# Start of var: O
@@ -441,10 +441,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/a/O 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/a/O simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/a/O simulated true
}
# Start of var: S
@@ -462,10 +462,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/a/S 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/a/S simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/a/S simulated true
}
hsetprop ${scobj_hpath}/a data "false"
hsetprop ${scobj_hpath}/a klass "@none"
@@ -495,10 +495,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} write ${scobj_hpath}/b/Lower
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/b/Lower simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/b/Lower simulated true
}
# Start of var: Pause
@@ -521,10 +521,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} write ${scobj_hpath}/b/Pause
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/b/Pause simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/b/Pause simulated true
}
# Start of var: Ramp
@@ -547,10 +547,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} write ${scobj_hpath}/b/Ramp
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/b/Ramp simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/b/Ramp simulated true
}
# Start of var: Rate
@@ -570,10 +570,10 @@ proc ::scobj::tsi_smc::mkDriver { sct_controller name device_class simulation_fl
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} write ${scobj_hpath}/b/Rate
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/b/Rate simulated false
} else {
::scobj::tsi_smc::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for tsi_smc"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/b/Rate simulated true
}
hsetprop ${scobj_hpath}/b data "true"
hsetprop ${scobj_hpath}/b klass "@none"