add parameters for chinese ion gauges

This commit is contained in:
Sebastien Bourdeauducq 2017-05-17 00:06:31 +08:00
parent 5ab0885a1f
commit 5e13d30cc1
1 changed files with 18 additions and 4 deletions

View File

@ -79,10 +79,24 @@ fn main() {
let mut loop_anode = LOOP_ANODE.borrow(cs).borrow_mut(); let mut loop_anode = LOOP_ANODE.borrow(cs).borrow_mut();
let mut loop_cathode = LOOP_CATHODE.borrow(cs).borrow_mut(); let mut loop_cathode = LOOP_CATHODE.borrow(cs).borrow_mut();
let anode_cathode = 20.0; /*
let cathode_bias = 12.0; // ZJ-10
loop_anode.set_target(anode_cathode+cathode_bias); let anode = 165.0;
loop_cathode.set_emission_target(anode_cathode/10000.0); let cathode_bias = 50.0;
let emission = 0.5e-3;
*/
/*
// ZJ-27
let anode = 225.0;
let cathode_bias = 25.0;
let emission = 1.0e-3;
*/
// ZJ-12
let anode = 200.0;
let cathode_bias = 50.0;
let emission = 4.0e-3;
loop_anode.set_target(anode);
loop_cathode.set_emission_target(emission);
loop_cathode.set_bias_target(cathode_bias); loop_cathode.set_bias_target(cathode_bias);
}); });