2.0.14
This commit is contained in:
@@ -56,7 +56,31 @@ public class SiemensCameraModule: IVisionBuilderModule
|
||||
}, null);
|
||||
_statistics.Metadata = packet.Materialnummer.ToString();
|
||||
}
|
||||
Log.Information("Selected recipe {Recipe} for material number {MaterialNumber}", recipe, packet.Materialnummer);
|
||||
|
||||
}
|
||||
//Log.Information("Lifebit: {Lifebit}, KameraStart: {KameraStart}", packet.Lifebit, packet.KameraStart);
|
||||
//Log.Information("Camera running: {IsRunning}", _singleCameraVm.IsRunning);
|
||||
//if (recipe != selectedRecipe?.RecipeName)
|
||||
//{
|
||||
// if (packet.KameraStart && !_singleCameraVm.IsRunning)
|
||||
// {
|
||||
// Log.Information("Starting camera based on PLC packet.");
|
||||
// _singleCameraVm.SynchronizationContext!.Post((o) =>
|
||||
// {
|
||||
// _ = _singleCameraVm.Start();
|
||||
// }, null);
|
||||
// }
|
||||
// if (!packet.KameraStart && _singleCameraVm.IsRunning)
|
||||
// {
|
||||
// Log.Information("Stopping camera based on PLC packet.");
|
||||
// _singleCameraVm.SynchronizationContext!.Post((o) =>
|
||||
// {
|
||||
// _ = _singleCameraVm.Stop();
|
||||
// }, null);
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
return packet;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user