change-箱壳库、内胆库状态设置逻辑实现

foamRearStore
wenjy 11 months ago
parent c959c1f9db
commit f256c920b6

Binary file not shown.

@ -125,7 +125,7 @@
</Border>
<Border Grid.Column="4" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateSpaceStatusCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="禁用" Foreground="{Binding isFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<TextBlock Text="禁用" Foreground="{Binding spaceStatus,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Button>
</Border>

@ -126,7 +126,7 @@
</Border>
<Border Grid.Column="4" BorderBrush="White" BorderThickness="1">
<Button Command="{Binding DataContext.UpdateSpaceStatusCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding spaceCode}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="禁用" Foreground="{Binding isFlag,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<TextBlock Text="禁用" Foreground="{Binding spaceStatus,Converter={StaticResource StatusLabelConverter}}" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
</Button>
</Border>

@ -0,0 +1,369 @@
<-------------->
日志时间2023-10-13 08:53:17,687 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":83,"executePlanCode":"a8a9188d085042729cc0992fa2590e7f","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":2,"completeAmount":0,"beginTime":"\/Date(1697012914000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":2,"createdTime":"\/Date(1697012871000)\/"},{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 08:54:39,605 [1]
日志级别INFO
日志内容根据执行计划编号a8a9188d085042729cc0992fa2590e7f获取到的执行计划信息{"objId":83,"executePlanCode":"a8a9188d085042729cc0992fa2590e7f","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":2,"completeAmount":0,"beginTime":"\/Date(1697012914000)\/","endTime":null,"isFlag":0,"executeOrder":2,"executeStatus":2,"createdTime":"\/Date(1697012871000)\/"}
<-------------->
日志时间2023-10-13 08:54:39,747 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 08:54:44,694 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识2;修改成功
<-------------->
日志时间2023-10-13 08:54:46,413 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识2;修改成功
<-------------->
日志时间2023-10-13 08:54:48,188 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识1;修改成功
<-------------->
日志时间2023-10-13 08:54:56,805 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识2;修改成功
<-------------->
日志时间2023-10-13 08:54:59,269 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:03:19,932 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:04:32,687 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:07:26,553 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:07:43,409 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:08:49,750 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:09:03,803 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:12:50,906 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:14:00,421 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:14:37,284 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:16:36,852 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:17:44,706 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:18:17,941 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:18:54,890 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:20:04,339 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:20:15,846 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:20:47,975 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:21:00,423 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:21:24,381 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:22:44,061 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:24:30,704 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:25:36,456 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:28:45,714 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:28:52,348 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:29:24,268 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:29:52,759 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识2;修改成功
<-------------->
日志时间2023-10-13 09:30:42,213 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识1;修改成功
<-------------->
日志时间2023-10-13 09:31:44,367 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:32:38,952 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:32:46,791 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识1;修改成功
<-------------->
日志时间2023-10-13 09:33:04,941 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:33:29,333 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:33:52,135 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识1;修改成功
<-------------->
日志时间2023-10-13 09:35:41,355 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:35:50,146 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识2;修改成功
<-------------->
日志时间2023-10-13 09:36:01,248 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识1;修改成功
<-------------->
日志时间2023-10-13 09:36:03,888 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识2;修改成功
<-------------->
日志时间2023-10-13 09:40:29,278 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:40:56,379 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识2;修改成功
<-------------->
日志时间2023-10-13 09:41:40,635 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:41:51,552 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识1;修改成功
<-------------->
日志时间2023-10-13 09:41:53,725 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识2;修改成功
<-------------->
日志时间2023-10-13 09:41:55,643 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识1;修改成功
<-------------->
日志时间2023-10-13 09:41:57,567 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:43:01,353 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:43:06,320 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识2;修改成功
<-------------->
日志时间2023-10-13 09:43:08,233 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识1;修改成功
<-------------->
日志时间2023-10-13 09:43:10,435 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:44:13,138 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:44:20,000 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识1;修改成功
<-------------->
日志时间2023-10-13 09:44:21,650 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识2;修改成功
<-------------->
日志时间2023-10-13 09:44:23,500 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识2;修改成功
<-------------->
日志时间2023-10-13 09:44:25,576 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识1;修改成功
<-------------->
日志时间2023-10-13 09:44:27,409 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识2;修改成功
<-------------->
日志时间2023-10-13 09:44:29,240 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识1;修改成功
<-------------->
日志时间2023-10-13 09:44:31,244 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识2;修改成功
<-------------->
日志时间2023-10-13 09:44:34,163 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_002异常标识1;修改成功
<-------------->
日志时间2023-10-13 09:44:35,908 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_002异常标识2;修改成功
<-------------->
日志时间2023-10-13 09:44:37,805 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:46:00,376 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:46:06,281 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:46:08,312 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:46:10,870 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:46:26,990 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:46:36,646 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识1;修改成功
<-------------->
日志时间2023-10-13 09:46:38,807 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识2;修改成功
<-------------->
日志时间2023-10-13 09:46:41,023 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:46:47,380 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:47:43,175 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:47:54,439 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:47:56,446 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:48:42,376 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识1;修改成功
<-------------->
日志时间2023-10-13 09:48:44,874 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:48:46,285 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识1;修改成功
<-------------->
日志时间2023-10-13 09:48:48,052 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识1;修改成功
<-------------->
日志时间2023-10-13 09:48:50,351 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001货道状态1;修改成功
<-------------->
日志时间2023-10-13 09:48:51,731 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001异常标识2;修改成功
<-------------->
日志时间2023-10-13 09:48:53,434 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001出库标识2;修改成功
<-------------->
日志时间2023-10-13 09:48:54,771 [1]
日志级别INFO
日志内容修改仓库XKJCK-001货道XK_001入库标识2;修改成功
<-------------->
日志时间2023-10-13 09:49:05,206 [1]
日志级别INFO
日志内容:程序退出
<-------------->
日志时间2023-10-13 09:49:32,514 [1]
日志级别INFO
日志内容根据产线工位编号ZZ-01获取到的执行计划信息[{"objId":82,"executePlanCode":"a1e0d29c2b774f25bd0df0f059e24976","productPlanCode":"202310081458","orderCode":"11215483","materialCode":"9002006859","materialName":"SC-439,YZXGWBC元气森林,C","productLineCode":"ZZ-01","planAmount":1,"completeAmount":0,"beginTime":null,"endTime":null,"isFlag":0,"executeOrder":1,"executeStatus":1,"createdTime":"\/Date(1697003840000)\/"}]
<-------------->
日志时间2023-10-13 09:50:12,822 [1]
日志级别INFO
日志内容修改仓库NDJCK-001货道ND_001出库标识2;修改成功
<-------------->
日志时间2023-10-13 09:50:14,597 [1]
日志级别INFO
日志内容修改仓库NDJCK-001货道ND_001异常标识2;修改成功
<-------------->
日志时间2023-10-13 09:50:16,217 [1]
日志级别INFO
日志内容修改仓库NDJCK-001货道ND_001货道状态2;修改成功
<-------------->
日志时间2023-10-13 09:50:20,605 [1]
日志级别INFO
日志内容:程序退出

File diff suppressed because one or more lines are too long

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "FD500ADE499B80926E0CEF74A314BDC3E4F9FFA695A94ED920F58241FCA70DE2"
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "39655C7FD22A46A8DFBF58FA533851CE3776BF2EAD8FC7576CCBA05D72C28434"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "FD500ADE499B80926E0CEF74A314BDC3E4F9FFA695A94ED920F58241FCA70DE2"
#pragma checksum "..\..\..\..\Page\InventoryInfo\LinerInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "39655C7FD22A46A8DFBF58FA533851CE3776BF2EAD8FC7576CCBA05D72C28434"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "DC02948EA40CF85249C6573F1D0B4926A6A423D976B9A9A4D924469941DCCE85"
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "83131235919B5B9790102FB8D6757CE14995A030A6FA40D2A4B146AE60A808B8"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "DC02948EA40CF85249C6573F1D0B4926A6A423D976B9A9A4D924469941DCCE85"
#pragma checksum "..\..\..\..\Page\InventoryInfo\ShellInventory.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "83131235919B5B9790102FB8D6757CE14995A030A6FA40D2A4B146AE60A808B8"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.

@ -16,7 +16,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
{
public class LinerInventoryViewModel :ViewModelBase
{
public ObservableCollection<BaseSpaceInfo> Shapes { get; set; } = new ObservableCollection<BaseSpaceInfo>();
private ObservableCollection<BaseSpaceInfo> spaceItems = new ObservableCollection<BaseSpaceInfo>();
private InventoryInfoBusiness inventoryInfoBusiness = InventoryInfoBusiness.Instance;
@ -37,6 +37,16 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
}
#region 参数定义
public ObservableCollection<BaseSpaceInfo> _shapes;
public ObservableCollection<BaseSpaceInfo> Shapes
{
get { return _shapes; }
set { _shapes = value; RaisePropertyChanged(nameof(Shapes)); }
}
#endregion
#region 事件定义
public RelayCommand<object> UpdateInStoreFlagCommand { get; set; }
@ -57,12 +67,16 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
var info = inventoryInfoBusiness.GetSpaceInfos(appConfig.linerStoreCode);
if (info != null)
{
//new LinerInventory();
Shapes = new ObservableCollection<BaseSpaceInfo>();
info.ForEach(x =>
if (spaceItems.Count > 0)
{
spaceItems.Clear();
}
foreach (var item in info)
{
Shapes.Add(x);
});
spaceItems.Add(item);
}
Shapes = spaceItems;
}
}
@ -130,7 +144,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
private void UpdateSpaceStatus(object obj)
{
string info = obj as string;
bool result = inventoryInfoBusiness.UpdateUnusualFlag(appConfig.linerStoreCode, info);
bool result = inventoryInfoBusiness.UpdateSpaceStatus(appConfig.linerStoreCode, info);
if (result)
{
Query();

@ -12,7 +12,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
public class ShellInventoryViewModel : ViewModelBase
{
public ObservableCollection<BaseSpaceInfo> Shapes { get; set; } = new ObservableCollection<BaseSpaceInfo>();
private ObservableCollection<BaseSpaceInfo> spaceItems = new ObservableCollection<BaseSpaceInfo>();
private InventoryInfoBusiness inventoryInfoBusiness = InventoryInfoBusiness.Instance;
@ -33,6 +33,16 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
}
#region 参数定义
public ObservableCollection<BaseSpaceInfo> _shapes;
public ObservableCollection<BaseSpaceInfo> Shapes
{
get { return _shapes; }
set { _shapes = value; RaisePropertyChanged(nameof(Shapes)); }
}
#endregion
#region 事件定义
public RelayCommand<object> UpdateInStoreFlagCommand { get; set; }
@ -41,6 +51,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
public RelayCommand<object> UpdateUnusualFlagCommand { get; set; }
public RelayCommand<object> UpdateSpaceStatusCommand { get; set; }
#endregion
private void Query()
@ -48,12 +59,16 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
var info = inventoryInfoBusiness.GetSpaceInfos(appConfig.shellStoreCode);
if (info != null)
{
//new LinerInventory();
Shapes = new ObservableCollection<BaseSpaceInfo>();
info.ForEach(x =>
if(spaceItems.Count > 0)
{
spaceItems.Clear();
}
foreach (var item in info)
{
Shapes.Add(x);
});
spaceItems.Add(item);
}
Shapes = spaceItems;
}
}
@ -121,7 +136,7 @@ namespace Aucma.Scada.UI.viewModel.InventoryInfo
private void UpdateSpaceStatus(object obj)
{
string info = obj as string;
bool result = inventoryInfoBusiness.UpdateUnusualFlag(appConfig.shellStoreCode, info);
bool result = inventoryInfoBusiness.UpdateSpaceStatus(appConfig.shellStoreCode, info);
if (result)
{
Query();

@ -27,3 +27,4 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\High
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.csproj.CopyComplete
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.pdb
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.Log4net\obj\Debug\HighWayIot.Log4net.csproj.AssemblyReference.cache

@ -29,4 +29,3 @@ C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.csproj.CopyComplete
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.dll
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.pdb
C:\项目代码\澳柯玛MES项目\Aucma.Scada\HighWayIot.TouchSocket\obj\Debug\HighWayIot.TouchSocket.csproj.AssemblyReference.cache

Loading…
Cancel
Save