create struct status_obj
This commit is contained in:
parent
84622ce986
commit
2a11b44fe1
2 changed files with 14 additions and 1 deletions
|
@ -20,7 +20,7 @@ pub fn exec_status(exit_code: i32, sv: String) -> i32 {
|
||||||
// 20 chars,
|
// 20 chars,
|
||||||
// TODO 0 -> 11; time since I don't know when. It is time_sv = 4611686018427387914 + time_unix
|
// TODO 0 -> 11; time since I don't know when. It is time_sv = 4611686018427387914 + time_unix
|
||||||
// TODO
|
// TODO
|
||||||
// TODO seams to be 0 -> 7 time, 7 -> 11 uknown.
|
// TODO seams to be 0 -> 7 time, 7 -> 11 nano seconds..
|
||||||
// 12 -> 15; PID
|
// 12 -> 15; PID
|
||||||
// 16; PAUSE/RUN
|
// 16; PAUSE/RUN
|
||||||
// 17; UP/DOWN
|
// 17; UP/DOWN
|
||||||
|
|
13
01_phase_rust_src/sv/src/status_obj.rs
Normal file
13
01_phase_rust_src/sv/src/status_obj.rs
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
|
||||||
|
pub struct Status_obj {
|
||||||
|
time: u64, // 0 -> 7
|
||||||
|
nano_seconds: u32, // 8 -> 11
|
||||||
|
pid: u32, // 12 -> 15
|
||||||
|
pause_run: bool, // 16
|
||||||
|
up_down: bool, // 17
|
||||||
|
term_sig: bool, // 18
|
||||||
|
run_finish: bool, // 19
|
||||||
|
is_down: bool, // down file
|
||||||
|
log_exists: bool, // is log folder exists ?
|
||||||
|
}
|
Loading…
Reference in a new issue