焊口标注

This commit is contained in:
李超 2026-04-18 19:30:10 +08:00
parent 14720f7196
commit c4348c467b
13 changed files with 1833 additions and 157 deletions

View File

@ -1156,6 +1156,7 @@
<Content Include="HJGL\HotProessManage\HotProessTrustItemEdit.aspx" /> <Content Include="HJGL\HotProessManage\HotProessTrustItemEdit.aspx" />
<Content Include="HJGL\HotProessManage\RepairHotProessTrust.aspx" /> <Content Include="HJGL\HotProessManage\RepairHotProessTrust.aspx" />
<Content Include="HJGL\HotProessManage\RepairHotProessTrustEdit.aspx" /> <Content Include="HJGL\HotProessManage\RepairHotProessTrustEdit.aspx" />
<Content Include="HJGL\JoinMarking\DataInEdit.aspx" />
<Content Include="HJGL\JoinMarking\JoinMarking.aspx" /> <Content Include="HJGL\JoinMarking\JoinMarking.aspx" />
<Content Include="HJGL\JoinMarking\JointShow.aspx" /> <Content Include="HJGL\JoinMarking\JointShow.aspx" />
<Content Include="HJGL\JoinMarking\PDFMarking.aspx" /> <Content Include="HJGL\JoinMarking\PDFMarking.aspx" />
@ -5884,6 +5885,13 @@
<Compile Include="HJGL\HotProessManage\RepairHotProessTrustEdit.aspx.designer.cs"> <Compile Include="HJGL\HotProessManage\RepairHotProessTrustEdit.aspx.designer.cs">
<DependentUpon>RepairHotProessTrustEdit.aspx</DependentUpon> <DependentUpon>RepairHotProessTrustEdit.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="HJGL\JoinMarking\DataInEdit.aspx.cs">
<DependentUpon>DataInEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="HJGL\JoinMarking\DataInEdit.aspx.designer.cs">
<DependentUpon>DataInEdit.aspx</DependentUpon>
</Compile>
<Compile Include="HJGL\JoinMarking\JoinMarking.aspx.cs"> <Compile Include="HJGL\JoinMarking\JoinMarking.aspx.cs">
<DependentUpon>JoinMarking.aspx</DependentUpon> <DependentUpon>JoinMarking.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>

View File

@ -2,7 +2,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />
<IISExpressAnonymousAuthentication /> <IISExpressAnonymousAuthentication />

View File

@ -0,0 +1,158 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataInEdit.aspx.cs" Inherits="FineUIPro.Web.HJGL.JoinMarking.DataInEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>导入信息维护</title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Right">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
<f:CheckBox ID="ckAll" runat="server" Checked="true" Text="是否批量修改"></f:CheckBox>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="提交" ValidateForms="SimpleForm1,SimpleForm2,SimpleForm3"
OnClick="btnSave_Click" >
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Rows>
<f:FormRow>
<Items>
<f:TextArea runat="server" Label="错误信息" ID="lbErrCout" Readonly="true" Height="50px" LabelWidth="120px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtValue1" Label="单位代码" ShowRedStar="true" Required="true" runat="server" FocusOnPageLoad="true" MaxLength="100" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue2" Label="工区编号" ShowRedStar="true" Required="true" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue3" Label="管线代号" ShowRedStar="true" Required="true" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue4" Label="焊口代号" ShowRedStar="true" Required="true" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtValue5" Label="材质1代号" ShowRedStar="true" Required="true" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue7" Label="探伤比例代号" ShowRedStar="true" Required="true" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue8" Label="焊缝类型代号" ShowRedStar="true" Required="true" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue13" Label="壁厚" ShowRedStar="true" Required="true" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:NumberBox ID="txtValue15" Label="试验压力" runat="server" NoNegative="true" DecimalPrecision="4" LabelWidth="120px">
</f:NumberBox>
<f:TextBox ID="txtValue18" Label="介质代号" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue19" Label="单线图号" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
<f:NumberBox ID="txtValue20" Label="设计压力" runat="server" NoNegative="true" DecimalPrecision="4" LabelWidth="120px">
</f:NumberBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:NumberBox ID="txtValue21" Label="设计温度" runat="server" NoNegative="true" DecimalPrecision="4" LabelWidth="120px">
</f:NumberBox>
<f:TextBox ID="txtValue28" Label="所属管段" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue23" Label="管线等级代号" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue24" Label="组件一代号" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="SimpleForm2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtValue9" Label="焊接区域" ShowRedStar="true" Required="true" runat="server" MaxLength="2" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue10" Label="焊口属性" ShowRedStar="true" Required="true" runat="server" MaxLength="2" LabelWidth="120px">
</f:TextBox>
<f:NumberBox ID="txtValue11" Label="寸径数" ShowRedStar="true" Required="true" runat="server" NoNegative="true" DecimalPrecision="4" LabelWidth="120px">
</f:NumberBox>
<f:TextBox ID="txtValue12" Label="规格mm)" ShowRedStar="true" Required="true" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtValue6" Label="材质2代号" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue14" Label="焊接方法代码" ShowRedStar="true" Required="true" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue16" Label="焊条代号" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue17" Label="焊丝代号" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtValue22" Label="坡口代号" runat="server" MaxLength="20" ShowRedStar="true" Required="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue25" Label="组件二代号" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue26" Label="炉批号一" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue27" Label="炉批号二" runat="server" MaxLength="50" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:NumberBox ID="txtValue29" Label="预热温度" runat="server" NoNegative="true" DecimalPrecision="4" LabelWidth="120px">
</f:NumberBox>
<f:TextBox ID="txtValue30" Label="是否需热处理" runat="server" MaxLength="1" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtValue31" Label="焊接位置" runat="server" MaxLength="2" ShowRedStar="true" Required="true" LabelWidth="120px">
</f:TextBox>
<f:NumberBox ID="txtValue32" Label="外径" runat="server" NoNegative="true" DecimalPrecision="4" LabelWidth="120px">
</f:NumberBox>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="25% 75%">
<Items>
<f:TextBox ID="txtValue33" Label="硬度检测比例" runat="server" MaxLength="20" LabelWidth="120px">
</f:TextBox>
<f:Label runat="server" ID="labelTemp"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="SimpleForm3" ShowBorder="false" ShowHeader="false" AutoScroll="true" Hidden="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:NumberBox ID="txtValue34" Label="组件数量" runat="server" MaxLength="20" LabelWidth="120px" NoNegative="true">
</f:NumberBox>
<f:NumberBox ID="txtValue35" Label="公称直径" runat="server" MaxLength="20" LabelWidth="120px">
</f:NumberBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</form>
<script type="text/javascript">
</script>
</body>
</html>

View File

@ -0,0 +1,570 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using BLL;
namespace FineUIPro.Web.HJGL.JoinMarking
{
public partial class DataInEdit : PageBase
{
#region
/// <summary>
/// 临时表主键
/// </summary>
public string TempId
{
get
{
return (string)ViewState["TempId"];
}
set
{
ViewState["TempId"] = value;
}
}
#endregion
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.TempId = Request.Params["TempId"];
var dataInTemp = BLL.DataInTempService.GetDataInTempByTempId(this.TempId);
if (dataInTemp != null)
{
this.txtValue1.Text = dataInTemp.Value1;
this.txtValue2.Text = dataInTemp.Value2;
this.txtValue3.Text = dataInTemp.Value3;
this.txtValue4.Text = dataInTemp.Value4;
this.txtValue5.Text = dataInTemp.Value5;
this.txtValue6.Text = dataInTemp.Value6;
this.txtValue7.Text = dataInTemp.Value7;
this.txtValue8.Text = dataInTemp.Value8;
this.txtValue9.Text = dataInTemp.Value9;
this.txtValue10.Text = dataInTemp.Value10;
this.txtValue11.Text = dataInTemp.Value11;
this.txtValue12.Text = dataInTemp.Value12;
this.txtValue13.Text = dataInTemp.Value13;
this.txtValue14.Text = dataInTemp.Value14;
this.txtValue15.Text = dataInTemp.Value15;
this.txtValue16.Text = dataInTemp.Value16;
this.txtValue17.Text = dataInTemp.Value17;
this.txtValue18.Text = dataInTemp.Value18;
this.txtValue19.Text = dataInTemp.Value19;
this.txtValue20.Text = dataInTemp.Value20;
this.txtValue21.Text = dataInTemp.Value21;
this.txtValue22.Text = dataInTemp.Value22;
this.txtValue23.Text = dataInTemp.Value23;
this.txtValue24.Text = dataInTemp.Value24;
this.txtValue25.Text = dataInTemp.Value25;
this.txtValue26.Text = dataInTemp.Value26;
this.txtValue27.Text = dataInTemp.Value27;
this.txtValue28.Text = dataInTemp.Value28;
this.txtValue29.Text = dataInTemp.Value29;
this.txtValue30.Text = dataInTemp.Value30;
this.txtValue31.Text = dataInTemp.Value31;
this.txtValue32.Text = dataInTemp.Value32;
this.txtValue33.Text = dataInTemp.Value33;
this.txtValue34.Text = dataInTemp.Value34;
this.txtValue35.Text = dataInTemp.Value35;
this.lbErrCout.Text = dataInTemp.ToopValue;
if (dataInTemp.Type == "1")
{
this.SimpleForm2.Hidden = true;
this.SimpleForm3.Hidden = false;
}
else
{
this.SimpleForm2.Hidden = false;
this.SimpleForm3.Hidden = true;
}
}
}
}
#endregion
#region
/// <summary>
/// 提交按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
var dataInTemp = BLL.DataInTempService.GetDataInTempByTempId(this.TempId);
if (this.ckAll.Checked)
{
var allDataInTemp = from x in Funs.DB.HJGL_Sys_DataInTemp where x.ProjectId == this.CurrUser.LoginProjectId && x.UserId == this.CurrUser.UserId select x;
if (dataInTemp.Value1 != this.txtValue1.Text.Trim())
{
var tempValue1 = allDataInTemp.Where(x => x.Value1 == dataInTemp.Value1 || (x.Value1 == null && dataInTemp.Value1 == null));
if (tempValue1 != null)
{
foreach (var item in tempValue1)
{
item.Value1 = this.txtValue1.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value2 != this.txtValue2.Text.Trim())
{
var tempValue2 = allDataInTemp.Where(x => x.Value2 == dataInTemp.Value2 || (x.Value2 == null && dataInTemp.Value2 == null));
if (tempValue2 != null)
{
foreach (var item in tempValue2)
{
item.Value2 = this.txtValue2.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value3 != this.txtValue3.Text.Trim())
{
var tempValue3 = allDataInTemp.Where(x => x.Value3 == dataInTemp.Value3 || (x.Value3 == null && dataInTemp.Value3 == null));
if (tempValue3 != null)
{
foreach (var item in tempValue3)
{
item.Value3 = this.txtValue3.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value5 != this.txtValue5.Text.Trim())
{
var tempValue5 = allDataInTemp.Where(x => x.Value5 == dataInTemp.Value5 || (x.Value5 == null && dataInTemp.Value5 == null));
if (tempValue5 != null)
{
foreach (var item in tempValue5)
{
item.Value5 = this.txtValue5.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value6 != this.txtValue6.Text.Trim())
{
var tempValue6 = allDataInTemp.Where(x => x.Value6 == dataInTemp.Value6 || (x.Value6 == null && dataInTemp.Value6 == null));
if (tempValue6 != null)
{
foreach (var item in tempValue6)
{
item.Value6 = this.txtValue6.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value7 != this.txtValue7.Text.Trim())
{
var tempValue7 = allDataInTemp.Where(x => x.Value7 == dataInTemp.Value7 || (x.Value7 == null && dataInTemp.Value7 == null));
if (tempValue7 != null)
{
foreach (var item in tempValue7)
{
item.Value7 = this.txtValue7.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value8 != this.txtValue8.Text.Trim())
{
var tempValue8 = allDataInTemp.Where(x => x.Value8 == dataInTemp.Value8 || (x.Value8 == null && dataInTemp.Value8 == null));
if (tempValue8 != null)
{
foreach (var item in tempValue8)
{
item.Value8 = this.txtValue8.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value9 != this.txtValue9.Text.Trim())
{
var tempValue9 = allDataInTemp.Where(x => x.Value9 == dataInTemp.Value9 || (x.Value9 == null && dataInTemp.Value9 == null));
if (tempValue9 != null)
{
foreach (var item in tempValue9)
{
item.Value9 = this.txtValue9.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value10 != this.txtValue10.Text.Trim())
{
var tempValue10 = allDataInTemp.Where(x => x.Value10 == dataInTemp.Value10 || (x.Value10 == null && dataInTemp.Value10 == null));
if (tempValue10 != null)
{
foreach (var item in tempValue10)
{
item.Value10 = this.txtValue10.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value11 != this.txtValue11.Text.Trim())
{
var tempValue11 = allDataInTemp.Where(x => x.Value11 == dataInTemp.Value11 || (x.Value11 == null && dataInTemp.Value11 == null));
if (tempValue11 != null)
{
foreach (var item in tempValue11)
{
item.Value11 = this.txtValue11.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value12 != this.txtValue12.Text.Trim())
{
var tempValue12 = allDataInTemp.Where(x => x.Value12 == dataInTemp.Value12 || (x.Value12 == null && dataInTemp.Value12 == null));
if (tempValue12 != null)
{
foreach (var item in tempValue12)
{
item.Value12 = this.txtValue12.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value13 != this.txtValue13.Text.Trim())
{
var tempValue13 = allDataInTemp.Where(x => x.Value13 == dataInTemp.Value13 || (x.Value13 == null && dataInTemp.Value13 == null));
if (tempValue13 != null)
{
foreach (var item in tempValue13)
{
item.Value13 = this.txtValue13.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value14 != this.txtValue14.Text.Trim())
{
var tempValue14 = allDataInTemp.Where(x => x.Value14 == dataInTemp.Value14 || (x.Value14 == null && dataInTemp.Value14 == null));
if (tempValue14 != null)
{
foreach (var item in tempValue14)
{
item.Value14 = this.txtValue14.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value15 != this.txtValue15.Text.Trim())
{
var tempValue15 = allDataInTemp.Where(x => x.Value15 == dataInTemp.Value15 || (x.Value15 == null && dataInTemp.Value15 == null));
if (tempValue15 != null)
{
foreach (var item in tempValue15)
{
item.Value15 = this.txtValue15.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value16 != this.txtValue16.Text.Trim())
{
var tempValue16 = allDataInTemp.Where(x => x.Value16 == dataInTemp.Value16 || (x.Value16 == null && dataInTemp.Value16 == null));
if (tempValue16 != null)
{
foreach (var item in tempValue16)
{
item.Value16 = this.txtValue16.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value17 != this.txtValue17.Text.Trim())
{
var tempValue17 = allDataInTemp.Where(x => x.Value17 == dataInTemp.Value17 || (x.Value17 == null && dataInTemp.Value17 == null));
if (tempValue17 != null)
{
foreach (var item in tempValue17)
{
item.Value17 = this.txtValue17.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value18 != this.txtValue18.Text.Trim())
{
var tempValue18 = allDataInTemp.Where(x => x.Value18 == dataInTemp.Value18 || (x.Value18 == null && dataInTemp.Value18 == null));
if (tempValue18 != null)
{
foreach (var item in tempValue18)
{
item.Value18 = this.txtValue18.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value19 != this.txtValue19.Text.Trim())
{
var tempValue19 = allDataInTemp.Where(x => x.Value19 == dataInTemp.Value19 || (x.Value19 == null && dataInTemp.Value19 == null));
if (tempValue19 != null)
{
foreach (var item in tempValue19)
{
item.Value19 = this.txtValue19.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value20 != this.txtValue20.Text.Trim())
{
var tempValue20 = allDataInTemp.Where(x => x.Value20 == dataInTemp.Value20 || (x.Value20 == null && dataInTemp.Value20 == null));
if (tempValue20 != null)
{
foreach (var item in tempValue20)
{
item.Value20 = this.txtValue20.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value21 != this.txtValue21.Text.Trim())
{
var tempValue21 = allDataInTemp.Where(x => x.Value21 == dataInTemp.Value21 || (x.Value21 == null && dataInTemp.Value21 == null));
if (tempValue21 != null)
{
foreach (var item in tempValue21)
{
item.Value21 = this.txtValue21.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value22 != this.txtValue22.Text.Trim())
{
var tempValue22 = allDataInTemp.Where(x => x.Value22 == dataInTemp.Value22 || (x.Value22 == null && dataInTemp.Value22 == null));
if (tempValue22 != null)
{
foreach (var item in tempValue22)
{
item.Value22 = this.txtValue22.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value23 != this.txtValue23.Text.Trim())
{
var tempValue23 = allDataInTemp.Where(x => x.Value23 == dataInTemp.Value23 || (x.Value23 == null && dataInTemp.Value23 == null));
if (tempValue23 != null)
{
foreach (var item in tempValue23)
{
item.Value23 = this.txtValue23.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value24 != this.txtValue24.Text.Trim())
{
var tempValue24 = allDataInTemp.Where(x => x.Value24 == dataInTemp.Value24 || (x.Value24 == null && dataInTemp.Value24 == null));
if (tempValue24 != null)
{
foreach (var item in tempValue24)
{
item.Value24 = this.txtValue24.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value25 != this.txtValue25.Text.Trim())
{
var tempValue25 = allDataInTemp.Where(x => x.Value25 == dataInTemp.Value25 || (x.Value25 == null && dataInTemp.Value25 == null));
if (tempValue25 != null)
{
foreach (var item in tempValue25)
{
item.Value25 = this.txtValue25.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value26 != this.txtValue26.Text.Trim())
{
var tempValue26 = allDataInTemp.Where(x => x.Value26 == dataInTemp.Value26 || (x.Value26 == null && dataInTemp.Value26 == null));
if (tempValue26 != null)
{
foreach (var item in tempValue26)
{
item.Value26 = this.txtValue26.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value27 != this.txtValue27.Text.Trim())
{
var tempValue27 = allDataInTemp.Where(x => x.Value27 == dataInTemp.Value27 || (x.Value27 == null && dataInTemp.Value27 == null));
if (tempValue27 != null)
{
foreach (var item in tempValue27)
{
item.Value27 = this.txtValue27.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value28 != this.txtValue28.Text.Trim())
{
var tempValue28 = allDataInTemp.Where(x => x.Value28 == dataInTemp.Value28 || (x.Value28 == null && dataInTemp.Value28 == null));
if (tempValue28 != null)
{
foreach (var item in tempValue28)
{
item.Value28 = this.txtValue28.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value29 != this.txtValue29.Text.Trim())
{
var tempValue29 = allDataInTemp.Where(x => x.Value29 == dataInTemp.Value29 || (x.Value29 == null && dataInTemp.Value29 == null));
if (tempValue29 != null)
{
foreach (var item in tempValue29)
{
item.Value29 = this.txtValue29.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value30 != this.txtValue30.Text.Trim())
{
var tempValue30 = allDataInTemp.Where(x => x.Value30 == dataInTemp.Value30 || (x.Value30 == null && dataInTemp.Value30 == null));
if (tempValue30 != null)
{
foreach (var item in tempValue30)
{
item.Value30 = this.txtValue30.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value31 != this.txtValue31.Text.Trim())
{
var tempValue31 = allDataInTemp.Where(x => x.Value31 == dataInTemp.Value31 || (x.Value31 == null && dataInTemp.Value31 == null));
if (tempValue31 != null)
{
foreach (var item in tempValue31)
{
item.Value31 = this.txtValue31.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value32 != this.txtValue32.Text.Trim())
{
var tempValue32 = allDataInTemp.Where(x => x.Value32 == dataInTemp.Value32 || (x.Value32 == null && dataInTemp.Value32 == null));
if (tempValue32 != null)
{
foreach (var item in tempValue32)
{
item.Value32 = this.txtValue32.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value33 != this.txtValue33.Text.Trim())
{
var tempValue33 = allDataInTemp.Where(x => x.Value33 == dataInTemp.Value33 || (x.Value33 == null && dataInTemp.Value33 == null));
if (tempValue33 != null)
{
foreach (var item in tempValue33)
{
item.Value33 = this.txtValue33.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value34 != this.txtValue34.Text.Trim())
{
var tempValue34 = allDataInTemp.Where(x => x.Value34 == dataInTemp.Value34 || (x.Value34 == null && dataInTemp.Value34 == null));
if (tempValue34 != null)
{
foreach (var item in tempValue34)
{
item.Value34 = this.txtValue34.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
if (dataInTemp.Value35 != this.txtValue35.Text.Trim())
{
var tempValue35 = allDataInTemp.Where(x => x.Value35 == dataInTemp.Value35 || (x.Value35 == null && dataInTemp.Value35 == null));
if (tempValue35 != null)
{
foreach (var item in tempValue35)
{
item.Value35 = this.txtValue35.Text.Trim();
Funs.DB.SubmitChanges();
}
}
}
}
else
{
Model.HJGL_Sys_DataInTemp newDataInTemp = new Model.HJGL_Sys_DataInTemp();
newDataInTemp.ProjectId = this.CurrUser.LoginProjectId;
newDataInTemp.UserId = this.CurrUser.UserId;
newDataInTemp.Time = System.DateTime.Now;
newDataInTemp.Value1 = this.txtValue1.Text.Trim();
newDataInTemp.Value2 = this.txtValue2.Text.Trim();
newDataInTemp.Value3 = this.txtValue3.Text.Trim();
newDataInTemp.Value4 = this.txtValue4.Text.Trim();
newDataInTemp.Value5 = this.txtValue5.Text.Trim();
newDataInTemp.Value6 = this.txtValue6.Text.Trim();
newDataInTemp.Value7 = this.txtValue7.Text.Trim();
newDataInTemp.Value8 = this.txtValue8.Text.Trim();
newDataInTemp.Value9 = this.txtValue9.Text.Trim();
newDataInTemp.Value10 = this.txtValue10.Text.Trim();
newDataInTemp.Value11 = this.txtValue11.Text.Trim();
newDataInTemp.Value12 = this.txtValue12.Text.Trim();
newDataInTemp.Value13 = this.txtValue13.Text.Trim();
newDataInTemp.Value14 = this.txtValue14.Text.Trim();
newDataInTemp.Value15 = this.txtValue15.Text.Trim();
newDataInTemp.Value16 = this.txtValue16.Text.Trim();
newDataInTemp.Value17 = this.txtValue17.Text.Trim();
newDataInTemp.Value18 = this.txtValue18.Text.Trim();
newDataInTemp.Value19 = this.txtValue19.Text.Trim();
newDataInTemp.Value20 = this.txtValue20.Text.Trim();
newDataInTemp.Value21 = this.txtValue21.Text.Trim();
newDataInTemp.Value22 = this.txtValue22.Text.Trim();
newDataInTemp.Value23 = this.txtValue23.Text.Trim();
newDataInTemp.Value24 = this.txtValue24.Text.Trim();
newDataInTemp.Value25 = this.txtValue25.Text.Trim();
newDataInTemp.Value26 = this.txtValue26.Text.Trim();
newDataInTemp.Value27 = this.txtValue27.Text.Trim();
newDataInTemp.Value28 = this.txtValue28.Text.Trim();
newDataInTemp.Value29 = this.txtValue29.Text.Trim();
newDataInTemp.Value30 = this.txtValue30.Text.Trim();
newDataInTemp.Value31 = this.txtValue31.Text.Trim();
newDataInTemp.Value32 = this.txtValue32.Text.Trim();
newDataInTemp.Value33 = this.txtValue33.Text.Trim();
newDataInTemp.Value34 = this.txtValue34.Text.Trim();
newDataInTemp.Value35 = this.txtValue35.Text.Trim();
if (!string.IsNullOrEmpty(this.TempId))
{
newDataInTemp.TempId = this.TempId;
newDataInTemp.ToopValue = null;
BLL.DataInTempService.UpdateDataInTemp(newDataInTemp);
}
}
Alert.ShowInTop("信息修改完成!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
}
#endregion
}
}

View File

@ -0,0 +1,431 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.HJGL.JoinMarking
{
public partial class DataInEdit
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// ckAll 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBox ckAll;
/// <summary>
/// btnSave 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// lbErrCout 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea lbErrCout;
/// <summary>
/// txtValue1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue1;
/// <summary>
/// txtValue2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue2;
/// <summary>
/// txtValue3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue3;
/// <summary>
/// txtValue4 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue4;
/// <summary>
/// txtValue5 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue5;
/// <summary>
/// txtValue7 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue7;
/// <summary>
/// txtValue8 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue8;
/// <summary>
/// txtValue13 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue13;
/// <summary>
/// txtValue15 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue15;
/// <summary>
/// txtValue18 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue18;
/// <summary>
/// txtValue19 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue19;
/// <summary>
/// txtValue20 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue20;
/// <summary>
/// txtValue21 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue21;
/// <summary>
/// txtValue28 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue28;
/// <summary>
/// txtValue23 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue23;
/// <summary>
/// txtValue24 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue24;
/// <summary>
/// SimpleForm2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm2;
/// <summary>
/// txtValue9 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue9;
/// <summary>
/// txtValue10 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue10;
/// <summary>
/// txtValue11 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue11;
/// <summary>
/// txtValue12 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue12;
/// <summary>
/// txtValue6 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue6;
/// <summary>
/// txtValue14 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue14;
/// <summary>
/// txtValue16 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue16;
/// <summary>
/// txtValue17 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue17;
/// <summary>
/// txtValue22 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue22;
/// <summary>
/// txtValue25 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue25;
/// <summary>
/// txtValue26 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue26;
/// <summary>
/// txtValue27 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue27;
/// <summary>
/// txtValue29 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue29;
/// <summary>
/// txtValue30 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue30;
/// <summary>
/// txtValue31 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue31;
/// <summary>
/// txtValue32 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue32;
/// <summary>
/// txtValue33 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtValue33;
/// <summary>
/// labelTemp 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label labelTemp;
/// <summary>
/// SimpleForm3 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm3;
/// <summary>
/// txtValue34 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue34;
/// <summary>
/// txtValue35 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.NumberBox txtValue35;
}
}

View File

@ -5,7 +5,7 @@
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server"> <head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><asp:Literal runat="server" Text="<%$ Resources:Lan,PipelineManage_PageTitle%>"/></title> <title><asp:Literal runat="server" Text="焊口标注"/></title>
</head> </head>
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">
@ -13,11 +13,11 @@
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region"> <f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items> <Items>
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true" <f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
EnableCollapse="true" Width="300px" Title="<%$ Resources:Lan,PipelineManage_IsoPic_Label%>" ShowBorder="true" Layout="VBox" EnableCollapse="true" Width="300px" Title="焊口标注" ShowBorder="true" Layout="VBox"
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft"> ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
<Items> <Items>
<f:Tree ID="tvControlItem" ShowHeader="false" Height="500px" Title="<%$ Resources:Lan,PmiMaterialTemplate_tvControlItem_Title%>" OnNodeCommand="tvControlItem_NodeCommand" <f:Tree ID="tvControlItem" ShowHeader="false" Height="500px" Title="轴测图" OnNodeCommand="tvControlItem_NodeCommand"
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true" AutoLeafIdentification="true" runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true" AutoLeafIdentification="true"
EnableSingleExpand="true" EnableTextSelection="true"> EnableSingleExpand="true" EnableTextSelection="true">
</f:Tree> </f:Tree>

View File

@ -48,152 +48,123 @@
<f:ContentPanel ID="contentPanel" runat="server"> <f:ContentPanel ID="contentPanel" runat="server">
<div id="app"></div> <div id="app"></div>
</f:ContentPanel> </f:ContentPanel>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="<%$ Resources:Lan,TCC_RE_CQMS_367%>" EnableCollapse="true" Hidden="true" <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="焊口标注" EnableCollapse="true" Hidden="true"
runat="server" BoxFlex="1" DataKeyNames="TempId" AllowCellEditing="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange" runat="server" BoxFlex="1" DataKeyNames="TempId" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
EnableColumnLines="true" ClicksToEdit="2" DataIDField="TempId" AllowSorting="true" EnableColumnLines="true" ClicksToEdit="2" DataIDField="TempId" AllowSorting="true"
SortField="RowNo" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true" SortField="RowNo" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true"
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True"> EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
<Columns> <Columns>
<f:RowNumberField EnablePagingNumber="true" HeaderText="<%$ Resources:Lan,TCC_RE_CQMS_015%>" Width="60px" HeaderTextAlign="Center" TextAlign="Center" /> <f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="60px" HeaderTextAlign="Center" TextAlign="Center"/>
<f:RenderField Width="70px" HeaderText="<%$ Resources:Lan,UserIn_Grid1_RCount_HeaderText%>" ColumnID="RowNo" DataField="RowNo" SortField="RowNo" <f:RenderField Width="70px" HeaderText="行号" ColumnID="RowNo" DataField="RowNo" SortField="RowNo"
FieldType="String" HeaderTextAlign="Center" TextAlign="Center"> FieldType="String" HeaderTextAlign="Center" TextAlign="Center" >
</f:RenderField> </f:RenderField>
<f:RenderField Width="100px" HeaderText="<%$ Resources:Lan,T_REST_ASPXCS_877%>" ColumnID="Value1" DataField="Value1" SortField="Value1" <f:RenderField Width="80px" HeaderText="单位代码" ColumnID="Value1" DataField="Value1" SortField="Value1"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value2_HeaderText%>" ColumnID="Value2" DataField="Value2" SortField="Value2" <f:RenderField Width="80px" HeaderText="装置号" ColumnID="Value2" DataField="Value2" SortField="Value2"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="220px" HeaderText="<%$ Resources:Lan,ASPXSC_2496%>" ColumnID="Value3" DataField="Value3" SortField="Value3" <f:RenderField Width="220px" HeaderText="管线代号" ColumnID="Value3" DataField="Value3" SortField="Value3"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:WindowField ColumnID="Value4" HeaderTextAlign="Center" TextAlign="Left" Width="120px" WindowID="Window1" HeaderText="<%$ Resources:Lan,ASPXSC_2455%>" <f:WindowField ColumnID="Value4" HeaderTextAlign="Center" TextAlign="Left" Width="120px" WindowID="Window1" HeaderText="焊口代号"
DataTextField="Value4" DataIFrameUrlFields="TempId" DataIFrameUrlFormatString="DataInEdit.aspx?TempId={0}" DataTextField="Value4" DataIFrameUrlFields="TempId" DataIFrameUrlFormatString="DataInEdit.aspx?TempId={0}"
Title="<%$ Resources:Lan,ASPXSC_2455%>" DataToolTipField="ToopValue" SortField="Value4"> Title="焊口代号" DataToolTipField="ToopValue" SortField="Value4">
</f:WindowField> </f:WindowField>
<f:RenderField Width="90px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value5_HeaderText%>" ColumnID="Value5" DataField="Value5" SortField="Value5" <f:RenderField Width="90px" HeaderText="材质1代号" ColumnID="Value5" DataField="Value5" SortField="Value5"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="90px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value6_HeaderText%>" ColumnID="Value6" DataField="Value6" SortField="Value6" <f:RenderField Width="90px" HeaderText="材质2代号" ColumnID="Value6" DataField="Value6" SortField="Value6"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="90px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value7_HeaderText%>" ColumnID="Value7" DataField="Value7" SortField="Value7" <f:RenderField Width="100px" HeaderText="探伤比例代号" ColumnID="Value7" DataField="Value7" SortField="Value7"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="100px" HeaderText="<%$ Resources:Lan,ASPXSC_3432%>" ColumnID="Value8" DataField="Value8" SortField="Value8" <f:RenderField Width="100px" HeaderText="焊缝类型代号" ColumnID="Value8" DataField="Value8" SortField="Value8"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_3433%>" ColumnID="Value9" DataField="Value9" SortField="Value9" <f:RenderField Width="80px" HeaderText="焊接区域" ColumnID="Value9" DataField="Value9" SortField="Value9"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="100px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value10_HeaderText%>" ColumnID="Value10" DataField="Value10" SortField="Value10" <f:RenderField Width="80px" HeaderText="焊口属性" ColumnID="Value10" DataField="Value10" SortField="Value10"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="100px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value11_HeaderText%>" ColumnID="Value11" DataField="Value11" SortField="Value11" <f:RenderField Width="80px" HeaderText="寸径数" ColumnID="Value11" DataField="Value11" SortField="Value11"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2469%>" ColumnID="Value12" DataField="Value12" SortField="Value12" <f:RenderField Width="80px" HeaderText="规格(mm)" ColumnID="Value12" DataField="Value12" SortField="Value12"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2472%>" ColumnID="Value13" DataField="Value13" SortField="Value13" <f:RenderField Width="80px" HeaderText="壁厚" ColumnID="Value13" DataField="Value13" SortField="Value13"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2554%>" ColumnID="Value14" DataField="Value14" SortField="Value14" <f:RenderField Width="100px" HeaderText="焊接方法代码" ColumnID="Value14" DataField="Value14" SortField="Value14"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="110px" HeaderText="<%$ Resources:Lan,PCFPipelineEdit_txtISO_Specification_Label%>" ColumnID="Value15" DataField="Value15" SortField="Value15" <f:RenderField Width="80px" HeaderText="试验压力" ColumnID="Value15" DataField="Value15" SortField="Value15"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,PCFJointEdit_txtSch_Label%>" ColumnID="Value16" DataField="Value16" SortField="Value16" <f:RenderField Width="80px" HeaderText="焊条代号" ColumnID="Value16" DataField="Value16" SortField="Value16"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="120px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value17_HeaderText%>" ColumnID="Value17" DataField="Value17" SortField="Value17" <f:RenderField Width="80px" HeaderText="焊丝代号" ColumnID="Value17" DataField="Value17" SortField="Value17"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2515%>" ColumnID="Value18" DataField="Value18" SortField="Value18" <f:RenderField Width="80px" HeaderText="介质代号" ColumnID="Value18" DataField="Value18" SortField="Value18"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2468%>" ColumnID="Value19" DataField="Value19" SortField="Value19" <f:RenderField Width="80px" HeaderText="单线图号" ColumnID="Value19" DataField="Value19" SortField="Value19"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2467%>" ColumnID="Value20" DataField="Value20" SortField="Value20" <f:RenderField Width="80px" HeaderText="设计压力" ColumnID="Value20" DataField="Value20" SortField="Value20"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_1916%>" ColumnID="Value21" DataField="Value21" SortField="Value21" <f:RenderField Width="80px" HeaderText="设计温度" ColumnID="Value21" DataField="Value21" SortField="Value21"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2503%>" ColumnID="Value22" DataField="Value22" SortField="Value22" <f:RenderField Width="80px" HeaderText="坡口代号" ColumnID="Value22" DataField="Value22" SortField="Value22"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2513%>" ColumnID="Value23" DataField="Value23" SortField="Value23" <f:RenderField Width="100px" HeaderText="管线等级代号" ColumnID="Value23" DataField="Value23" SortField="Value23"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2514%>" ColumnID="Value24" DataField="Value24" SortField="Value24" <f:RenderField Width="80px" HeaderText="组件一代号" ColumnID="Value24" DataField="Value24" SortField="Value24"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value25_HeaderText%>" ColumnID="Value25" DataField="Value25" SortField="Value25" <f:RenderField Width="80px" HeaderText="组件二代号" ColumnID="Value25" DataField="Value25" SortField="Value25"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="100px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value26_HeaderText%>" ColumnID="Value26" DataField="Value26" SortField="Value26" <f:RenderField Width="80px" HeaderText="炉批号一" ColumnID="Value26" DataField="Value26" SortField="Value26"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value27_HeaderText%>" ColumnID="Value27" DataField="Value27" SortField="Value27" <f:RenderField Width="80px" HeaderText="炉批号二" ColumnID="Value27" DataField="Value27" SortField="Value27"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value28_HeaderText%>" ColumnID="Value28" DataField="Value28" SortField="Value28" <f:RenderField Width="80px" HeaderText="所属管段" ColumnID="Value28" DataField="Value28" SortField="Value28"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value29_HeaderText%>" ColumnID="Value29" DataField="Value29" SortField="Value29" <f:RenderField Width="80px" HeaderText="预热温度" ColumnID="Value29" DataField="Value29" SortField="Value29"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value30_HeaderText%>" ColumnID="Value30" DataField="Value30" SortField="Value30" <f:RenderField Width="90px" HeaderText="是否热处理" ColumnID="Value30" DataField="Value30" SortField="Value30"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_2483%>" ColumnID="Value31" DataField="Value31" SortField="Value31" <f:RenderField Width="80px" HeaderText="焊接位置" ColumnID="Value31" DataField="Value31" SortField="Value31"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,BBL_Resource_458%>" ColumnID="Value32" DataField="Value32" SortField="Value32" <f:RenderField Width="80px" HeaderText="外径" ColumnID="Value32" DataField="Value32" SortField="Value32"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="90px" HeaderText="<%$ Resources:Lan,ASPXSC_2482%>" ColumnID="Value33" DataField="Value33" SortField="Value33" <f:RenderField Width="140px" HeaderText="硬度检测比例(数值)" ColumnID="Value33" DataField="Value33" SortField="Value33"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField> </f:RenderField>
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ShowHotHardSearch_Grid1_RenderField_HotProessNo_HeaderText%>" ColumnID="Value34" DataField="Value34" SortField="Value34"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left"> <f:RenderField Width="80px" HeaderText="组件数量" ColumnID="Value34" DataField="Value34" SortField="Value34"
</f:RenderField> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
<f:RenderField Width="80px" HeaderText="<%$ Resources:Lan,ASPXSC_1946%>" ColumnID="Value35" DataField="Value35" SortField="Value35" </f:RenderField>
FieldType="String" HeaderTextAlign="Center" TextAlign="Right"> <f:RenderField Width="80px" HeaderText="公称直径" ColumnID="Value35" DataField="Value35" SortField="Value35"
</f:RenderField> FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,PCFJointEdit_txtDia_Label%>" ColumnID="Value36" DataField="Value36" SortField="Value36" </f:RenderField>
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value37_HeaderText%>" ColumnID="Value37" DataField="Value37" SortField="Value37"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,ASPXSC_3429%>" ColumnID="Value38" DataField="Value38" SortField="Value38"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value39_HeaderText%>" ColumnID="Value39" DataField="Value39" SortField="Value39"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,DataInTable_RenderField_Value40_HeaderText%>" ColumnID="Value40" DataField="Value40" SortField="Value40"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,ASPXSC_3424%>" ColumnID="Value41" DataField="Value41" SortField="Value41"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,ASPXSC_3434%>" ColumnID="Value42" DataField="Value42" SortField="Value42"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,ASPXSC_3431%>" ColumnID="Value43" DataField="Value43" SortField="Value43"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,ASPXSC_3425%>" ColumnID="Value44" DataField="Value44" SortField="Value44"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
<f:RenderField Width="140px" HeaderText="<%$ Resources:Lan,JointComprehensive_ISO_Type_HeaderText%>" ColumnID="Value45" DataField="Value45" SortField="Value45"
FieldType="String" HeaderTextAlign="Center" TextAlign="Right">
</f:RenderField>
</Columns> </Columns>
<Listeners> <Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" /> <f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@ -201,7 +172,7 @@
<PageItems> <PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator> </f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="<%$ Resources:Lan,TCC_RE_CQMS_026%>"> <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText> </f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" <f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged"> OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
@ -210,22 +181,22 @@
<f:ListItem Text="20" Value="20" /> <f:ListItem Text="20" Value="20" />
<f:ListItem Text="25" Value="25" /> <f:ListItem Text="25" Value="25" />
</f:DropDownList> </f:DropDownList>
<f:Label Label="<%$ Resources:Lan,DataInTable_lbDataCout_Label%>" runat="server" ID="lbDataCout" CssClass="Label" LabelAlign="right" LabelWidth="120px"></f:Label> <f:Label Label="错误记录数" runat="server" ID="lbDataCout" CssClass="Label" LabelAlign="right" LabelWidth="120px"></f:Label>
</PageItems> </PageItems>
</f:Grid> </f:Grid>
</Items> </Items>
</f:Panel> </f:Panel>
</form> </form>
<f:Window ID="Window1" Title="<%$ Resources:Lan,CheckManageImport_Window1_Title%>" Hidden="true" EnableIFrame="true" <f:Window ID="Window1" Title="数据信息" Hidden="true" EnableIFrame="true"
EnableMaximize="true" Target="Top" EnableResize="true" runat="server" OnClose="Window1_Close" EnableMaximize="true" Target="Top" EnableResize="true" runat="server" OnClose="Window1_Close"
IsModal="true" Width="1200px" Height="600px"> IsModal="true" Width="1200px" Height="600px">
</f:Window> </f:Window>
<f:Menu ID="Menu1" ClientIDMode="Static" runat="server"> <f:Menu ID="Menu1" ClientIDMode="Static" runat="server">
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true" <f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
runat="server" Text="<%$ Resources:Lan,TCC_RE_CQMS_102%>" Icon="TableEdit"> runat="server" Text="编辑" Icon="TableEdit">
</f:MenuButton> </f:MenuButton>
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true" <f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
ConfirmText="<%$ Resources:Lan,TCC_RE_CQMS_794%>" ConfirmTarget="Top" runat="server" Text="<%$ Resources:Lan,TCC_RE_CQMS_031%>" Icon="Delete"> ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
</f:MenuButton> </f:MenuButton>
</f:Menu> </f:Menu>

View File

@ -837,7 +837,7 @@ namespace FineUIPro.Web.HJGL.JoinMarking
newDataInTemp.Time = System.DateTime.Now; newDataInTemp.Time = System.DateTime.Now;
newDataInTemp.Type = this.IsPDMS; newDataInTemp.Type = this.IsPDMS;
newDataInTemp.RowNo = i + 2; newDataInTemp.RowNo = i + 2;
newDataInTemp.Value1 = unit.UnitCode; newDataInTemp.Value1 = unit!=null? unit.UnitCode:null;
newDataInTemp.Value3 = iso.ISO_IsoNo; newDataInTemp.Value3 = iso.ISO_IsoNo;
newDataInTemp.Value4 = item.Value<string>("label"); newDataInTemp.Value4 = item.Value<string>("label");
newDataInTemp.Value46 = item.Value<string>("x"); newDataInTemp.Value46 = item.Value<string>("x");

View File

@ -86,7 +86,7 @@ namespace FineUIPro.Web.HJGL.JoinMarking
UnitName = Funs.DB.Base_Unit.FirstOrDefault(x => x.UnitId == iso.BSU_ID)?.UnitName; UnitName = Funs.DB.Base_Unit.FirstOrDefault(x => x.UnitId == iso.BSU_ID)?.UnitName;
} }
var jotids = Funs.DB.HJGL_PW_IsoInfo.Where(x => x.ISO_ID == ISO_ID && x.AttachSourceId == FileId).Select(x => x.JOT_ID).ToList(); var jotids = Funs.DB.HJGL_PW_JointInfo.Where(x => x.ISO_ID == ISO_ID && x.AttachSourceId == FileId).Select(x => x.JOT_ID).ToList();
string sqlData = @"select a.JOT_ID ,a.JOT_JointNo,c.WED_Code,JOT_Location,b.JOT_WeldDate ,'/' DetectionTypeCode ,'/' IsRepair,'/' IsHotProcess,x,y,x2,y2 string sqlData = @"select a.JOT_ID ,a.JOT_JointNo,c.WED_Code,JOT_Location,b.JOT_WeldDate ,'/' DetectionTypeCode ,'/' IsRepair,'/' IsHotProcess,x,y,x2,y2
,(case a.JOT_JointStatus ,(case a.JOT_JointStatus

View File

@ -124,6 +124,10 @@
<f:RenderField HeaderText="备注" ColumnID="ISO_Remark" DataField="ISO_Remark" SortField="ISO_Remark" <f:RenderField HeaderText="备注" ColumnID="ISO_Remark" DataField="ISO_Remark" SortField="ISO_Remark"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField> </f:RenderField>
<f:WindowField TextAlign="Left" Width="90px" WindowID="Window4" HeaderText="焊口标注"
Text="焊口标注" ToolTip="焊口标注"
DataIFrameUrlFields="ISO_ID" DataIFrameUrlFormatString="../JoinMarking/JoinMarking.aspx?ISO_ID={0}"
HeaderTextAlign="Center" />
<f:TemplateField HeaderText="编辑CAD" Width="80px"> <f:TemplateField HeaderText="编辑CAD" Width="80px">
<ItemTemplate> <ItemTemplate>
<a href='<%# "../../FileManage/editCAD.aspx?officetype=1&url=" + Eval("ISO_ID") %>' <a href='<%# "../../FileManage/editCAD.aspx?officetype=1&url=" + Eval("ISO_ID") %>'

View File

@ -11,7 +11,7 @@
<FineUIPro DebugMode="false" Theme="Cupertino"/> <FineUIPro DebugMode="false" Theme="Cupertino"/>
<appSettings> <appSettings>
<!--连接字符串--> <!--连接字符串-->
<add key="ConnectionString" value="Server=.\SQL2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/> <add key="ConnectionString" value="Server=.\MSSQLSERVER2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
<!--系统名称--> <!--系统名称-->
<add key="SystemName" value="诺必达焊接管理系统"/> <add key="SystemName" value="诺必达焊接管理系统"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/> <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>

View File

@ -48670,6 +48670,16 @@ namespace Model
private System.Nullable<bool> _IsGold; private System.Nullable<bool> _IsGold;
private string _AttachSourceId;
private string _X;
private string _Y;
private string _X2;
private string _Y2;
private EntityRef<HJGL_BO_BatchDetail> _HJGL_BO_BatchDetail; private EntityRef<HJGL_BO_BatchDetail> _HJGL_BO_BatchDetail;
private EntitySet<HJGL_BO_PreWeldReportMain> _HJGL_BO_PreWeldReportMain; private EntitySet<HJGL_BO_PreWeldReportMain> _HJGL_BO_PreWeldReportMain;
@ -48924,6 +48934,16 @@ namespace Model
partial void OnJot_WeldingDateChanged(); partial void OnJot_WeldingDateChanged();
partial void OnIsGoldChanging(System.Nullable<bool> value); partial void OnIsGoldChanging(System.Nullable<bool> value);
partial void OnIsGoldChanged(); partial void OnIsGoldChanged();
partial void OnAttachSourceIdChanging(string value);
partial void OnAttachSourceIdChanged();
partial void OnXChanging(string value);
partial void OnXChanged();
partial void OnYChanging(string value);
partial void OnYChanged();
partial void OnX2Changing(string value);
partial void OnX2Changed();
partial void OnY2Changing(string value);
partial void OnY2Changed();
#endregion #endregion
public HJGL_PW_JointInfo() public HJGL_PW_JointInfo()
@ -50936,6 +50956,106 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AttachSourceId", DbType="NVarChar(50)")]
public string AttachSourceId
{
get
{
return this._AttachSourceId;
}
set
{
if ((this._AttachSourceId != value))
{
this.OnAttachSourceIdChanging(value);
this.SendPropertyChanging();
this._AttachSourceId = value;
this.SendPropertyChanged("AttachSourceId");
this.OnAttachSourceIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="x", Storage="_X", DbType="NVarChar(50)")]
public string X
{
get
{
return this._X;
}
set
{
if ((this._X != value))
{
this.OnXChanging(value);
this.SendPropertyChanging();
this._X = value;
this.SendPropertyChanged("X");
this.OnXChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="y", Storage="_Y", DbType="NVarChar(50)")]
public string Y
{
get
{
return this._Y;
}
set
{
if ((this._Y != value))
{
this.OnYChanging(value);
this.SendPropertyChanging();
this._Y = value;
this.SendPropertyChanged("Y");
this.OnYChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="x2", Storage="_X2", DbType="NVarChar(50)")]
public string X2
{
get
{
return this._X2;
}
set
{
if ((this._X2 != value))
{
this.OnX2Changing(value);
this.SendPropertyChanging();
this._X2 = value;
this.SendPropertyChanged("X2");
this.OnX2Changed();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="y2", Storage="_Y2", DbType="NVarChar(1)")]
public string Y2
{
get
{
return this._Y2;
}
set
{
if ((this._Y2 != value))
{
this.OnY2Changing(value);
this.SendPropertyChanging();
this._Y2 = value;
this.SendPropertyChanged("Y2");
this.OnY2Changed();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_PW_JointInfo", Storage="_HJGL_BO_BatchDetail", ThisKey="JOT_ID", OtherKey="JOT_ID", IsUnique=true, IsForeignKey=false, DeleteRule="NO ACTION")] [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_HJGL_BO_BatchDetail_HJGL_PW_JointInfo", Storage="_HJGL_BO_BatchDetail", ThisKey="JOT_ID", OtherKey="JOT_ID", IsUnique=true, IsForeignKey=false, DeleteRule="NO ACTION")]
public HJGL_BO_BatchDetail HJGL_BO_BatchDetail public HJGL_BO_BatchDetail HJGL_BO_BatchDetail
{ {
@ -131797,6 +131917,8 @@ namespace Model
private EntityRef<Base_Project> _Base_Project; private EntityRef<Base_Project> _Base_Project;
private EntityRef<Weld_WeldInfo> _Weld_WeldInfo;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -131818,6 +131940,7 @@ namespace Model
public Weld_ProjectPlan() public Weld_ProjectPlan()
{ {
this._Base_Project = default(EntityRef<Base_Project>); this._Base_Project = default(EntityRef<Base_Project>);
this._Weld_WeldInfo = default(EntityRef<Weld_WeldInfo>);
OnCreated(); OnCreated();
} }
@ -131876,6 +131999,10 @@ namespace Model
{ {
if ((this._WeldId != value)) if ((this._WeldId != value))
{ {
if (this._Weld_WeldInfo.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnWeldIdChanging(value); this.OnWeldIdChanging(value);
this.SendPropertyChanging(); this.SendPropertyChanging();
this._WeldId = value; this._WeldId = value;
@ -131979,6 +132106,40 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)]
public Weld_WeldInfo Weld_WeldInfo
{
get
{
return this._Weld_WeldInfo.Entity;
}
set
{
Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity;
if (((previousValue != value)
|| (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Weld_WeldInfo.Entity = null;
previousValue.Weld_ProjectPlan.Remove(this);
}
this._Weld_WeldInfo.Entity = value;
if ((value != null))
{
value.Weld_ProjectPlan.Add(this);
this._WeldId = value.WeldId;
}
else
{
this._WeldId = default(string);
}
this.SendPropertyChanged("Weld_WeldInfo");
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -132232,6 +132393,8 @@ namespace Model
private EntityRef<Weld_UsingPlan> _Weld_UsingPlan; private EntityRef<Weld_UsingPlan> _Weld_UsingPlan;
private EntityRef<Weld_WeldInfo> _Weld_WeldInfo;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -132280,6 +132443,7 @@ namespace Model
this._Weld_Storeman = default(EntityRef<Weld_Storeman>); this._Weld_Storeman = default(EntityRef<Weld_Storeman>);
this._Weld_UsingMat = default(EntityRef<Weld_UsingMat>); this._Weld_UsingMat = default(EntityRef<Weld_UsingMat>);
this._Weld_UsingPlan = default(EntityRef<Weld_UsingPlan>); this._Weld_UsingPlan = default(EntityRef<Weld_UsingPlan>);
this._Weld_WeldInfo = default(EntityRef<Weld_WeldInfo>);
OnCreated(); OnCreated();
} }
@ -132358,6 +132522,10 @@ namespace Model
{ {
if ((this._WeldId != value)) if ((this._WeldId != value))
{ {
if (this._Weld_WeldInfo.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnWeldIdChanging(value); this.OnWeldIdChanging(value);
this.SendPropertyChanging(); this.SendPropertyChanging();
this._WeldId = value; this._WeldId = value;
@ -132795,6 +132963,40 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)]
public Weld_WeldInfo Weld_WeldInfo
{
get
{
return this._Weld_WeldInfo.Entity;
}
set
{
Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity;
if (((previousValue != value)
|| (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Weld_WeldInfo.Entity = null;
previousValue.Weld_RecycleMat.Remove(this);
}
this._Weld_WeldInfo.Entity = value;
if ((value != null))
{
value.Weld_RecycleMat.Add(this);
this._WeldId = value.WeldId;
}
else
{
this._WeldId = default(string);
}
this.SendPropertyChanged("Weld_WeldInfo");
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -132858,6 +133060,8 @@ namespace Model
private EntityRef<Weld_UsingPlan> _Weld_UsingPlan; private EntityRef<Weld_UsingPlan> _Weld_UsingPlan;
private EntityRef<Weld_WeldInfo> _Weld_WeldInfo;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -132898,6 +133102,7 @@ namespace Model
this._Weld_Storeman = default(EntityRef<Weld_Storeman>); this._Weld_Storeman = default(EntityRef<Weld_Storeman>);
this._Weld_UsingMat = default(EntityRef<Weld_UsingMat>); this._Weld_UsingMat = default(EntityRef<Weld_UsingMat>);
this._Weld_UsingPlan = default(EntityRef<Weld_UsingPlan>); this._Weld_UsingPlan = default(EntityRef<Weld_UsingPlan>);
this._Weld_WeldInfo = default(EntityRef<Weld_WeldInfo>);
OnCreated(); OnCreated();
} }
@ -132976,6 +133181,10 @@ namespace Model
{ {
if ((this._WeldId != value)) if ((this._WeldId != value))
{ {
if (this._Weld_WeldInfo.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnWeldIdChanging(value); this.OnWeldIdChanging(value);
this.SendPropertyChanging(); this.SendPropertyChanging();
this._WeldId = value; this._WeldId = value;
@ -133333,6 +133542,40 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)]
public Weld_WeldInfo Weld_WeldInfo
{
get
{
return this._Weld_WeldInfo.Entity;
}
set
{
Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity;
if (((previousValue != value)
|| (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Weld_WeldInfo.Entity = null;
previousValue.Weld_RecycleMatTop.Remove(this);
}
this._Weld_WeldInfo.Entity = value;
if ((value != null))
{
value.Weld_RecycleMatTop.Add(this);
this._WeldId = value.WeldId;
}
else
{
this._WeldId = default(string);
}
this.SendPropertyChanged("Weld_WeldInfo");
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -134253,6 +134496,8 @@ namespace Model
private System.Nullable<decimal> _Weight; private System.Nullable<decimal> _Weight;
private EntityRef<Weld_WeldInfo> _Weld_WeldInfo;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -134269,6 +134514,7 @@ namespace Model
public Weld_StockInit() public Weld_StockInit()
{ {
this._Weld_WeldInfo = default(EntityRef<Weld_WeldInfo>);
OnCreated(); OnCreated();
} }
@ -134303,6 +134549,10 @@ namespace Model
{ {
if ((this._WeldId != value)) if ((this._WeldId != value))
{ {
if (this._Weld_WeldInfo.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnWeldIdChanging(value); this.OnWeldIdChanging(value);
this.SendPropertyChanging(); this.SendPropertyChanging();
this._WeldId = value; this._WeldId = value;
@ -134352,6 +134602,40 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_StockInit_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)]
public Weld_WeldInfo Weld_WeldInfo
{
get
{
return this._Weld_WeldInfo.Entity;
}
set
{
Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity;
if (((previousValue != value)
|| (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Weld_WeldInfo.Entity = null;
previousValue.Weld_StockInit.Remove(this);
}
this._Weld_WeldInfo.Entity = value;
if ((value != null))
{
value.Weld_StockInit.Add(this);
this._WeldId = value.WeldId;
}
else
{
this._WeldId = default(string);
}
this.SendPropertyChanged("Weld_WeldInfo");
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -135262,6 +135546,8 @@ namespace Model
private EntityRef<Weld_UsingPlan> _Weld_UsingPlan; private EntityRef<Weld_UsingPlan> _Weld_UsingPlan;
private EntityRef<Weld_WeldInfo> _Weld_WeldInfo;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -135317,6 +135603,7 @@ namespace Model
this._Base_Project = default(EntityRef<Base_Project>); this._Base_Project = default(EntityRef<Base_Project>);
this._Weld_Storeman = default(EntityRef<Weld_Storeman>); this._Weld_Storeman = default(EntityRef<Weld_Storeman>);
this._Weld_UsingPlan = default(EntityRef<Weld_UsingPlan>); this._Weld_UsingPlan = default(EntityRef<Weld_UsingPlan>);
this._Weld_WeldInfo = default(EntityRef<Weld_WeldInfo>);
OnCreated(); OnCreated();
} }
@ -135395,6 +135682,10 @@ namespace Model
{ {
if ((this._WeldId != value)) if ((this._WeldId != value))
{ {
if (this._Weld_WeldInfo.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnWeldIdChanging(value); this.OnWeldIdChanging(value);
this.SendPropertyChanging(); this.SendPropertyChanging();
this._WeldId = value; this._WeldId = value;
@ -135880,6 +136171,40 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)]
public Weld_WeldInfo Weld_WeldInfo
{
get
{
return this._Weld_WeldInfo.Entity;
}
set
{
Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity;
if (((previousValue != value)
|| (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Weld_WeldInfo.Entity = null;
previousValue.Weld_UsingMat.Remove(this);
}
this._Weld_WeldInfo.Entity = value;
if ((value != null))
{
value.Weld_UsingMat.Add(this);
this._WeldId = value.WeldId;
}
else
{
this._WeldId = default(string);
}
this.SendPropertyChanged("Weld_WeldInfo");
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -135989,6 +136314,8 @@ namespace Model
private EntitySet<Weld_UsingMat> _Weld_UsingMat; private EntitySet<Weld_UsingMat> _Weld_UsingMat;
private EntityRef<Weld_WeldInfo> _Weld_WeldInfo;
#region #region
partial void OnLoaded(); partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnValidate(System.Data.Linq.ChangeAction action);
@ -136052,6 +136379,7 @@ namespace Model
this._Weld_RecycleMat = new EntitySet<Weld_RecycleMat>(new Action<Weld_RecycleMat>(this.attach_Weld_RecycleMat), new Action<Weld_RecycleMat>(this.detach_Weld_RecycleMat)); this._Weld_RecycleMat = new EntitySet<Weld_RecycleMat>(new Action<Weld_RecycleMat>(this.attach_Weld_RecycleMat), new Action<Weld_RecycleMat>(this.detach_Weld_RecycleMat));
this._Weld_RecycleMatTop = new EntitySet<Weld_RecycleMatTop>(new Action<Weld_RecycleMatTop>(this.attach_Weld_RecycleMatTop), new Action<Weld_RecycleMatTop>(this.detach_Weld_RecycleMatTop)); this._Weld_RecycleMatTop = new EntitySet<Weld_RecycleMatTop>(new Action<Weld_RecycleMatTop>(this.attach_Weld_RecycleMatTop), new Action<Weld_RecycleMatTop>(this.detach_Weld_RecycleMatTop));
this._Weld_UsingMat = new EntitySet<Weld_UsingMat>(new Action<Weld_UsingMat>(this.attach_Weld_UsingMat), new Action<Weld_UsingMat>(this.detach_Weld_UsingMat)); this._Weld_UsingMat = new EntitySet<Weld_UsingMat>(new Action<Weld_UsingMat>(this.attach_Weld_UsingMat), new Action<Weld_UsingMat>(this.detach_Weld_UsingMat));
this._Weld_WeldInfo = default(EntityRef<Weld_WeldInfo>);
OnCreated(); OnCreated();
} }
@ -136086,6 +136414,10 @@ namespace Model
{ {
if ((this._WeldId != value)) if ((this._WeldId != value))
{ {
if (this._Weld_WeldInfo.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnWeldIdChanging(value); this.OnWeldIdChanging(value);
this.SendPropertyChanging(); this.SendPropertyChanging();
this._WeldId = value; this._WeldId = value;
@ -136614,6 +136946,40 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingPlan_Weld_WeldInfo", Storage="_Weld_WeldInfo", ThisKey="WeldId", OtherKey="WeldId", IsForeignKey=true)]
public Weld_WeldInfo Weld_WeldInfo
{
get
{
return this._Weld_WeldInfo.Entity;
}
set
{
Weld_WeldInfo previousValue = this._Weld_WeldInfo.Entity;
if (((previousValue != value)
|| (this._Weld_WeldInfo.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Weld_WeldInfo.Entity = null;
previousValue.Weld_UsingPlan.Remove(this);
}
this._Weld_WeldInfo.Entity = value;
if ((value != null))
{
value.Weld_UsingPlan.Add(this);
this._WeldId = value.WeldId;
}
else
{
this._WeldId = default(string);
}
this.SendPropertyChanged("Weld_WeldInfo");
}
}
}
public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
@ -136903,7 +137269,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelType", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelType", DbType="NVarChar(10)")]
public string SteelType public string SteelType
{ {
get get
@ -137284,6 +137650,18 @@ namespace Model
private System.Nullable<bool> _IsLock; private System.Nullable<bool> _IsLock;
private EntitySet<Weld_ProjectPlan> _Weld_ProjectPlan;
private EntitySet<Weld_RecycleMat> _Weld_RecycleMat;
private EntitySet<Weld_RecycleMatTop> _Weld_RecycleMatTop;
private EntitySet<Weld_StockInit> _Weld_StockInit;
private EntitySet<Weld_UsingMat> _Weld_UsingMat;
private EntitySet<Weld_UsingPlan> _Weld_UsingPlan;
private EntityRef<Weld_WeldType> _Weld_WeldType; private EntityRef<Weld_WeldType> _Weld_WeldType;
#region #region
@ -137316,6 +137694,12 @@ namespace Model
public Weld_WeldInfo() public Weld_WeldInfo()
{ {
this._Weld_ProjectPlan = new EntitySet<Weld_ProjectPlan>(new Action<Weld_ProjectPlan>(this.attach_Weld_ProjectPlan), new Action<Weld_ProjectPlan>(this.detach_Weld_ProjectPlan));
this._Weld_RecycleMat = new EntitySet<Weld_RecycleMat>(new Action<Weld_RecycleMat>(this.attach_Weld_RecycleMat), new Action<Weld_RecycleMat>(this.detach_Weld_RecycleMat));
this._Weld_RecycleMatTop = new EntitySet<Weld_RecycleMatTop>(new Action<Weld_RecycleMatTop>(this.attach_Weld_RecycleMatTop), new Action<Weld_RecycleMatTop>(this.detach_Weld_RecycleMatTop));
this._Weld_StockInit = new EntitySet<Weld_StockInit>(new Action<Weld_StockInit>(this.attach_Weld_StockInit), new Action<Weld_StockInit>(this.detach_Weld_StockInit));
this._Weld_UsingMat = new EntitySet<Weld_UsingMat>(new Action<Weld_UsingMat>(this.attach_Weld_UsingMat), new Action<Weld_UsingMat>(this.detach_Weld_UsingMat));
this._Weld_UsingPlan = new EntitySet<Weld_UsingPlan>(new Action<Weld_UsingPlan>(this.attach_Weld_UsingPlan), new Action<Weld_UsingPlan>(this.detach_Weld_UsingPlan));
this._Weld_WeldType = default(EntityRef<Weld_WeldType>); this._Weld_WeldType = default(EntityRef<Weld_WeldType>);
OnCreated(); OnCreated();
} }
@ -137464,7 +137848,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelType", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SteelType", DbType="NVarChar(10)")]
public string SteelType public string SteelType
{ {
get get
@ -137544,6 +137928,84 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Weld_WeldInfo", Storage="_Weld_ProjectPlan", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")]
public EntitySet<Weld_ProjectPlan> Weld_ProjectPlan
{
get
{
return this._Weld_ProjectPlan;
}
set
{
this._Weld_ProjectPlan.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMat_Weld_WeldInfo", Storage="_Weld_RecycleMat", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")]
public EntitySet<Weld_RecycleMat> Weld_RecycleMat
{
get
{
return this._Weld_RecycleMat;
}
set
{
this._Weld_RecycleMat.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_RecycleMatTop_Weld_WeldInfo", Storage="_Weld_RecycleMatTop", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")]
public EntitySet<Weld_RecycleMatTop> Weld_RecycleMatTop
{
get
{
return this._Weld_RecycleMatTop;
}
set
{
this._Weld_RecycleMatTop.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_StockInit_Weld_WeldInfo", Storage="_Weld_StockInit", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")]
public EntitySet<Weld_StockInit> Weld_StockInit
{
get
{
return this._Weld_StockInit;
}
set
{
this._Weld_StockInit.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingMat_Weld_WeldInfo", Storage="_Weld_UsingMat", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")]
public EntitySet<Weld_UsingMat> Weld_UsingMat
{
get
{
return this._Weld_UsingMat;
}
set
{
this._Weld_UsingMat.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_UsingPlan_Weld_WeldInfo", Storage="_Weld_UsingPlan", ThisKey="WeldId", OtherKey="WeldId", DeleteRule="NO ACTION")]
public EntitySet<Weld_UsingPlan> Weld_UsingPlan
{
get
{
return this._Weld_UsingPlan;
}
set
{
this._Weld_UsingPlan.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_WeldInfo_Weld_WeldType", Storage="_Weld_WeldType", ThisKey="WeldTypeId", OtherKey="WeldTypeId", IsForeignKey=true)] [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_WeldInfo_Weld_WeldType", Storage="_Weld_WeldType", ThisKey="WeldTypeId", OtherKey="WeldTypeId", IsForeignKey=true)]
public Weld_WeldType Weld_WeldType public Weld_WeldType Weld_WeldType
{ {
@ -137597,6 +138059,78 @@ namespace Model
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
} }
} }
private void attach_Weld_ProjectPlan(Weld_ProjectPlan entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = this;
}
private void detach_Weld_ProjectPlan(Weld_ProjectPlan entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = null;
}
private void attach_Weld_RecycleMat(Weld_RecycleMat entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = this;
}
private void detach_Weld_RecycleMat(Weld_RecycleMat entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = null;
}
private void attach_Weld_RecycleMatTop(Weld_RecycleMatTop entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = this;
}
private void detach_Weld_RecycleMatTop(Weld_RecycleMatTop entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = null;
}
private void attach_Weld_StockInit(Weld_StockInit entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = this;
}
private void detach_Weld_StockInit(Weld_StockInit entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = null;
}
private void attach_Weld_UsingMat(Weld_UsingMat entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = this;
}
private void detach_Weld_UsingMat(Weld_UsingMat entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = null;
}
private void attach_Weld_UsingPlan(Weld_UsingPlan entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = this;
}
private void detach_Weld_UsingPlan(Weld_UsingPlan entity)
{
this.SendPropertyChanging();
entity.Weld_WeldInfo = null;
}
} }
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_WeldType")] [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Weld_WeldType")]

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile> <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />