This commit is contained in:
parent
256c67cf52
commit
0675306a8a
|
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\\u6570\u636E\\\u8BFA\u5FC5\u8FBE\\\u8D5B\u9F0E\\SGGL_SeDin\\",
|
||||
"Documents": [],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 386,
|
||||
"SelectedChildIndex": -1,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{e506b91c-c606-466a-90a9-123d1d1e12b3}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:130:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:132:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:133:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:134:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:1:0:{f2bd8fb8-fc94-3dae-a733-fd993c73cc87}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:131:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:129:0:{13b12e3e-c1b4-4539-9371-4fe9a0d523fc}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:2:0:{f2bd8fb8-fc94-3dae-a733-fd993c73cc87}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:3:0:{f2bd8fb8-fc94-3dae-a733-fd993c73cc87}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:129:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -567,37 +567,39 @@ namespace BLL
|
|||
/// <param name="pipeline"></param>
|
||||
public static void AddPipeline(Model.HJGL_Pipeline pipeline)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.HJGL_Pipeline newPipeline = new Model.HJGL_Pipeline();
|
||||
newPipeline.PipelineId = pipeline.PipelineId;
|
||||
newPipeline.ProjectId = pipeline.ProjectId;
|
||||
//newPipeline.InstallationId = pipeline.InstallationId;
|
||||
newPipeline.UnitId = pipeline.UnitId;
|
||||
newPipeline.UnitWorkId = pipeline.UnitWorkId;
|
||||
newPipeline.PipelineCode = pipeline.PipelineCode;
|
||||
newPipeline.SingleName = pipeline.SingleName;
|
||||
newPipeline.SingleNumber = pipeline.SingleNumber;
|
||||
newPipeline.PipingClassId = pipeline.PipingClassId;
|
||||
newPipeline.MediumId = pipeline.MediumId;
|
||||
newPipeline.DetectionRateId = pipeline.DetectionRateId;
|
||||
newPipeline.DetectionType = pipeline.DetectionType;
|
||||
newPipeline.DesignPress = pipeline.DesignPress;
|
||||
newPipeline.DesignTemperature = pipeline.DesignTemperature;
|
||||
newPipeline.TestPressure = pipeline.TestPressure;
|
||||
newPipeline.TestMedium = pipeline.TestMedium;
|
||||
newPipeline.PipeLenth = pipeline.PipeLenth;
|
||||
newPipeline.PressurePipingClassId = pipeline.PressurePipingClassId;
|
||||
newPipeline.Remark = pipeline.Remark;
|
||||
newPipeline.LeakPressure = pipeline.LeakPressure;
|
||||
newPipeline.LeakMedium = pipeline.LeakMedium;
|
||||
newPipeline.VacuumPressure = pipeline.VacuumPressure;
|
||||
newPipeline.PCMedium = pipeline.PCMedium;
|
||||
newPipeline.PCtype = pipeline.PCtype;
|
||||
newPipeline.MaterialId = pipeline.MaterialId;
|
||||
newPipeline.State = pipeline.State;
|
||||
newPipeline.FlowingSection = pipeline.FlowingSection;
|
||||
db.HJGL_Pipeline.InsertOnSubmit(newPipeline);
|
||||
db.SubmitChanges();
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
Model.HJGL_Pipeline newPipeline = new Model.HJGL_Pipeline();
|
||||
newPipeline.PipelineId = pipeline.PipelineId;
|
||||
newPipeline.ProjectId = pipeline.ProjectId;
|
||||
//newPipeline.InstallationId = pipeline.InstallationId;
|
||||
newPipeline.UnitId = pipeline.UnitId;
|
||||
newPipeline.UnitWorkId = pipeline.UnitWorkId;
|
||||
newPipeline.PipelineCode = pipeline.PipelineCode;
|
||||
newPipeline.SingleName = pipeline.SingleName;
|
||||
newPipeline.SingleNumber = pipeline.SingleNumber;
|
||||
newPipeline.PipingClassId = pipeline.PipingClassId;
|
||||
newPipeline.MediumId = pipeline.MediumId;
|
||||
newPipeline.DetectionRateId = pipeline.DetectionRateId;
|
||||
newPipeline.DetectionType = pipeline.DetectionType;
|
||||
newPipeline.DesignPress = pipeline.DesignPress;
|
||||
newPipeline.DesignTemperature = pipeline.DesignTemperature;
|
||||
newPipeline.TestPressure = pipeline.TestPressure;
|
||||
newPipeline.TestMedium = pipeline.TestMedium;
|
||||
newPipeline.PipeLenth = pipeline.PipeLenth;
|
||||
newPipeline.PressurePipingClassId = pipeline.PressurePipingClassId;
|
||||
newPipeline.Remark = pipeline.Remark;
|
||||
newPipeline.LeakPressure = pipeline.LeakPressure;
|
||||
newPipeline.LeakMedium = pipeline.LeakMedium;
|
||||
newPipeline.VacuumPressure = pipeline.VacuumPressure;
|
||||
newPipeline.PCMedium = pipeline.PCMedium;
|
||||
newPipeline.PCtype = pipeline.PCtype;
|
||||
newPipeline.MaterialId = pipeline.MaterialId;
|
||||
newPipeline.State = pipeline.State;
|
||||
newPipeline.FlowingSection = pipeline.FlowingSection;
|
||||
db.HJGL_Pipeline.InsertOnSubmit(newPipeline);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue