diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2021-01-06 13:58:41 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2021-01-06 13:58:41 +0200 |
| commit | b9a85d61fcb3186754d24ea38268143fd3f47f4c (patch) | |
| tree | b90b62de5d67fbbbd56722b8a6138ab5a105c563 /Software/Embedded_SW/Embedded/StateMachines/Printing | |
| parent | 45aded1213ff37e679449a52a3028c6565af7303 (diff) | |
| download | Tango-b9a85d61fcb3186754d24ea38268143fd3f47f4c.tar.gz Tango-b9a85d61fcb3186754d24ea38268143fd3f47f4c.zip | |
fix bug in pre-run PBU, and in dispensers 25%. 50% indications
Diffstat (limited to 'Software/Embedded_SW/Embedded/StateMachines/Printing')
| -rw-r--r-- | Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c index 9f5151117..ab246dbc3 100644 --- a/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c +++ b/Software/Embedded_SW/Embedded/StateMachines/Printing/JobSTM.c @@ -1197,10 +1197,10 @@ void SendJobProgress(double ProcessedLength, int SegmentId, bool done, char *Mes if ((heaterRatio>0.99)&&(dispenserRatio>0.99)) { wfcf_count+=1.00; - Report("prepare_progress wfcf" ,__FILE__,(int)(wfcf_count),(int)(heaterRatio*100),RpWarning,(int)(dispenserRatio*100),0); + //Report("prepare_progress wfcf" ,__FILE__,(int)(wfcf_count),(int)(heaterRatio*100),RpWarning,(int)(dispenserRatio*100),0); } prepare_progress = (0.9*heaterRatio)+(0.08*dispenserRatio) + (0.02*wfcf_count/25.0); - Report("prepare_progress" ,__FILE__,(int)(prepare_progress*1000),(int)(heaterRatio*1000),RpWarning,(int)(dispenserRatio*1000),0); + //Report("prepare_progress" ,__FILE__,(int)(prepare_progress*1000),(int)(heaterRatio*1000),RpWarning,(int)(dispenserRatio*1000),0); } else wfcf_count = 0; |
