mengshunguo hace 1 mes
padre
commit
6795dc986c
Se han modificado 2 ficheros con 5311 adiciones y 1 borrados
  1. 5310 0
      SCADA_DAQ.DAL/SqlServer.cs
  2. 1 1
      SCADA_DAQ.DAL/SqlServer.tt

+ 5310 - 0
SCADA_DAQ.DAL/SqlServer.cs

@@ -21,3 +21,5313 @@ public class SP
 
 namespace DBNames
 {
+public static class T_Col_Name
+                          {
+	                        /// <summary> 
+             /// APP_TaiLin_DeviceDuration
+             /// </summary>
+             public class APP_TaiLin_DeviceDuration
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @EndTime_Dt=nameof(@EndTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Device_Str=nameof(@Device_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @StateCode_Int=nameof(@StateCode_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Duration_Str=nameof(@Duration_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @NodeId_Str=nameof(@NodeId_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @StateId_Str=nameof(@StateId_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @StartTime_Dt=nameof(@StartTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @OrgID_Int=nameof(@OrgID_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Duration_Int=nameof(@Duration_Int);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_DeviceManagement
+             /// </summary>
+             public class APP_TaiLing_DeviceManagement
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 设备号
+                /// </summary>
+                 public const string @DeviceId_Str=nameof(@DeviceId_Str);
+                    /// <summary>
+                /// 设备名称
+                /// </summary>
+                 public const string @DeviceName_Str=nameof(@DeviceName_Str);
+                    /// <summary>
+                /// 设备类型
+                /// </summary>
+                 public const string @DeviceType_Str=nameof(@DeviceType_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 成本
+                /// </summary>
+                 public const string @Cost_Str=nameof(@Cost_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_DeviceMap
+             /// </summary>
+             public class APP_TaiLing_DeviceMap
+             {
+             	/// <summary>
+                /// 设备号
+                /// </summary>
+                 public const string @DeviceId=nameof(@DeviceId);
+                    /// <summary>
+                /// 设备名
+                /// </summary>
+                 public const string @DeviceName=nameof(@DeviceName);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 映射设备号
+                /// </summary>
+                 public const string @MapDeviceId=nameof(@MapDeviceId);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_DeviceTypeList
+             /// </summary>
+             public class APP_TaiLing_DeviceTypeList
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 设备类型
+                /// </summary>
+                 public const string @DeviceType_Str=nameof(@DeviceType_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_ExceptionRecord
+             /// </summary>
+             public class APP_TaiLing_ExceptionRecord
+             {
+             	/// <summary>
+                /// 工位号
+                /// </summary>
+                 public const string @OperationPositionId_Str=nameof(@OperationPositionId_Str);
+                    /// <summary>
+                /// 异常类型
+                /// </summary>
+                 public const string @ExceptionType_Str=nameof(@ExceptionType_Str);
+                    /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public const string @StartTime_Dt=nameof(@StartTime_Dt);
+                    /// <summary>
+                /// 持续时长
+                /// </summary>
+                 public const string @DurationSec_Int=nameof(@DurationSec_Int);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public const string @EndTime_Dt=nameof(@EndTime_Dt);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 工位名称
+                /// </summary>
+                 public const string @OperationPositionName_Str=nameof(@OperationPositionName_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_MotorcycleTypeManagement
+             /// </summary>
+             public class APP_TaiLing_MotorcycleTypeManagement
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 车型号
+                /// </summary>
+                 public const string @MotorcycleTypeId_Str=nameof(@MotorcycleTypeId_Str);
+                    /// <summary>
+                /// 车型名称
+                /// </summary>
+                 public const string @MotorcycleTypeName_Str=nameof(@MotorcycleTypeName_Str);
+                    /// <summary>
+                /// 车型编号
+                /// </summary>
+                 public const string @MotorcycleTypeNumber_Str=nameof(@MotorcycleTypeNumber_Str);
+                    /// <summary>
+                /// 车型系列
+                /// </summary>
+                 public const string @MotorcycleTypeSeries_Str=nameof(@MotorcycleTypeSeries_Str);
+                    /// <summary>
+                /// 生产线速
+                /// </summary>
+                 public const string @ProductionLineSpeed_Int=nameof(@ProductionLineSpeed_Int);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 成本
+                /// </summary>
+                 public const string @Cost_Str=nameof(@Cost_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_MotorcycleTypeSeriesList
+             /// </summary>
+             public class APP_TaiLing_MotorcycleTypeSeriesList
+             {
+             	/// <summary>
+                /// 车型系列
+                /// </summary>
+                 public const string @MotorcycleTypeSeries_Str=nameof(@MotorcycleTypeSeries_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_NoticeManagement
+             /// </summary>
+             public class APP_TaiLing_NoticeManagement
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Duration_Int=nameof(@Duration_Int);
+                    /// <summary>
+                /// 公告号
+                /// </summary>
+                 public const string @NoticeId_Str=nameof(@NoticeId_Str);
+                    /// <summary>
+                /// 公告名称
+                /// </summary>
+                 public const string @NoticeName_Str=nameof(@NoticeName_Str);
+                    /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public const string @StartTime_Dt=nameof(@StartTime_Dt);
+                    /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public const string @EndTime_Dt=nameof(@EndTime_Dt);
+                    /// <summary>
+                /// 持续时长
+                /// </summary>
+                 public const string @DurationSec_Int=nameof(@DurationSec_Int);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 公告内容
+                /// </summary>
+                 public const string @NoticeContent_Str=nameof(@NoticeContent_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 公告标题字体大小
+                /// </summary>
+                 public const string @NoticeTitleFontSize_Int=nameof(@NoticeTitleFontSize_Int);
+                    /// <summary>
+                /// 公告标题
+                /// </summary>
+                 public const string @NoticeTitle_Str=nameof(@NoticeTitle_Str);
+                    /// <summary>
+                /// 公告内容字体大小
+                /// </summary>
+                 public const string @NoticeContentFontSize_Int=nameof(@NoticeContentFontSize_Int);
+                    /// <summary>
+                /// 是否激活
+                /// </summary>
+                 public const string @IsEnable_Bool=nameof(@IsEnable_Bool);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_OperationPositionManagement
+             /// </summary>
+             public class APP_TaiLing_OperationPositionManagement
+             {
+             	/// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 工位名称
+                /// </summary>
+                 public const string @OperationPositionName_Str=nameof(@OperationPositionName_Str);
+                    /// <summary>
+                /// 工位状态
+                /// </summary>
+                 public const string @OperationPositionState_Str=nameof(@OperationPositionState_Str);
+                    /// <summary>
+                /// 工位负责人
+                /// </summary>
+                 public const string @OperationPositionAdministrator_Str=nameof(@OperationPositionAdministrator_Str);
+                    /// <summary>
+                /// 工位号
+                /// </summary>
+                 public const string @OperationPositionId_Str=nameof(@OperationPositionId_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_ProductionLineManagement
+             /// </summary>
+             public class APP_TaiLing_ProductionLineManagement
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 产线名称
+                /// </summary>
+                 public const string @ProductionLineName_Str=nameof(@ProductionLineName_Str);
+                    /// <summary>
+                /// 产线简称
+                /// </summary>
+                 public const string @ProductionLineShortName_Str=nameof(@ProductionLineShortName_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 产线负责人
+                /// </summary>
+                 public const string @ProductionLineAdministrator_Str=nameof(@ProductionLineAdministrator_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 产线人数
+                /// </summary>
+                 public const string @NumberOfPeople_Int=nameof(@NumberOfPeople_Int);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_ProductionLineStateRecord
+             /// </summary>
+             public class APP_TaiLing_ProductionLineStateRecord
+             {
+             	/// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 产线状态
+                /// </summary>
+                 public const string @ProductionLineState_Str=nameof(@ProductionLineState_Str);
+                    /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public const string @StartTime_Dt=nameof(@StartTime_Dt);
+                    /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public const string @EndTime_Dt=nameof(@EndTime_Dt);
+                    /// <summary>
+                /// 生产总时长
+                /// </summary>
+                 public const string @DurationSec_Int=nameof(@DurationSec_Int);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_ProductionRecord
+             /// </summary>
+             public class APP_TaiLing_ProductionRecord
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public const string @StartTime_Dt=nameof(@StartTime_Dt);
+                    /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public const string @EndTime_Dt=nameof(@EndTime_Dt);
+                    /// <summary>
+                /// 持续时长
+                /// </summary>
+                 public const string @DurationSec_Int=nameof(@DurationSec_Int);
+                    /// <summary>
+                /// 产品号
+                /// </summary>
+                 public const string @ProductId_Str=nameof(@ProductId_Str);
+                    /// <summary>
+                /// 车架号
+                /// </summary>
+                 public const string @VehicleShelfId_Str=nameof(@VehicleShelfId_Str);
+                    /// <summary>
+                /// 电机号
+                /// </summary>
+                 public const string @MotorId_Str=nameof(@MotorId_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_ScanRecord
+             /// </summary>
+             public class APP_TaiLing_ScanRecord
+             {
+             	/// <summary>
+                /// 扫码枪号
+                /// </summary>
+                 public const string @ScannerId_Str=nameof(@ScannerId_Str);
+                    /// <summary>
+                /// 扫码数据
+                /// </summary>
+                 public const string @ScanData_Str=nameof(@ScanData_Str);
+                    /// <summary>
+                /// 扫码枪名称
+                /// </summary>
+                 public const string @ScannerName_Str=nameof(@ScannerName_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 扫码枪描述
+                /// </summary>
+                 public const string @ScannerDescription_Str=nameof(@ScannerDescription_Str);
+                    /// <summary>
+                /// 工单号
+                /// </summary>
+                 public const string @OrderId_Str=nameof(@OrderId_Str);
+                    /// <summary>
+                /// 工单日期
+                /// </summary>
+                 public const string @OrderDatetime_Dt=nameof(@OrderDatetime_Dt);
+                    /// <summary>
+                /// 产品号
+                /// </summary>
+                 public const string @ProductId_Str=nameof(@ProductId_Str);
+                    /// <summary>
+                /// 二维码标识
+                /// </summary>
+                 public const string @QRcode_Str=nameof(@QRcode_Str);
+                    /// <summary>
+                /// 计划产量
+                /// </summary>
+                 public const string @ScheduledProduction_Int=nameof(@ScheduledProduction_Int);
+                    /// <summary>
+                /// 车型名称
+                /// </summary>
+                 public const string @MotorcycleTypeName_Str=nameof(@MotorcycleTypeName_Str);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// APP_TaiLing_TaskManagement
+             /// </summary>
+             public class APP_TaiLing_TaskManagement
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 工单号
+                /// </summary>
+                 public const string @OrderId_Str=nameof(@OrderId_Str);
+                    /// <summary>
+                /// 工单日期
+                /// </summary>
+                 public const string @OrderDatetime_Dt=nameof(@OrderDatetime_Dt);
+                    /// <summary>
+                /// 工单顺序
+                /// </summary>
+                 public const string @OrderSequence_Int=nameof(@OrderSequence_Int);
+                    /// <summary>
+                /// 计划产量
+                /// </summary>
+                 public const string @ScheduledProduction_Int=nameof(@ScheduledProduction_Int);
+                    /// <summary>
+                /// 当前产量
+                /// </summary>
+                 public const string @CurrentProduction_Int=nameof(@CurrentProduction_Int);
+                    /// <summary>
+                /// 开始生产时间
+                /// </summary>
+                 public const string @WorkStartTime_Dt=nameof(@WorkStartTime_Dt);
+                    /// <summary>
+                /// 结束生产时间
+                /// </summary>
+                 public const string @WorkEndTime_Dt=nameof(@WorkEndTime_Dt);
+                    /// <summary>
+                /// 工单状态
+                /// </summary>
+                 public const string @OrderState_Str=nameof(@OrderState_Str);
+                    /// <summary>
+                /// 生产车型
+                /// </summary>
+                 public const string @MotorcycleTypeName_Str=nameof(@MotorcycleTypeName_Str);
+                    /// <summary>
+                /// 生产总时长
+                /// </summary>
+                 public const string @DurationSec_Int=nameof(@DurationSec_Int);
+                    /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 创建者
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 修改者
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 车间号
+                /// </summary>
+                 public const string @WorkShopId_Str=nameof(@WorkShopId_Str);
+                    /// <summary>
+                /// 成本
+                /// </summary>
+                 public const string @Cost_Str=nameof(@Cost_Str);
+                    /// <summary>
+                /// 产线号
+                /// </summary>
+                 public const string @ProductionLineId_Str=nameof(@ProductionLineId_Str);
+                    /// <summary>
+                /// 备注
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    
+             }
+             /// <summary> 
+             /// Base_AlarmCode
+             /// </summary>
+             public class Base_AlarmCode
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @OrgID_Int=nameof(@OrgID_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @AlarmDesc_Str=nameof(@AlarmDesc_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Help_Str=nameof(@Help_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @AlarmType_Str=nameof(@AlarmType_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @AlarmCode_Str=nameof(@AlarmCode_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// Base_AlarmLog
+             /// </summary>
+             public class Base_AlarmLog
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @OrgID_Int=nameof(@OrgID_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @TagName_Str=nameof(@TagName_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Duration_Str=nameof(@Duration_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Helper_Str=nameof(@Helper_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @IsClosed_Bit=nameof(@IsClosed_Bit);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @RecoverTime_Dt=nameof(@RecoverTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Device_Str=nameof(@Device_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @AlarmId_Str=nameof(@AlarmId_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @TriggedTime_Dt=nameof(@TriggedTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @AlarmCode_Str=nameof(@AlarmCode_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Duration_Int=nameof(@Duration_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    
+             }
+             /// <summary> 
+             /// Base_DeviceStateResume
+             /// </summary>
+             public class Base_DeviceStateResume
+             {
+             	/// <summary>
+                /// 
+                /// </summary>
+                 public const string @OrgID_Int=nameof(@OrgID_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @EndTime_Dt=nameof(@EndTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @NodeId_Str=nameof(@NodeId_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateUser_Str=nameof(@CreateUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyUser_Str=nameof(@ModifyUser_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Device_Str=nameof(@Device_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @StartTime_Dt=nameof(@StartTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ID=nameof(@ID);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @ModifyTime_Dt=nameof(@ModifyTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Duration_Int=nameof(@Duration_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @StateId_Str=nameof(@StateId_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Remark_Str=nameof(@Remark_Str);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @CreateTime_Dt=nameof(@CreateTime_Dt);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @StateCode_Int=nameof(@StateCode_Int);
+                    /// <summary>
+                /// 
+                /// </summary>
+                 public const string @Duration_Str=nameof(@Duration_Str);
+                    
+             }
+             
+                          }
+            
+public static class V_Col_Name
+                  {
+	                 ///<summary>
+                /// V_Base_AlarmLog
+                /// </summary>
+                    public class V_Base_AlarmLog
+                        {
+                        	/// <summary>
+                /// 
+                /// </summary>
+                        public const string @ModifyUser_Str =nameof(@ModifyUser_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @CreateUser_Str =nameof(@CreateUser_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @OrgID_Int =nameof(@OrgID_Int);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @Remark_Str =nameof(@Remark_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @AlarmDesc_Str =nameof(@AlarmDesc_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @Help_Str =nameof(@Help_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @TriggedTime_Dt =nameof(@TriggedTime_Dt);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @Duration_Str =nameof(@Duration_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @AlarmCode_Str =nameof(@AlarmCode_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @AlarmId_Str =nameof(@AlarmId_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @AlarmType_Str =nameof(@AlarmType_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @ID =nameof(@ID);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @CreateTime_Dt =nameof(@CreateTime_Dt);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @Duration_Int =nameof(@Duration_Int);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @Device_Str =nameof(@Device_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @TagName_Str =nameof(@TagName_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @IsClosed_Bit =nameof(@IsClosed_Bit);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @RecoverTime_Dt =nameof(@RecoverTime_Dt);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @Helper_Str =nameof(@Helper_Str);
+               /// <summary>
+                /// 
+                /// </summary>
+                        public const string @ModifyTime_Dt =nameof(@ModifyTime_Dt);
+               
+                        }      
+                
+                   }
+
+                
+ public static class SP_Paramters
+                    {
+                    	
+                    }
+            
+}
+
+namespace DBModel
+{
+
+	                    /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLin_DeviceDuration:ObservableObject
+             {
+             	  private string _CreateUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private DateTime? _EndTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? EndTime_Dt
+                {
+                get {return _EndTime_Dt;}
+                set{
+                    if(value!=(_EndTime_Dt))
+                    {
+                        _EndTime_Dt=value;
+                        OnPropertyChanged(nameof( EndTime_Dt));
+                    }
+                }
+            }
+              private string _Device_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Device_Str
+                {
+                get {return _Device_Str;}
+                set{
+                    if(value!=(_Device_Str))
+                    {
+                        _Device_Str=value;
+                        OnPropertyChanged(nameof( Device_Str));
+                    }
+                }
+            }
+              private int? _StateCode_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? StateCode_Int
+                {
+                get {return _StateCode_Int;}
+                set{
+                    if(value!=(_StateCode_Int))
+                    {
+                        _StateCode_Int=value;
+                        OnPropertyChanged(nameof( StateCode_Int));
+                    }
+                }
+            }
+              private string _Duration_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Duration_Str
+                {
+                get {return _Duration_Str;}
+                set{
+                    if(value!=(_Duration_Str))
+                    {
+                        _Duration_Str=value;
+                        OnPropertyChanged(nameof( Duration_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _NodeId_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string NodeId_Str
+                {
+                get {return _NodeId_Str;}
+                set{
+                    if(value!=(_NodeId_Str))
+                    {
+                        _NodeId_Str=value;
+                        OnPropertyChanged(nameof( NodeId_Str));
+                    }
+                }
+            }
+              private string _StateId_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string StateId_Str
+                {
+                get {return _StateId_Str;}
+                set{
+                    if(value!=(_StateId_Str))
+                    {
+                        _StateId_Str=value;
+                        OnPropertyChanged(nameof( StateId_Str));
+                    }
+                }
+            }
+              private DateTime? _StartTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? StartTime_Dt
+                {
+                get {return _StartTime_Dt;}
+                set{
+                    if(value!=(_StartTime_Dt))
+                    {
+                        _StartTime_Dt=value;
+                        OnPropertyChanged(nameof( StartTime_Dt));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private int? _OrgID_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? OrgID_Int
+                {
+                get {return _OrgID_Int;}
+                set{
+                    if(value!=(_OrgID_Int))
+                    {
+                        _OrgID_Int=value;
+                        OnPropertyChanged(nameof( OrgID_Int));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private int? _Duration_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? Duration_Int
+                {
+                get {return _Duration_Int;}
+                set{
+                    if(value!=(_Duration_Int))
+                    {
+                        _Duration_Int=value;
+                        OnPropertyChanged(nameof( Duration_Int));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_DeviceManagement:ObservableObject
+             {
+             	  private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private string _DeviceId_Str;
+                /// <summary>
+                /// 设备号
+                /// </summary>
+                 public string DeviceId_Str
+                {
+                get {return _DeviceId_Str;}
+                set{
+                    if(value!=(_DeviceId_Str))
+                    {
+                        _DeviceId_Str=value;
+                        OnPropertyChanged(nameof( DeviceId_Str));
+                    }
+                }
+            }
+              private string _DeviceName_Str;
+                /// <summary>
+                /// 设备名称
+                /// </summary>
+                 public string DeviceName_Str
+                {
+                get {return _DeviceName_Str;}
+                set{
+                    if(value!=(_DeviceName_Str))
+                    {
+                        _DeviceName_Str=value;
+                        OnPropertyChanged(nameof( DeviceName_Str));
+                    }
+                }
+            }
+              private string _DeviceType_Str;
+                /// <summary>
+                /// 设备类型
+                /// </summary>
+                 public string DeviceType_Str
+                {
+                get {return _DeviceType_Str;}
+                set{
+                    if(value!=(_DeviceType_Str))
+                    {
+                        _DeviceType_Str=value;
+                        OnPropertyChanged(nameof( DeviceType_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _Cost_Str;
+                /// <summary>
+                /// 成本
+                /// </summary>
+                 public string Cost_Str
+                {
+                get {return _Cost_Str;}
+                set{
+                    if(value!=(_Cost_Str))
+                    {
+                        _Cost_Str=value;
+                        OnPropertyChanged(nameof( Cost_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_DeviceMap:ObservableObject
+             {
+             	  private string _DeviceId;
+                /// <summary>
+                /// 设备号
+                /// </summary>
+                 public string DeviceId
+                {
+                get {return _DeviceId;}
+                set{
+                    if(value!=(_DeviceId))
+                    {
+                        _DeviceId=value;
+                        OnPropertyChanged(nameof( DeviceId));
+                    }
+                }
+            }
+              private string _DeviceName;
+                /// <summary>
+                /// 设备名
+                /// </summary>
+                 public string DeviceName
+                {
+                get {return _DeviceName;}
+                set{
+                    if(value!=(_DeviceName))
+                    {
+                        _DeviceName=value;
+                        OnPropertyChanged(nameof( DeviceName));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private string _MapDeviceId;
+                /// <summary>
+                /// 映射设备号
+                /// </summary>
+                 public string MapDeviceId
+                {
+                get {return _MapDeviceId;}
+                set{
+                    if(value!=(_MapDeviceId))
+                    {
+                        _MapDeviceId=value;
+                        OnPropertyChanged(nameof( MapDeviceId));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_DeviceTypeList:ObservableObject
+             {
+             	  private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private string _DeviceType_Str;
+                /// <summary>
+                /// 设备类型
+                /// </summary>
+                 public string DeviceType_Str
+                {
+                get {return _DeviceType_Str;}
+                set{
+                    if(value!=(_DeviceType_Str))
+                    {
+                        _DeviceType_Str=value;
+                        OnPropertyChanged(nameof( DeviceType_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_ExceptionRecord:ObservableObject
+             {
+             	  private string _OperationPositionId_Str;
+                /// <summary>
+                /// 工位号
+                /// </summary>
+                 public string OperationPositionId_Str
+                {
+                get {return _OperationPositionId_Str;}
+                set{
+                    if(value!=(_OperationPositionId_Str))
+                    {
+                        _OperationPositionId_Str=value;
+                        OnPropertyChanged(nameof( OperationPositionId_Str));
+                    }
+                }
+            }
+              private string _ExceptionType_Str;
+                /// <summary>
+                /// 异常类型
+                /// </summary>
+                 public string ExceptionType_Str
+                {
+                get {return _ExceptionType_Str;}
+                set{
+                    if(value!=(_ExceptionType_Str))
+                    {
+                        _ExceptionType_Str=value;
+                        OnPropertyChanged(nameof( ExceptionType_Str));
+                    }
+                }
+            }
+              private DateTime? _StartTime_Dt;
+                /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public DateTime? StartTime_Dt
+                {
+                get {return _StartTime_Dt;}
+                set{
+                    if(value!=(_StartTime_Dt))
+                    {
+                        _StartTime_Dt=value;
+                        OnPropertyChanged(nameof( StartTime_Dt));
+                    }
+                }
+            }
+              private int? _DurationSec_Int;
+                /// <summary>
+                /// 持续时长
+                /// </summary>
+                 public int? DurationSec_Int
+                {
+                get {return _DurationSec_Int;}
+                set{
+                    if(value!=(_DurationSec_Int))
+                    {
+                        _DurationSec_Int=value;
+                        OnPropertyChanged(nameof( DurationSec_Int));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private DateTime? _EndTime_Dt;
+                /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public DateTime? EndTime_Dt
+                {
+                get {return _EndTime_Dt;}
+                set{
+                    if(value!=(_EndTime_Dt))
+                    {
+                        _EndTime_Dt=value;
+                        OnPropertyChanged(nameof( EndTime_Dt));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private string _OperationPositionName_Str;
+                /// <summary>
+                /// 工位名称
+                /// </summary>
+                 public string OperationPositionName_Str
+                {
+                get {return _OperationPositionName_Str;}
+                set{
+                    if(value!=(_OperationPositionName_Str))
+                    {
+                        _OperationPositionName_Str=value;
+                        OnPropertyChanged(nameof( OperationPositionName_Str));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_MotorcycleTypeManagement:ObservableObject
+             {
+             	  private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private string _MotorcycleTypeId_Str;
+                /// <summary>
+                /// 车型号
+                /// </summary>
+                 public string MotorcycleTypeId_Str
+                {
+                get {return _MotorcycleTypeId_Str;}
+                set{
+                    if(value!=(_MotorcycleTypeId_Str))
+                    {
+                        _MotorcycleTypeId_Str=value;
+                        OnPropertyChanged(nameof( MotorcycleTypeId_Str));
+                    }
+                }
+            }
+              private string _MotorcycleTypeName_Str;
+                /// <summary>
+                /// 车型名称
+                /// </summary>
+                 public string MotorcycleTypeName_Str
+                {
+                get {return _MotorcycleTypeName_Str;}
+                set{
+                    if(value!=(_MotorcycleTypeName_Str))
+                    {
+                        _MotorcycleTypeName_Str=value;
+                        OnPropertyChanged(nameof( MotorcycleTypeName_Str));
+                    }
+                }
+            }
+              private string _MotorcycleTypeNumber_Str;
+                /// <summary>
+                /// 车型编号
+                /// </summary>
+                 public string MotorcycleTypeNumber_Str
+                {
+                get {return _MotorcycleTypeNumber_Str;}
+                set{
+                    if(value!=(_MotorcycleTypeNumber_Str))
+                    {
+                        _MotorcycleTypeNumber_Str=value;
+                        OnPropertyChanged(nameof( MotorcycleTypeNumber_Str));
+                    }
+                }
+            }
+              private string _MotorcycleTypeSeries_Str;
+                /// <summary>
+                /// 车型系列
+                /// </summary>
+                 public string MotorcycleTypeSeries_Str
+                {
+                get {return _MotorcycleTypeSeries_Str;}
+                set{
+                    if(value!=(_MotorcycleTypeSeries_Str))
+                    {
+                        _MotorcycleTypeSeries_Str=value;
+                        OnPropertyChanged(nameof( MotorcycleTypeSeries_Str));
+                    }
+                }
+            }
+              private int? _ProductionLineSpeed_Int;
+                /// <summary>
+                /// 生产线速
+                /// </summary>
+                 public int? ProductionLineSpeed_Int
+                {
+                get {return _ProductionLineSpeed_Int;}
+                set{
+                    if(value!=(_ProductionLineSpeed_Int))
+                    {
+                        _ProductionLineSpeed_Int=value;
+                        OnPropertyChanged(nameof( ProductionLineSpeed_Int));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _Cost_Str;
+                /// <summary>
+                /// 成本
+                /// </summary>
+                 public string Cost_Str
+                {
+                get {return _Cost_Str;}
+                set{
+                    if(value!=(_Cost_Str))
+                    {
+                        _Cost_Str=value;
+                        OnPropertyChanged(nameof( Cost_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_MotorcycleTypeSeriesList:ObservableObject
+             {
+             	  private string _MotorcycleTypeSeries_Str;
+                /// <summary>
+                /// 车型系列
+                /// </summary>
+                 public string MotorcycleTypeSeries_Str
+                {
+                get {return _MotorcycleTypeSeries_Str;}
+                set{
+                    if(value!=(_MotorcycleTypeSeries_Str))
+                    {
+                        _MotorcycleTypeSeries_Str=value;
+                        OnPropertyChanged(nameof( MotorcycleTypeSeries_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_NoticeManagement:ObservableObject
+             {
+             	  private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private int? _Duration_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? Duration_Int
+                {
+                get {return _Duration_Int;}
+                set{
+                    if(value!=(_Duration_Int))
+                    {
+                        _Duration_Int=value;
+                        OnPropertyChanged(nameof( Duration_Int));
+                    }
+                }
+            }
+              private string _NoticeId_Str;
+                /// <summary>
+                /// 公告号
+                /// </summary>
+                 public string NoticeId_Str
+                {
+                get {return _NoticeId_Str;}
+                set{
+                    if(value!=(_NoticeId_Str))
+                    {
+                        _NoticeId_Str=value;
+                        OnPropertyChanged(nameof( NoticeId_Str));
+                    }
+                }
+            }
+              private string _NoticeName_Str;
+                /// <summary>
+                /// 公告名称
+                /// </summary>
+                 public string NoticeName_Str
+                {
+                get {return _NoticeName_Str;}
+                set{
+                    if(value!=(_NoticeName_Str))
+                    {
+                        _NoticeName_Str=value;
+                        OnPropertyChanged(nameof( NoticeName_Str));
+                    }
+                }
+            }
+              private DateTime? _StartTime_Dt;
+                /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public DateTime? StartTime_Dt
+                {
+                get {return _StartTime_Dt;}
+                set{
+                    if(value!=(_StartTime_Dt))
+                    {
+                        _StartTime_Dt=value;
+                        OnPropertyChanged(nameof( StartTime_Dt));
+                    }
+                }
+            }
+              private DateTime? _EndTime_Dt;
+                /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public DateTime? EndTime_Dt
+                {
+                get {return _EndTime_Dt;}
+                set{
+                    if(value!=(_EndTime_Dt))
+                    {
+                        _EndTime_Dt=value;
+                        OnPropertyChanged(nameof( EndTime_Dt));
+                    }
+                }
+            }
+              private int? _DurationSec_Int;
+                /// <summary>
+                /// 持续时长
+                /// </summary>
+                 public int? DurationSec_Int
+                {
+                get {return _DurationSec_Int;}
+                set{
+                    if(value!=(_DurationSec_Int))
+                    {
+                        _DurationSec_Int=value;
+                        OnPropertyChanged(nameof( DurationSec_Int));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _NoticeContent_Str;
+                /// <summary>
+                /// 公告内容
+                /// </summary>
+                 public string NoticeContent_Str
+                {
+                get {return _NoticeContent_Str;}
+                set{
+                    if(value!=(_NoticeContent_Str))
+                    {
+                        _NoticeContent_Str=value;
+                        OnPropertyChanged(nameof( NoticeContent_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private int? _NoticeTitleFontSize_Int;
+                /// <summary>
+                /// 公告标题字体大小
+                /// </summary>
+                 public int? NoticeTitleFontSize_Int
+                {
+                get {return _NoticeTitleFontSize_Int;}
+                set{
+                    if(value!=(_NoticeTitleFontSize_Int))
+                    {
+                        _NoticeTitleFontSize_Int=value;
+                        OnPropertyChanged(nameof( NoticeTitleFontSize_Int));
+                    }
+                }
+            }
+              private string _NoticeTitle_Str;
+                /// <summary>
+                /// 公告标题
+                /// </summary>
+                 public string NoticeTitle_Str
+                {
+                get {return _NoticeTitle_Str;}
+                set{
+                    if(value!=(_NoticeTitle_Str))
+                    {
+                        _NoticeTitle_Str=value;
+                        OnPropertyChanged(nameof( NoticeTitle_Str));
+                    }
+                }
+            }
+              private int? _NoticeContentFontSize_Int;
+                /// <summary>
+                /// 公告内容字体大小
+                /// </summary>
+                 public int? NoticeContentFontSize_Int
+                {
+                get {return _NoticeContentFontSize_Int;}
+                set{
+                    if(value!=(_NoticeContentFontSize_Int))
+                    {
+                        _NoticeContentFontSize_Int=value;
+                        OnPropertyChanged(nameof( NoticeContentFontSize_Int));
+                    }
+                }
+            }
+              private bool? _IsEnable_Bool;
+                /// <summary>
+                /// 是否激活
+                /// </summary>
+                 public bool? IsEnable_Bool
+                {
+                get {return _IsEnable_Bool;}
+                set{
+                    if(value!=(_IsEnable_Bool))
+                    {
+                        _IsEnable_Bool=value;
+                        OnPropertyChanged(nameof( IsEnable_Bool));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_OperationPositionManagement:ObservableObject
+             {
+             	  private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _OperationPositionName_Str;
+                /// <summary>
+                /// 工位名称
+                /// </summary>
+                 public string OperationPositionName_Str
+                {
+                get {return _OperationPositionName_Str;}
+                set{
+                    if(value!=(_OperationPositionName_Str))
+                    {
+                        _OperationPositionName_Str=value;
+                        OnPropertyChanged(nameof( OperationPositionName_Str));
+                    }
+                }
+            }
+              private string _OperationPositionState_Str;
+                /// <summary>
+                /// 工位状态
+                /// </summary>
+                 public string OperationPositionState_Str
+                {
+                get {return _OperationPositionState_Str;}
+                set{
+                    if(value!=(_OperationPositionState_Str))
+                    {
+                        _OperationPositionState_Str=value;
+                        OnPropertyChanged(nameof( OperationPositionState_Str));
+                    }
+                }
+            }
+              private string _OperationPositionAdministrator_Str;
+                /// <summary>
+                /// 工位负责人
+                /// </summary>
+                 public string OperationPositionAdministrator_Str
+                {
+                get {return _OperationPositionAdministrator_Str;}
+                set{
+                    if(value!=(_OperationPositionAdministrator_Str))
+                    {
+                        _OperationPositionAdministrator_Str=value;
+                        OnPropertyChanged(nameof( OperationPositionAdministrator_Str));
+                    }
+                }
+            }
+              private string _OperationPositionId_Str;
+                /// <summary>
+                /// 工位号
+                /// </summary>
+                 public string OperationPositionId_Str
+                {
+                get {return _OperationPositionId_Str;}
+                set{
+                    if(value!=(_OperationPositionId_Str))
+                    {
+                        _OperationPositionId_Str=value;
+                        OnPropertyChanged(nameof( OperationPositionId_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_ProductionLineManagement:ObservableObject
+             {
+             	  private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private string _ProductionLineName_Str;
+                /// <summary>
+                /// 产线名称
+                /// </summary>
+                 public string ProductionLineName_Str
+                {
+                get {return _ProductionLineName_Str;}
+                set{
+                    if(value!=(_ProductionLineName_Str))
+                    {
+                        _ProductionLineName_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineName_Str));
+                    }
+                }
+            }
+              private string _ProductionLineShortName_Str;
+                /// <summary>
+                /// 产线简称
+                /// </summary>
+                 public string ProductionLineShortName_Str
+                {
+                get {return _ProductionLineShortName_Str;}
+                set{
+                    if(value!=(_ProductionLineShortName_Str))
+                    {
+                        _ProductionLineShortName_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineShortName_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineAdministrator_Str;
+                /// <summary>
+                /// 产线负责人
+                /// </summary>
+                 public string ProductionLineAdministrator_Str
+                {
+                get {return _ProductionLineAdministrator_Str;}
+                set{
+                    if(value!=(_ProductionLineAdministrator_Str))
+                    {
+                        _ProductionLineAdministrator_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineAdministrator_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private int? _NumberOfPeople_Int;
+                /// <summary>
+                /// 产线人数
+                /// </summary>
+                 public int? NumberOfPeople_Int
+                {
+                get {return _NumberOfPeople_Int;}
+                set{
+                    if(value!=(_NumberOfPeople_Int))
+                    {
+                        _NumberOfPeople_Int=value;
+                        OnPropertyChanged(nameof( NumberOfPeople_Int));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_ProductionLineStateRecord:ObservableObject
+             {
+             	  private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineState_Str;
+                /// <summary>
+                /// 产线状态
+                /// </summary>
+                 public string ProductionLineState_Str
+                {
+                get {return _ProductionLineState_Str;}
+                set{
+                    if(value!=(_ProductionLineState_Str))
+                    {
+                        _ProductionLineState_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineState_Str));
+                    }
+                }
+            }
+              private DateTime? _StartTime_Dt;
+                /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public DateTime? StartTime_Dt
+                {
+                get {return _StartTime_Dt;}
+                set{
+                    if(value!=(_StartTime_Dt))
+                    {
+                        _StartTime_Dt=value;
+                        OnPropertyChanged(nameof( StartTime_Dt));
+                    }
+                }
+            }
+              private DateTime? _EndTime_Dt;
+                /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public DateTime? EndTime_Dt
+                {
+                get {return _EndTime_Dt;}
+                set{
+                    if(value!=(_EndTime_Dt))
+                    {
+                        _EndTime_Dt=value;
+                        OnPropertyChanged(nameof( EndTime_Dt));
+                    }
+                }
+            }
+              private int? _DurationSec_Int;
+                /// <summary>
+                /// 生产总时长
+                /// </summary>
+                 public int? DurationSec_Int
+                {
+                get {return _DurationSec_Int;}
+                set{
+                    if(value!=(_DurationSec_Int))
+                    {
+                        _DurationSec_Int=value;
+                        OnPropertyChanged(nameof( DurationSec_Int));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_ProductionRecord:ObservableObject
+             {
+             	  private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private DateTime? _StartTime_Dt;
+                /// <summary>
+                /// 开始时间
+                /// </summary>
+                 public DateTime? StartTime_Dt
+                {
+                get {return _StartTime_Dt;}
+                set{
+                    if(value!=(_StartTime_Dt))
+                    {
+                        _StartTime_Dt=value;
+                        OnPropertyChanged(nameof( StartTime_Dt));
+                    }
+                }
+            }
+              private DateTime? _EndTime_Dt;
+                /// <summary>
+                /// 结束时间
+                /// </summary>
+                 public DateTime? EndTime_Dt
+                {
+                get {return _EndTime_Dt;}
+                set{
+                    if(value!=(_EndTime_Dt))
+                    {
+                        _EndTime_Dt=value;
+                        OnPropertyChanged(nameof( EndTime_Dt));
+                    }
+                }
+            }
+              private int? _DurationSec_Int;
+                /// <summary>
+                /// 持续时长
+                /// </summary>
+                 public int? DurationSec_Int
+                {
+                get {return _DurationSec_Int;}
+                set{
+                    if(value!=(_DurationSec_Int))
+                    {
+                        _DurationSec_Int=value;
+                        OnPropertyChanged(nameof( DurationSec_Int));
+                    }
+                }
+            }
+              private string _ProductId_Str;
+                /// <summary>
+                /// 产品号
+                /// </summary>
+                 public string ProductId_Str
+                {
+                get {return _ProductId_Str;}
+                set{
+                    if(value!=(_ProductId_Str))
+                    {
+                        _ProductId_Str=value;
+                        OnPropertyChanged(nameof( ProductId_Str));
+                    }
+                }
+            }
+              private string _VehicleShelfId_Str;
+                /// <summary>
+                /// 车架号
+                /// </summary>
+                 public string VehicleShelfId_Str
+                {
+                get {return _VehicleShelfId_Str;}
+                set{
+                    if(value!=(_VehicleShelfId_Str))
+                    {
+                        _VehicleShelfId_Str=value;
+                        OnPropertyChanged(nameof( VehicleShelfId_Str));
+                    }
+                }
+            }
+              private string _MotorId_Str;
+                /// <summary>
+                /// 电机号
+                /// </summary>
+                 public string MotorId_Str
+                {
+                get {return _MotorId_Str;}
+                set{
+                    if(value!=(_MotorId_Str))
+                    {
+                        _MotorId_Str=value;
+                        OnPropertyChanged(nameof( MotorId_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_ScanRecord:ObservableObject
+             {
+             	  private string _ScannerId_Str;
+                /// <summary>
+                /// 扫码枪号
+                /// </summary>
+                 public string ScannerId_Str
+                {
+                get {return _ScannerId_Str;}
+                set{
+                    if(value!=(_ScannerId_Str))
+                    {
+                        _ScannerId_Str=value;
+                        OnPropertyChanged(nameof( ScannerId_Str));
+                    }
+                }
+            }
+              private string _ScanData_Str;
+                /// <summary>
+                /// 扫码数据
+                /// </summary>
+                 public string ScanData_Str
+                {
+                get {return _ScanData_Str;}
+                set{
+                    if(value!=(_ScanData_Str))
+                    {
+                        _ScanData_Str=value;
+                        OnPropertyChanged(nameof( ScanData_Str));
+                    }
+                }
+            }
+              private string _ScannerName_Str;
+                /// <summary>
+                /// 扫码枪名称
+                /// </summary>
+                 public string ScannerName_Str
+                {
+                get {return _ScannerName_Str;}
+                set{
+                    if(value!=(_ScannerName_Str))
+                    {
+                        _ScannerName_Str=value;
+                        OnPropertyChanged(nameof( ScannerName_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _ScannerDescription_Str;
+                /// <summary>
+                /// 扫码枪描述
+                /// </summary>
+                 public string ScannerDescription_Str
+                {
+                get {return _ScannerDescription_Str;}
+                set{
+                    if(value!=(_ScannerDescription_Str))
+                    {
+                        _ScannerDescription_Str=value;
+                        OnPropertyChanged(nameof( ScannerDescription_Str));
+                    }
+                }
+            }
+              private string _OrderId_Str;
+                /// <summary>
+                /// 工单号
+                /// </summary>
+                 public string OrderId_Str
+                {
+                get {return _OrderId_Str;}
+                set{
+                    if(value!=(_OrderId_Str))
+                    {
+                        _OrderId_Str=value;
+                        OnPropertyChanged(nameof( OrderId_Str));
+                    }
+                }
+            }
+              private DateTime? _OrderDatetime_Dt;
+                /// <summary>
+                /// 工单日期
+                /// </summary>
+                 public DateTime? OrderDatetime_Dt
+                {
+                get {return _OrderDatetime_Dt;}
+                set{
+                    if(value!=(_OrderDatetime_Dt))
+                    {
+                        _OrderDatetime_Dt=value;
+                        OnPropertyChanged(nameof( OrderDatetime_Dt));
+                    }
+                }
+            }
+              private string _ProductId_Str;
+                /// <summary>
+                /// 产品号
+                /// </summary>
+                 public string ProductId_Str
+                {
+                get {return _ProductId_Str;}
+                set{
+                    if(value!=(_ProductId_Str))
+                    {
+                        _ProductId_Str=value;
+                        OnPropertyChanged(nameof( ProductId_Str));
+                    }
+                }
+            }
+              private string _QRcode_Str;
+                /// <summary>
+                /// 二维码标识
+                /// </summary>
+                 public string QRcode_Str
+                {
+                get {return _QRcode_Str;}
+                set{
+                    if(value!=(_QRcode_Str))
+                    {
+                        _QRcode_Str=value;
+                        OnPropertyChanged(nameof( QRcode_Str));
+                    }
+                }
+            }
+              private int? _ScheduledProduction_Int;
+                /// <summary>
+                /// 计划产量
+                /// </summary>
+                 public int? ScheduledProduction_Int
+                {
+                get {return _ScheduledProduction_Int;}
+                set{
+                    if(value!=(_ScheduledProduction_Int))
+                    {
+                        _ScheduledProduction_Int=value;
+                        OnPropertyChanged(nameof( ScheduledProduction_Int));
+                    }
+                }
+            }
+              private string _MotorcycleTypeName_Str;
+                /// <summary>
+                /// 车型名称
+                /// </summary>
+                 public string MotorcycleTypeName_Str
+                {
+                get {return _MotorcycleTypeName_Str;}
+                set{
+                    if(value!=(_MotorcycleTypeName_Str))
+                    {
+                        _MotorcycleTypeName_Str=value;
+                        OnPropertyChanged(nameof( MotorcycleTypeName_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private string _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public string ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class APP_TaiLing_TaskManagement:ObservableObject
+             {
+             	  private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private string _OrderId_Str;
+                /// <summary>
+                /// 工单号
+                /// </summary>
+                 public string OrderId_Str
+                {
+                get {return _OrderId_Str;}
+                set{
+                    if(value!=(_OrderId_Str))
+                    {
+                        _OrderId_Str=value;
+                        OnPropertyChanged(nameof( OrderId_Str));
+                    }
+                }
+            }
+              private DateTime? _OrderDatetime_Dt;
+                /// <summary>
+                /// 工单日期
+                /// </summary>
+                 public DateTime? OrderDatetime_Dt
+                {
+                get {return _OrderDatetime_Dt;}
+                set{
+                    if(value!=(_OrderDatetime_Dt))
+                    {
+                        _OrderDatetime_Dt=value;
+                        OnPropertyChanged(nameof( OrderDatetime_Dt));
+                    }
+                }
+            }
+              private int? _OrderSequence_Int;
+                /// <summary>
+                /// 工单顺序
+                /// </summary>
+                 public int? OrderSequence_Int
+                {
+                get {return _OrderSequence_Int;}
+                set{
+                    if(value!=(_OrderSequence_Int))
+                    {
+                        _OrderSequence_Int=value;
+                        OnPropertyChanged(nameof( OrderSequence_Int));
+                    }
+                }
+            }
+              private int? _ScheduledProduction_Int;
+                /// <summary>
+                /// 计划产量
+                /// </summary>
+                 public int? ScheduledProduction_Int
+                {
+                get {return _ScheduledProduction_Int;}
+                set{
+                    if(value!=(_ScheduledProduction_Int))
+                    {
+                        _ScheduledProduction_Int=value;
+                        OnPropertyChanged(nameof( ScheduledProduction_Int));
+                    }
+                }
+            }
+              private int? _CurrentProduction_Int;
+                /// <summary>
+                /// 当前产量
+                /// </summary>
+                 public int? CurrentProduction_Int
+                {
+                get {return _CurrentProduction_Int;}
+                set{
+                    if(value!=(_CurrentProduction_Int))
+                    {
+                        _CurrentProduction_Int=value;
+                        OnPropertyChanged(nameof( CurrentProduction_Int));
+                    }
+                }
+            }
+              private DateTime? _WorkStartTime_Dt;
+                /// <summary>
+                /// 开始生产时间
+                /// </summary>
+                 public DateTime? WorkStartTime_Dt
+                {
+                get {return _WorkStartTime_Dt;}
+                set{
+                    if(value!=(_WorkStartTime_Dt))
+                    {
+                        _WorkStartTime_Dt=value;
+                        OnPropertyChanged(nameof( WorkStartTime_Dt));
+                    }
+                }
+            }
+              private DateTime? _WorkEndTime_Dt;
+                /// <summary>
+                /// 结束生产时间
+                /// </summary>
+                 public DateTime? WorkEndTime_Dt
+                {
+                get {return _WorkEndTime_Dt;}
+                set{
+                    if(value!=(_WorkEndTime_Dt))
+                    {
+                        _WorkEndTime_Dt=value;
+                        OnPropertyChanged(nameof( WorkEndTime_Dt));
+                    }
+                }
+            }
+              private string _OrderState_Str;
+                /// <summary>
+                /// 工单状态
+                /// </summary>
+                 public string OrderState_Str
+                {
+                get {return _OrderState_Str;}
+                set{
+                    if(value!=(_OrderState_Str))
+                    {
+                        _OrderState_Str=value;
+                        OnPropertyChanged(nameof( OrderState_Str));
+                    }
+                }
+            }
+              private string _MotorcycleTypeName_Str;
+                /// <summary>
+                /// 生产车型
+                /// </summary>
+                 public string MotorcycleTypeName_Str
+                {
+                get {return _MotorcycleTypeName_Str;}
+                set{
+                    if(value!=(_MotorcycleTypeName_Str))
+                    {
+                        _MotorcycleTypeName_Str=value;
+                        OnPropertyChanged(nameof( MotorcycleTypeName_Str));
+                    }
+                }
+            }
+              private int? _DurationSec_Int;
+                /// <summary>
+                /// 生产总时长
+                /// </summary>
+                 public int? DurationSec_Int
+                {
+                get {return _DurationSec_Int;}
+                set{
+                    if(value!=(_DurationSec_Int))
+                    {
+                        _DurationSec_Int=value;
+                        OnPropertyChanged(nameof( DurationSec_Int));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 创建时间
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 创建者
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 修改时间
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 修改者
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _WorkShopId_Str;
+                /// <summary>
+                /// 车间号
+                /// </summary>
+                 public string WorkShopId_Str
+                {
+                get {return _WorkShopId_Str;}
+                set{
+                    if(value!=(_WorkShopId_Str))
+                    {
+                        _WorkShopId_Str=value;
+                        OnPropertyChanged(nameof( WorkShopId_Str));
+                    }
+                }
+            }
+              private string _Cost_Str;
+                /// <summary>
+                /// 成本
+                /// </summary>
+                 public string Cost_Str
+                {
+                get {return _Cost_Str;}
+                set{
+                    if(value!=(_Cost_Str))
+                    {
+                        _Cost_Str=value;
+                        OnPropertyChanged(nameof( Cost_Str));
+                    }
+                }
+            }
+              private string _ProductionLineId_Str;
+                /// <summary>
+                /// 产线号
+                /// </summary>
+                 public string ProductionLineId_Str
+                {
+                get {return _ProductionLineId_Str;}
+                set{
+                    if(value!=(_ProductionLineId_Str))
+                    {
+                        _ProductionLineId_Str=value;
+                        OnPropertyChanged(nameof( ProductionLineId_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 备注
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class Base_AlarmCode:ObservableObject
+             {
+             	  private string _ModifyUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private int? _OrgID_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? OrgID_Int
+                {
+                get {return _OrgID_Int;}
+                set{
+                    if(value!=(_OrgID_Int))
+                    {
+                        _OrgID_Int=value;
+                        OnPropertyChanged(nameof( OrgID_Int));
+                    }
+                }
+            }
+              private string _AlarmDesc_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmDesc_Str
+                {
+                get {return _AlarmDesc_Str;}
+                set{
+                    if(value!=(_AlarmDesc_Str))
+                    {
+                        _AlarmDesc_Str=value;
+                        OnPropertyChanged(nameof( AlarmDesc_Str));
+                    }
+                }
+            }
+              private string _Help_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Help_Str
+                {
+                get {return _Help_Str;}
+                set{
+                    if(value!=(_Help_Str))
+                    {
+                        _Help_Str=value;
+                        OnPropertyChanged(nameof( Help_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private string _AlarmType_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmType_Str
+                {
+                get {return _AlarmType_Str;}
+                set{
+                    if(value!=(_AlarmType_Str))
+                    {
+                        _AlarmType_Str=value;
+                        OnPropertyChanged(nameof( AlarmType_Str));
+                    }
+                }
+            }
+              private string _AlarmCode_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmCode_Str
+                {
+                get {return _AlarmCode_Str;}
+                set{
+                    if(value!=(_AlarmCode_Str))
+                    {
+                        _AlarmCode_Str=value;
+                        OnPropertyChanged(nameof( AlarmCode_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class Base_AlarmLog:ObservableObject
+             {
+             	  private int? _OrgID_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? OrgID_Int
+                {
+                get {return _OrgID_Int;}
+                set{
+                    if(value!=(_OrgID_Int))
+                    {
+                        _OrgID_Int=value;
+                        OnPropertyChanged(nameof( OrgID_Int));
+                    }
+                }
+            }
+              private string _TagName_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string TagName_Str
+                {
+                get {return _TagName_Str;}
+                set{
+                    if(value!=(_TagName_Str))
+                    {
+                        _TagName_Str=value;
+                        OnPropertyChanged(nameof( TagName_Str));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private string _Duration_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Duration_Str
+                {
+                get {return _Duration_Str;}
+                set{
+                    if(value!=(_Duration_Str))
+                    {
+                        _Duration_Str=value;
+                        OnPropertyChanged(nameof( Duration_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private string _Helper_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Helper_Str
+                {
+                get {return _Helper_Str;}
+                set{
+                    if(value!=(_Helper_Str))
+                    {
+                        _Helper_Str=value;
+                        OnPropertyChanged(nameof( Helper_Str));
+                    }
+                }
+            }
+              private bool? _IsClosed_Bit;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public bool? IsClosed_Bit
+                {
+                get {return _IsClosed_Bit;}
+                set{
+                    if(value!=(_IsClosed_Bit))
+                    {
+                        _IsClosed_Bit=value;
+                        OnPropertyChanged(nameof( IsClosed_Bit));
+                    }
+                }
+            }
+              private DateTime? _RecoverTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? RecoverTime_Dt
+                {
+                get {return _RecoverTime_Dt;}
+                set{
+                    if(value!=(_RecoverTime_Dt))
+                    {
+                        _RecoverTime_Dt=value;
+                        OnPropertyChanged(nameof( RecoverTime_Dt));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private string _Device_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Device_Str
+                {
+                get {return _Device_Str;}
+                set{
+                    if(value!=(_Device_Str))
+                    {
+                        _Device_Str=value;
+                        OnPropertyChanged(nameof( Device_Str));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _AlarmId_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmId_Str
+                {
+                get {return _AlarmId_Str;}
+                set{
+                    if(value!=(_AlarmId_Str))
+                    {
+                        _AlarmId_Str=value;
+                        OnPropertyChanged(nameof( AlarmId_Str));
+                    }
+                }
+            }
+              private string _TriggedTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string TriggedTime_Dt
+                {
+                get {return _TriggedTime_Dt;}
+                set{
+                    if(value!=(_TriggedTime_Dt))
+                    {
+                        _TriggedTime_Dt=value;
+                        OnPropertyChanged(nameof( TriggedTime_Dt));
+                    }
+                }
+            }
+              private string _AlarmCode_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmCode_Str
+                {
+                get {return _AlarmCode_Str;}
+                set{
+                    if(value!=(_AlarmCode_Str))
+                    {
+                        _AlarmCode_Str=value;
+                        OnPropertyChanged(nameof( AlarmCode_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private long? _Duration_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public long? Duration_Int
+                {
+                get {return _Duration_Int;}
+                set{
+                    if(value!=(_Duration_Int))
+                    {
+                        _Duration_Int=value;
+                        OnPropertyChanged(nameof( Duration_Int));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class Base_DeviceStateResume:ObservableObject
+             {
+             	  private int? _OrgID_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? OrgID_Int
+                {
+                get {return _OrgID_Int;}
+                set{
+                    if(value!=(_OrgID_Int))
+                    {
+                        _OrgID_Int=value;
+                        OnPropertyChanged(nameof( OrgID_Int));
+                    }
+                }
+            }
+              private DateTime? _EndTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? EndTime_Dt
+                {
+                get {return _EndTime_Dt;}
+                set{
+                    if(value!=(_EndTime_Dt))
+                    {
+                        _EndTime_Dt=value;
+                        OnPropertyChanged(nameof( EndTime_Dt));
+                    }
+                }
+            }
+              private string _NodeId_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string NodeId_Str
+                {
+                get {return _NodeId_Str;}
+                set{
+                    if(value!=(_NodeId_Str))
+                    {
+                        _NodeId_Str=value;
+                        OnPropertyChanged(nameof( NodeId_Str));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private string _ModifyUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _Device_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Device_Str
+                {
+                get {return _Device_Str;}
+                set{
+                    if(value!=(_Device_Str))
+                    {
+                        _Device_Str=value;
+                        OnPropertyChanged(nameof( Device_Str));
+                    }
+                }
+            }
+              private DateTime? _StartTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? StartTime_Dt
+                {
+                get {return _StartTime_Dt;}
+                set{
+                    if(value!=(_StartTime_Dt))
+                    {
+                        _StartTime_Dt=value;
+                        OnPropertyChanged(nameof( StartTime_Dt));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+              private int? _Duration_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? Duration_Int
+                {
+                get {return _Duration_Int;}
+                set{
+                    if(value!=(_Duration_Int))
+                    {
+                        _Duration_Int=value;
+                        OnPropertyChanged(nameof( Duration_Int));
+                    }
+                }
+            }
+              private string _StateId_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string StateId_Str
+                {
+                get {return _StateId_Str;}
+                set{
+                    if(value!=(_StateId_Str))
+                    {
+                        _StateId_Str=value;
+                        OnPropertyChanged(nameof( StateId_Str));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private int? _StateCode_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? StateCode_Int
+                {
+                get {return _StateCode_Int;}
+                set{
+                    if(value!=(_StateCode_Int))
+                    {
+                        _StateCode_Int=value;
+                        OnPropertyChanged(nameof( StateCode_Int));
+                    }
+                }
+            }
+              private string _Duration_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Duration_Str
+                {
+                get {return _Duration_Str;}
+                set{
+                    if(value!=(_Duration_Str))
+                    {
+                        _Duration_Str=value;
+                        OnPropertyChanged(nameof( Duration_Str));
+                    }
+                }
+            }
+            
+             }
+             /// <summary> 
+             /// 
+             /// </summary>
+             public class V_Base_AlarmLog:ObservableObject
+             {
+             	  private string _ModifyUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string ModifyUser_Str
+                {
+                get {return _ModifyUser_Str;}
+                set{
+                    if(value!=(_ModifyUser_Str))
+                    {
+                        _ModifyUser_Str=value;
+                        OnPropertyChanged(nameof( ModifyUser_Str));
+                    }
+                }
+            }
+              private string _CreateUser_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string CreateUser_Str
+                {
+                get {return _CreateUser_Str;}
+                set{
+                    if(value!=(_CreateUser_Str))
+                    {
+                        _CreateUser_Str=value;
+                        OnPropertyChanged(nameof( CreateUser_Str));
+                    }
+                }
+            }
+              private int? _OrgID_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int? OrgID_Int
+                {
+                get {return _OrgID_Int;}
+                set{
+                    if(value!=(_OrgID_Int))
+                    {
+                        _OrgID_Int=value;
+                        OnPropertyChanged(nameof( OrgID_Int));
+                    }
+                }
+            }
+              private string _Remark_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Remark_Str
+                {
+                get {return _Remark_Str;}
+                set{
+                    if(value!=(_Remark_Str))
+                    {
+                        _Remark_Str=value;
+                        OnPropertyChanged(nameof( Remark_Str));
+                    }
+                }
+            }
+              private string _AlarmDesc_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmDesc_Str
+                {
+                get {return _AlarmDesc_Str;}
+                set{
+                    if(value!=(_AlarmDesc_Str))
+                    {
+                        _AlarmDesc_Str=value;
+                        OnPropertyChanged(nameof( AlarmDesc_Str));
+                    }
+                }
+            }
+              private string _Help_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Help_Str
+                {
+                get {return _Help_Str;}
+                set{
+                    if(value!=(_Help_Str))
+                    {
+                        _Help_Str=value;
+                        OnPropertyChanged(nameof( Help_Str));
+                    }
+                }
+            }
+              private string _TriggedTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string TriggedTime_Dt
+                {
+                get {return _TriggedTime_Dt;}
+                set{
+                    if(value!=(_TriggedTime_Dt))
+                    {
+                        _TriggedTime_Dt=value;
+                        OnPropertyChanged(nameof( TriggedTime_Dt));
+                    }
+                }
+            }
+              private string _Duration_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Duration_Str
+                {
+                get {return _Duration_Str;}
+                set{
+                    if(value!=(_Duration_Str))
+                    {
+                        _Duration_Str=value;
+                        OnPropertyChanged(nameof( Duration_Str));
+                    }
+                }
+            }
+              private string _AlarmCode_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmCode_Str
+                {
+                get {return _AlarmCode_Str;}
+                set{
+                    if(value!=(_AlarmCode_Str))
+                    {
+                        _AlarmCode_Str=value;
+                        OnPropertyChanged(nameof( AlarmCode_Str));
+                    }
+                }
+            }
+              private string _AlarmId_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmId_Str
+                {
+                get {return _AlarmId_Str;}
+                set{
+                    if(value!=(_AlarmId_Str))
+                    {
+                        _AlarmId_Str=value;
+                        OnPropertyChanged(nameof( AlarmId_Str));
+                    }
+                }
+            }
+              private string _AlarmType_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string AlarmType_Str
+                {
+                get {return _AlarmType_Str;}
+                set{
+                    if(value!=(_AlarmType_Str))
+                    {
+                        _AlarmType_Str=value;
+                        OnPropertyChanged(nameof( AlarmType_Str));
+                    }
+                }
+            }
+              private int _ID;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public int ID
+                {
+                get {return _ID;}
+                set{
+                    if(value!=(_ID))
+                    {
+                        _ID=value;
+                        OnPropertyChanged(nameof( ID));
+                    }
+                }
+            }
+              private DateTime? _CreateTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? CreateTime_Dt
+                {
+                get {return _CreateTime_Dt;}
+                set{
+                    if(value!=(_CreateTime_Dt))
+                    {
+                        _CreateTime_Dt=value;
+                        OnPropertyChanged(nameof( CreateTime_Dt));
+                    }
+                }
+            }
+              private long? _Duration_Int;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public long? Duration_Int
+                {
+                get {return _Duration_Int;}
+                set{
+                    if(value!=(_Duration_Int))
+                    {
+                        _Duration_Int=value;
+                        OnPropertyChanged(nameof( Duration_Int));
+                    }
+                }
+            }
+              private string _Device_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Device_Str
+                {
+                get {return _Device_Str;}
+                set{
+                    if(value!=(_Device_Str))
+                    {
+                        _Device_Str=value;
+                        OnPropertyChanged(nameof( Device_Str));
+                    }
+                }
+            }
+              private string _TagName_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string TagName_Str
+                {
+                get {return _TagName_Str;}
+                set{
+                    if(value!=(_TagName_Str))
+                    {
+                        _TagName_Str=value;
+                        OnPropertyChanged(nameof( TagName_Str));
+                    }
+                }
+            }
+              private bool? _IsClosed_Bit;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public bool? IsClosed_Bit
+                {
+                get {return _IsClosed_Bit;}
+                set{
+                    if(value!=(_IsClosed_Bit))
+                    {
+                        _IsClosed_Bit=value;
+                        OnPropertyChanged(nameof( IsClosed_Bit));
+                    }
+                }
+            }
+              private DateTime? _RecoverTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? RecoverTime_Dt
+                {
+                get {return _RecoverTime_Dt;}
+                set{
+                    if(value!=(_RecoverTime_Dt))
+                    {
+                        _RecoverTime_Dt=value;
+                        OnPropertyChanged(nameof( RecoverTime_Dt));
+                    }
+                }
+            }
+              private string _Helper_Str;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public string Helper_Str
+                {
+                get {return _Helper_Str;}
+                set{
+                    if(value!=(_Helper_Str))
+                    {
+                        _Helper_Str=value;
+                        OnPropertyChanged(nameof( Helper_Str));
+                    }
+                }
+            }
+              private DateTime? _ModifyTime_Dt;
+                /// <summary>
+                /// 
+                /// </summary>
+                 public DateTime? ModifyTime_Dt
+                {
+                get {return _ModifyTime_Dt;}
+                set{
+                    if(value!=(_ModifyTime_Dt))
+                    {
+                        _ModifyTime_Dt=value;
+                        OnPropertyChanged(nameof( ModifyTime_Dt));
+                    }
+                }
+            }
+            
+             }
+             
+            
+}
+
+namespace DIL
+{
+    public class DILDB:SQLDB
+    {
+    #region Auto Declare
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLin_DeviceDuration{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_DeviceManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_DeviceMap{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_DeviceTypeList{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ExceptionRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_MotorcycleTypeManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_MotorcycleTypeSeriesList{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_NoticeManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_OperationPositionManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ProductionLineManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ProductionLineStateRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ProductionRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ScanRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_TaskManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable Base_AlarmCode{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable Base_AlarmLog{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable Base_DeviceStateResume{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable V_Base_AlarmLog{get;private set;}
+public DILDB(string server, string service, string username, string password):base(server, service, username, password)
+{
+APP_TaiLin_DeviceDuration=CreateTable("ID","APP_TaiLin_DeviceDuration");
+APP_TaiLing_DeviceManagement=CreateTable("ID","APP_TaiLing_DeviceManagement");
+APP_TaiLing_DeviceMap=CreateTable("ID","APP_TaiLing_DeviceMap");
+APP_TaiLing_DeviceTypeList=CreateTable("ID","APP_TaiLing_DeviceTypeList");
+APP_TaiLing_ExceptionRecord=CreateTable("ID","APP_TaiLing_ExceptionRecord");
+APP_TaiLing_MotorcycleTypeManagement=CreateTable("ID","APP_TaiLing_MotorcycleTypeManagement");
+APP_TaiLing_MotorcycleTypeSeriesList=CreateTable("ID","APP_TaiLing_MotorcycleTypeSeriesList");
+APP_TaiLing_NoticeManagement=CreateTable("ID","APP_TaiLing_NoticeManagement");
+APP_TaiLing_OperationPositionManagement=CreateTable("ID","APP_TaiLing_OperationPositionManagement");
+APP_TaiLing_ProductionLineManagement=CreateTable("ID","APP_TaiLing_ProductionLineManagement");
+APP_TaiLing_ProductionLineStateRecord=CreateTable("ID","APP_TaiLing_ProductionLineStateRecord");
+APP_TaiLing_ProductionRecord=CreateTable("ID","APP_TaiLing_ProductionRecord");
+APP_TaiLing_ScanRecord=CreateTable("ID","APP_TaiLing_ScanRecord");
+APP_TaiLing_TaskManagement=CreateTable("ID","APP_TaiLing_TaskManagement");
+Base_AlarmCode=CreateTable("ID","Base_AlarmCode");
+Base_AlarmLog=CreateTable("ID","Base_AlarmLog");
+Base_DeviceStateResume=CreateTable("ID","Base_DeviceStateResume");
+V_Base_AlarmLog=CreateTable("ID","V_Base_AlarmLog");
+}
+#endregion
+}
+#region V1版本数据库架构
+public class DILDBV1:BaseDB
+{
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLin_DeviceDuration{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_DeviceManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_DeviceMap{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_DeviceTypeList{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ExceptionRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_MotorcycleTypeManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_MotorcycleTypeSeriesList{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_NoticeManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_OperationPositionManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ProductionLineManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ProductionLineStateRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ProductionRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_ScanRecord{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable APP_TaiLing_TaskManagement{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable Base_AlarmCode{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable Base_AlarmLog{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable Base_DeviceStateResume{get;private set;}
+ /// <summary> 
+ ///  
+ /// </summary> 
+public BaseTable V_Base_AlarmLog{get;private set;}
+private BaseDB innerDb = null;
+public DILDBV1(BaseDB db )
+{
+                innerDb = db;
+                SO = db.SO;
+                DatabaseType = db.DatabaseType;
+                DatabaseInfo = db.DatabaseInfo;
+                ServerName = db.ServerName;
+APP_TaiLin_DeviceDuration=innerDb.CreateTable("ID","APP_TaiLin_DeviceDuration");
+APP_TaiLing_DeviceManagement=innerDb.CreateTable("ID","APP_TaiLing_DeviceManagement");
+APP_TaiLing_DeviceMap=innerDb.CreateTable("ID","APP_TaiLing_DeviceMap");
+APP_TaiLing_DeviceTypeList=innerDb.CreateTable("ID","APP_TaiLing_DeviceTypeList");
+APP_TaiLing_ExceptionRecord=innerDb.CreateTable("ID","APP_TaiLing_ExceptionRecord");
+APP_TaiLing_MotorcycleTypeManagement=innerDb.CreateTable("ID","APP_TaiLing_MotorcycleTypeManagement");
+APP_TaiLing_MotorcycleTypeSeriesList=innerDb.CreateTable("ID","APP_TaiLing_MotorcycleTypeSeriesList");
+APP_TaiLing_NoticeManagement=innerDb.CreateTable("ID","APP_TaiLing_NoticeManagement");
+APP_TaiLing_OperationPositionManagement=innerDb.CreateTable("ID","APP_TaiLing_OperationPositionManagement");
+APP_TaiLing_ProductionLineManagement=innerDb.CreateTable("ID","APP_TaiLing_ProductionLineManagement");
+APP_TaiLing_ProductionLineStateRecord=innerDb.CreateTable("ID","APP_TaiLing_ProductionLineStateRecord");
+APP_TaiLing_ProductionRecord=innerDb.CreateTable("ID","APP_TaiLing_ProductionRecord");
+APP_TaiLing_ScanRecord=innerDb.CreateTable("ID","APP_TaiLing_ScanRecord");
+APP_TaiLing_TaskManagement=innerDb.CreateTable("ID","APP_TaiLing_TaskManagement");
+Base_AlarmCode=innerDb.CreateTable("ID","Base_AlarmCode");
+Base_AlarmLog=innerDb.CreateTable("ID","Base_AlarmLog");
+Base_DeviceStateResume=innerDb.CreateTable("ID","Base_DeviceStateResume");
+V_Base_AlarmLog=innerDb.CreateTable("ID","V_Base_AlarmLog");
+}
+
+            public override BaseTable CreateTable(string tableName)
+            {
+                return innerDb.CreateTable(tableName);
+            }
+
+            public override BaseTable CreateTable(string id, string tableName)
+            {
+                return innerDb.CreateTable(id, tableName);
+            }
+
+            protected override string GetCnn()
+            {
+                return innerDb.ConnectionString;
+            }
+
+            public override void Init(string server, string database, string username, string password)
+            {
+                throw new NotImplementedException();
+            }
+
+            public override DateTime? GetDate()
+            {
+                 return  innerDb.GetDate();
+            }
+
+            public override List<TableInfo> GetTables()
+            {
+                return innerDb.GetTables();
+            }
+
+            public override List<ColumnInfo> GetTableColumns()
+            {
+               return innerDb.GetTableColumns();
+            }
+
+            public override List<TableInfo> GetViews()
+            {
+                return innerDb.GetViews();
+            }
+
+            public override List<ColumnInfo> GetViewColumns()
+            {
+                return innerDb.GetViewColumns();
+            }
+
+            
+
+            public override ExecuteResult UpdateTableComment(string tableName, string comment)
+            {
+                return innerDb.UpdateTableComment(tableName, comment);
+            }
+
+            public override ExecuteResult UpdateColumnComment(string tableName, string columnName, string comment)
+            {
+                return innerDb.UpdateColumnComment(tableName,columnName, comment);
+            }
+#endregion
+
+    }
+}
+}

+ 1 - 1
SCADA_DAQ.DAL/SqlServer.tt

@@ -23,7 +23,7 @@
     string outPath=Host.ResolveAssemblyReference("$(TargetDir)");
 //    string dataPath=@$"{projectPath}\SCADA_DAQ\bin\XiDiSaoMa\net47\Data";
 //    IDB db=new SQLiteDB(dataPath,"QwPlatform.db");
-IDB db=new SQLDB(@"172.28.0.200","TL_DB","sa","M+123456");
+IDB db=new SQLDB(@"10.255.254.250","TL_DB","sa","M+123456");
 #>
 using System;
 using System.Collections.Generic;