개정판 b92f142f
convert service 수정
Controller 수정
Change-Id: I38994fcc4d4452d638ea74b27cc8638f4157e17a
ConvertService/ServiceBase/Markus.Service.Station/ServiceStation.cs | ||
---|---|---|
171 | 171 |
private void Timer_Elapsed(object sender, ElapsedEventArgs e) |
172 | 172 |
{ |
173 | 173 |
timer.Stop(); |
174 |
try |
|
175 |
{ |
|
176 |
if (!IsReleaseItems) |
|
177 |
{ |
|
178 |
ReleaseItems(); |
|
179 |
} |
|
174 | 180 |
|
175 |
if (!IsReleaseItems) |
|
181 |
logger.Info("StationService Info"); |
|
182 |
} |
|
183 |
catch (Exception ex) |
|
176 | 184 |
{ |
177 |
ReleaseItems();
|
|
185 |
logger.Error("Timer Error " ,ex);
|
|
178 | 186 |
} |
179 |
|
|
180 | 187 |
System.Threading.Thread.SpinWait(10000); |
181 | 188 |
|
182 | 189 |
timer.Start(); |
내보내기 Unified diff