Bladeren bron

取消绑定窗口,增加创建时间为当前时间

肖奇伟 1 maand geleden
bovenliggende
commit
e0a76dfe1e
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 1
      SCADA_DAQ/Customer/UctFrmMain.xaml
  2. 1 0
      SCADA_DAQ/Customer/UctFrmMain.xaml.cs

+ 1 - 1
SCADA_DAQ/Customer/UctFrmMain.xaml

@@ -54,7 +54,7 @@
                 </wpfcontrol:SmartGrid.Columns>
             </wpfcontrol:SmartGrid>
         </wpfcontrol:Card>-->
-        <wpfcontrol:Card Header="工装板绑定" Margin="4" Grid.Column="1" Grid.Row="1" CardStyle="Success" FontSize="{DynamicResource LargeFontSize}">
+        <wpfcontrol:Card Header="工装板绑定" Visibility="Collapsed" Margin="4" Grid.Column="1" Grid.Row="1" CardStyle="Success" FontSize="{DynamicResource LargeFontSize}">
             <ContentControl>
                 <wpfcontrol:SmartGrid IsReadOnly="True" ShowHeader="False" ShowFooter="False" x:Name="DG_Binding" ShowRowTips="False">
                     <wpfcontrol:SmartGrid.Columns>

+ 1 - 0
SCADA_DAQ/Customer/UctFrmMain.xaml.cs

@@ -93,6 +93,7 @@ namespace SCADA_DAQ.Customer
             CreateBackGroundTask(() =>
             {
                 var data = datas[index % datas.Count];
+                data.CreateTime = DateTime.Now;
                 if (data.ProcessDatas == null || data.ProcessDatas.Count <= 0)
                 {
                     var process = Env.DAL.App_Microwave_ProcessData.GetData<ProcessData>(t => t.ReportId == data.ID);