This commit is contained in:
chi
2021-02-22 20:13:19 +09:00
parent 55510b84b8
commit 71698b5d8b
138 changed files with 19619 additions and 6658 deletions

1676
JobReportMailService/DataSet1.Designer.cs generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>

View File

@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CS" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CS (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.JobReportMailService.Properties.Settings.GlobalReference.Default.CS" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="vMailingProjectScheduleTableAdapter" GeneratorDataComponentClassName="vMailingProjectScheduleTableAdapter" Name="vMailingProjectSchedule" UserDataComponentName="vMailingProjectScheduleTableAdapter">
<MainSource>
<DbSource ConnectionRef="CS (Settings)" DbObjectName="EE.dbo.vMailingProjectSchedule" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idx, pdate, name, userManager, seq, title, sw, ew, swa, progress, ewa, ww, memo, sidx
FROM vMailingProjectSchedule
ORDER BY pdate, idx, seq</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="idx" DataSetColumn="idx" />
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
<Mapping SourceColumn="name" DataSetColumn="name" />
<Mapping SourceColumn="userManager" DataSetColumn="userManager" />
<Mapping SourceColumn="seq" DataSetColumn="seq" />
<Mapping SourceColumn="title" DataSetColumn="title" />
<Mapping SourceColumn="sw" DataSetColumn="sw" />
<Mapping SourceColumn="ew" DataSetColumn="ew" />
<Mapping SourceColumn="swa" DataSetColumn="swa" />
<Mapping SourceColumn="progress" DataSetColumn="progress" />
<Mapping SourceColumn="ewa" DataSetColumn="ewa" />
<Mapping SourceColumn="ww" DataSetColumn="ww" />
<Mapping SourceColumn="memo" DataSetColumn="memo" />
<Mapping SourceColumn="sidx" DataSetColumn="sidx" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="vMailingProjectSchedule" msprop:Generator_TableClassName="vMailingProjectScheduleDataTable" msprop:Generator_TableVarName="tablevMailingProjectSchedule" msprop:Generator_TablePropName="vMailingProjectSchedule" msprop:Generator_RowDeletingName="vMailingProjectScheduleRowDeleting" msprop:Generator_RowChangingName="vMailingProjectScheduleRowChanging" msprop:Generator_RowEvHandlerName="vMailingProjectScheduleRowChangeEventHandler" msprop:Generator_RowDeletedName="vMailingProjectScheduleRowDeleted" msprop:Generator_UserTableName="vMailingProjectSchedule" msprop:Generator_RowChangedName="vMailingProjectScheduleRowChanged" msprop:Generator_RowEvArgName="vMailingProjectScheduleRowChangeEvent" msprop:Generator_RowClassName="vMailingProjectScheduleRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="pdate" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="userManager" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="userManager" msprop:Generator_ColumnVarNameInTable="columnuserManager" msprop:Generator_ColumnPropNameInTable="userManagerColumn" msprop:Generator_UserColumnName="userManager" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="seq" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="seq" msprop:Generator_ColumnVarNameInTable="columnseq" msprop:Generator_ColumnPropNameInTable="seqColumn" msprop:Generator_UserColumnName="seq" type="xs:int" minOccurs="0" />
<xs:element name="title" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="title" msprop:Generator_ColumnVarNameInTable="columntitle" msprop:Generator_ColumnPropNameInTable="titleColumn" msprop:Generator_UserColumnName="title" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sw" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="sw" msprop:Generator_ColumnVarNameInTable="columnsw" msprop:Generator_ColumnPropNameInTable="swColumn" msprop:Generator_UserColumnName="sw" type="xs:int" minOccurs="0" />
<xs:element name="ew" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="ew" msprop:Generator_ColumnVarNameInTable="columnew" msprop:Generator_ColumnPropNameInTable="ewColumn" msprop:Generator_UserColumnName="ew" type="xs:int" minOccurs="0" />
<xs:element name="swa" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="swa" msprop:Generator_ColumnVarNameInTable="columnswa" msprop:Generator_ColumnPropNameInTable="swaColumn" msprop:Generator_UserColumnName="swa" type="xs:int" minOccurs="0" />
<xs:element name="progress" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="progress" msprop:Generator_ColumnVarNameInTable="columnprogress" msprop:Generator_ColumnPropNameInTable="progressColumn" msprop:Generator_UserColumnName="progress" type="xs:int" minOccurs="0" />
<xs:element name="ewa" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="ewa" msprop:Generator_ColumnVarNameInTable="columnewa" msprop:Generator_ColumnPropNameInTable="ewaColumn" msprop:Generator_UserColumnName="ewa" type="xs:int" minOccurs="0" />
<xs:element name="ww" msdata:ReadOnly="true" msprop:nullValue="0" msprop:Generator_ColumnPropNameInRow="ww" msprop:Generator_ColumnVarNameInTable="columnww" msprop:Generator_ColumnPropNameInTable="wwColumn" msprop:Generator_UserColumnName="ww" type="xs:int" minOccurs="0" />
<xs:element name="memo" msprop:nullValue="_empty" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sidx" msprop:Generator_ColumnVarNameInTable="columnsidx" msprop:Generator_ColumnPropNameInRow="sidx" msprop:Generator_ColumnPropNameInTable="sidxColumn" msprop:Generator_UserColumnName="sidx" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:vMailingProjectSchedule" />
<xs:field xpath="mstns:sidx" />
<xs:field xpath="mstns:idx" />
</xs:unique>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:vMailingProjectSchedule" ZOrder="1" X="303" Y="117" Height="400" Width="289" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="349" />
</Shapes>
<Connectors />
</DiagramLayout>

View File

@@ -34,5 +34,6 @@ namespace JobReportMailService
public System.DateTime wdate { get; set; } public System.DateTime wdate { get; set; }
public string description2 { get; set; } public string description2 { get; set; }
public string tag { get; set; } public string tag { get; set; }
public Nullable<bool> autoinput { get; set; }
} }
} }

View File

@@ -5,7 +5,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{DBE5BD4A-09D3-4437-AD6C-81FE270C6458}</ProjectGuid> <ProjectGuid>{DBE5BD4A-09D3-4437-AD6C-81FE270C6458}</ProjectGuid>
<OutputType>Exe</OutputType> <OutputType>WinExe</OutputType>
<RootNamespace>JobReportMailService</RootNamespace> <RootNamespace>JobReportMailService</RootNamespace>
<AssemblyName>JobReportMailService</AssemblyName> <AssemblyName>JobReportMailService</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
@@ -31,6 +31,9 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="ArSetting.Net4"> <Reference Include="ArSetting.Net4">
<HintPath>..\DLL\ArSetting.Net4.dll</HintPath> <HintPath>..\DLL\ArSetting.Net4.dll</HintPath>
@@ -44,8 +47,10 @@
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" /> <Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Security" /> <Reference Include="System.Security" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
@@ -55,6 +60,41 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="CSetting.cs" /> <Compile Include="CSetting.cs" />
<Compile Include="DataSet1.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DataSet1.xsd</DependentUpon>
</Compile>
<Compile Include="fChildBase.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fChildBase.Designer.cs">
<DependentUpon>fChildBase.cs</DependentUpon>
</Compile>
<Compile Include="fScheduleDayWeek.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fScheduleDayWeek.Designer.cs">
<DependentUpon>fScheduleDayWeek.cs</DependentUpon>
</Compile>
<Compile Include="fScheduleDay.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fScheduleDay.Designer.cs">
<DependentUpon>fScheduleDay.cs</DependentUpon>
</Compile>
<Compile Include="fJobReportWeek.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fJobReportWeek.Designer.cs">
<DependentUpon>fJobReportWeek.cs</DependentUpon>
</Compile>
<Compile Include="fJobReportDay.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="fJobReportDay.Designer.cs">
<DependentUpon>fJobReportDay.cs</DependentUpon>
</Compile>
<Compile Include="HolidayLIst.cs"> <Compile Include="HolidayLIst.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
@@ -67,6 +107,12 @@
<Compile Include="MailForm.cs"> <Compile Include="MailForm.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="MDIParent1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MDIParent1.Designer.cs">
<DependentUpon>MDIParent1.cs</DependentUpon>
</Compile>
<Compile Include="Model1.Context.cs"> <Compile Include="Model1.Context.cs">
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
@@ -82,8 +128,7 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>Model1.edmx</DependentUpon> <DependentUpon>Model1.edmx</DependentUpon>
</Compile> </Compile>
<Compile Include="ProgramWeek.cs" /> <Compile Include="Program_bak.cs" />
<Compile Include="ProgramDay.cs" />
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Settings.Designer.cs"> <Compile Include="Properties\Settings.Designer.cs">
@@ -91,6 +136,7 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput> <DesignTimeSharedInput>True</DesignTimeSharedInput>
<DependentUpon>Settings.settings</DependentUpon> <DependentUpon>Settings.settings</DependentUpon>
</Compile> </Compile>
<Compile Include="Pub.cs" />
<Compile Include="ReportUserData.cs" /> <Compile Include="ReportUserData.cs" />
<Compile Include="vGroupUser.cs"> <Compile Include="vGroupUser.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
@@ -98,6 +144,9 @@
<Compile Include="vJobReportForUser.cs"> <Compile Include="vJobReportForUser.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="vMailingProjectSchedule.cs">
<DependentUpon>Model1.tt</DependentUpon>
</Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="App.config" /> <None Include="App.config" />
@@ -105,6 +154,17 @@
<Generator>EntityModelCodeGenerator</Generator> <Generator>EntityModelCodeGenerator</Generator>
<LastGenOutput>Model1.Designer.cs</LastGenOutput> <LastGenOutput>Model1.Designer.cs</LastGenOutput>
</EntityDeploy> </EntityDeploy>
<None Include="DataSet1.xsc">
<DependentUpon>DataSet1.xsd</DependentUpon>
</None>
<None Include="DataSet1.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DataSet1.Designer.cs</LastGenOutput>
</None>
<None Include="DataSet1.xss">
<DependentUpon>DataSet1.xsd</DependentUpon>
</None>
<None Include="Model1.edmx.diagram"> <None Include="Model1.edmx.diagram">
<DependentUpon>Model1.edmx</DependentUpon> <DependentUpon>Model1.edmx</DependentUpon>
</None> </None>
@@ -129,5 +189,25 @@
<ItemGroup> <ItemGroup>
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" /> <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<EmbeddedResource Include="fChildBase.resx">
<DependentUpon>fChildBase.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="fScheduleDayWeek.resx">
<DependentUpon>fScheduleDayWeek.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="fScheduleDay.resx">
<DependentUpon>fScheduleDay.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="fJobReportWeek.resx">
<DependentUpon>fJobReportWeek.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="fJobReportDay.resx">
<DependentUpon>fJobReportDay.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="MDIParent1.resx">
<DependentUpon>MDIParent1.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

View File

@@ -0,0 +1,579 @@

namespace JobReportMailService
{
partial class MDIParent1
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 리소스를 삭제해야 하면 true이고, 그렇지 않으면 false입니다.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form
/// <summary>
/// 디자이너 지원에 필요한 메서드입니다.
/// 이 메서드의 내용을 코드 편집기로 수정하지 마세요.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MDIParent1));
this.menuStrip = new System.Windows.Forms.MenuStrip();
this.fileMenu = new System.Windows.Forms.ToolStripMenuItem();
this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.printToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.printPreviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.printSetupToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.editMenu = new System.Windows.Forms.ToolStripMenuItem();
this.undoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.redoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
this.cutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.pasteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
this.selectAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.viewMenu = new System.Windows.Forms.ToolStripMenuItem();
this.toolBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusBarToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolsMenu = new System.Windows.Forms.ToolStripMenuItem();
this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.windowsMenu = new System.Windows.Forms.ToolStripMenuItem();
this.newWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cascadeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tileVerticalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tileHorizontalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.closeAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.arrangeIconsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.helpMenu = new System.Windows.Forms.ToolStripMenuItem();
this.contentsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.indexToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStrip = new System.Windows.Forms.ToolStrip();
this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
this.printToolStripButton = new System.Windows.Forms.ToolStripButton();
this.statusStrip = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.menuStrip.SuspendLayout();
this.toolStrip.SuspendLayout();
this.statusStrip.SuspendLayout();
this.SuspendLayout();
//
// menuStrip
//
this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileMenu,
this.editMenu,
this.viewMenu,
this.toolsMenu,
this.windowsMenu,
this.helpMenu});
this.menuStrip.Location = new System.Drawing.Point(0, 0);
this.menuStrip.MdiWindowListItem = this.windowsMenu;
this.menuStrip.Name = "menuStrip";
this.menuStrip.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
this.menuStrip.Size = new System.Drawing.Size(709, 24);
this.menuStrip.TabIndex = 0;
this.menuStrip.Text = "MenuStrip";
//
// fileMenu
//
this.fileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripMenuItem,
this.openToolStripMenuItem,
this.toolStripSeparator3,
this.saveToolStripMenuItem,
this.saveAsToolStripMenuItem,
this.toolStripSeparator4,
this.printToolStripMenuItem,
this.printPreviewToolStripMenuItem,
this.printSetupToolStripMenuItem,
this.toolStripSeparator5,
this.exitToolStripMenuItem});
this.fileMenu.ImageTransparentColor = System.Drawing.SystemColors.ActiveBorder;
this.fileMenu.Name = "fileMenu";
this.fileMenu.Size = new System.Drawing.Size(57, 20);
this.fileMenu.Text = "파일(&F)";
//
// newToolStripMenuItem
//
this.newToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripMenuItem.Image")));
this.newToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
this.newToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
this.newToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.newToolStripMenuItem.Text = "새로 만들기(&N)";
this.newToolStripMenuItem.Click += new System.EventHandler(this.ShowNewForm);
//
// openToolStripMenuItem
//
this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
this.openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
this.openToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.openToolStripMenuItem.Text = "열기(&O)";
this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenFile);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(195, 6);
//
// saveToolStripMenuItem
//
this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
this.saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
this.saveToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.saveToolStripMenuItem.Text = "저장(&S)";
//
// saveAsToolStripMenuItem
//
this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem";
this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.saveAsToolStripMenuItem.Text = "다른 이름으로 저장(&A)";
this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.SaveAsToolStripMenuItem_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(195, 6);
//
// printToolStripMenuItem
//
this.printToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripMenuItem.Image")));
this.printToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.printToolStripMenuItem.Name = "printToolStripMenuItem";
this.printToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
this.printToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.printToolStripMenuItem.Text = "인쇄(&P)";
//
// printPreviewToolStripMenuItem
//
this.printPreviewToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("printPreviewToolStripMenuItem.Image")));
this.printPreviewToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.printPreviewToolStripMenuItem.Name = "printPreviewToolStripMenuItem";
this.printPreviewToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.printPreviewToolStripMenuItem.Text = "인쇄 미리 보기(&V)";
//
// printSetupToolStripMenuItem
//
this.printSetupToolStripMenuItem.Name = "printSetupToolStripMenuItem";
this.printSetupToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.printSetupToolStripMenuItem.Text = "인쇄 설정";
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(195, 6);
//
// exitToolStripMenuItem
//
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
this.exitToolStripMenuItem.Size = new System.Drawing.Size(198, 22);
this.exitToolStripMenuItem.Text = "끝내기(&X)";
this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolsStripMenuItem_Click);
//
// editMenu
//
this.editMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.undoToolStripMenuItem,
this.redoToolStripMenuItem,
this.toolStripSeparator6,
this.cutToolStripMenuItem,
this.copyToolStripMenuItem,
this.pasteToolStripMenuItem,
this.toolStripSeparator7,
this.selectAllToolStripMenuItem});
this.editMenu.Name = "editMenu";
this.editMenu.Size = new System.Drawing.Size(57, 20);
this.editMenu.Text = "편집(&E)";
//
// undoToolStripMenuItem
//
this.undoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("undoToolStripMenuItem.Image")));
this.undoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.undoToolStripMenuItem.Name = "undoToolStripMenuItem";
this.undoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z)));
this.undoToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.undoToolStripMenuItem.Text = "실행 취소(&U)";
//
// redoToolStripMenuItem
//
this.redoToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("redoToolStripMenuItem.Image")));
this.redoToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.redoToolStripMenuItem.Name = "redoToolStripMenuItem";
this.redoToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y)));
this.redoToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.redoToolStripMenuItem.Text = "다시 실행(&R)";
//
// toolStripSeparator6
//
this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(181, 6);
//
// cutToolStripMenuItem
//
this.cutToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripMenuItem.Image")));
this.cutToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.cutToolStripMenuItem.Name = "cutToolStripMenuItem";
this.cutToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X)));
this.cutToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.cutToolStripMenuItem.Text = "잘라내기(&T)";
this.cutToolStripMenuItem.Click += new System.EventHandler(this.CutToolStripMenuItem_Click);
//
// copyToolStripMenuItem
//
this.copyToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripMenuItem.Image")));
this.copyToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
this.copyToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.copyToolStripMenuItem.Text = "복사(&C)";
this.copyToolStripMenuItem.Click += new System.EventHandler(this.CopyToolStripMenuItem_Click);
//
// pasteToolStripMenuItem
//
this.pasteToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripMenuItem.Image")));
this.pasteToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem";
this.pasteToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V)));
this.pasteToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.pasteToolStripMenuItem.Text = "붙여넣기(&P)";
this.pasteToolStripMenuItem.Click += new System.EventHandler(this.PasteToolStripMenuItem_Click);
//
// toolStripSeparator7
//
this.toolStripSeparator7.Name = "toolStripSeparator7";
this.toolStripSeparator7.Size = new System.Drawing.Size(181, 6);
//
// selectAllToolStripMenuItem
//
this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem";
this.selectAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
this.selectAllToolStripMenuItem.Size = new System.Drawing.Size(184, 22);
this.selectAllToolStripMenuItem.Text = "모두 선택(&A)";
//
// viewMenu
//
this.viewMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolBarToolStripMenuItem,
this.statusBarToolStripMenuItem});
this.viewMenu.Name = "viewMenu";
this.viewMenu.Size = new System.Drawing.Size(59, 20);
this.viewMenu.Text = "보기(&V)";
//
// toolBarToolStripMenuItem
//
this.toolBarToolStripMenuItem.Checked = true;
this.toolBarToolStripMenuItem.CheckOnClick = true;
this.toolBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.toolBarToolStripMenuItem.Name = "toolBarToolStripMenuItem";
this.toolBarToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.toolBarToolStripMenuItem.Text = "도구 모음(&T)";
this.toolBarToolStripMenuItem.Click += new System.EventHandler(this.ToolBarToolStripMenuItem_Click);
//
// statusBarToolStripMenuItem
//
this.statusBarToolStripMenuItem.Checked = true;
this.statusBarToolStripMenuItem.CheckOnClick = true;
this.statusBarToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
this.statusBarToolStripMenuItem.Name = "statusBarToolStripMenuItem";
this.statusBarToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.statusBarToolStripMenuItem.Text = "상태 표시줄(&S)";
this.statusBarToolStripMenuItem.Click += new System.EventHandler(this.StatusBarToolStripMenuItem_Click);
//
// toolsMenu
//
this.toolsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.optionsToolStripMenuItem});
this.toolsMenu.Name = "toolsMenu";
this.toolsMenu.Size = new System.Drawing.Size(57, 20);
this.toolsMenu.Text = "도구(&T)";
//
// optionsToolStripMenuItem
//
this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
this.optionsToolStripMenuItem.Size = new System.Drawing.Size(115, 22);
this.optionsToolStripMenuItem.Text = "옵션(&O)";
//
// windowsMenu
//
this.windowsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newWindowToolStripMenuItem,
this.cascadeToolStripMenuItem,
this.tileVerticalToolStripMenuItem,
this.tileHorizontalToolStripMenuItem,
this.closeAllToolStripMenuItem,
this.arrangeIconsToolStripMenuItem});
this.windowsMenu.Name = "windowsMenu";
this.windowsMenu.Size = new System.Drawing.Size(50, 20);
this.windowsMenu.Text = "창(&W)";
//
// newWindowToolStripMenuItem
//
this.newWindowToolStripMenuItem.Name = "newWindowToolStripMenuItem";
this.newWindowToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.newWindowToolStripMenuItem.Text = "새 창(&N)";
this.newWindowToolStripMenuItem.Click += new System.EventHandler(this.ShowNewForm);
//
// cascadeToolStripMenuItem
//
this.cascadeToolStripMenuItem.Name = "cascadeToolStripMenuItem";
this.cascadeToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.cascadeToolStripMenuItem.Text = "계단식 배열(&C)";
this.cascadeToolStripMenuItem.Click += new System.EventHandler(this.CascadeToolStripMenuItem_Click);
//
// tileVerticalToolStripMenuItem
//
this.tileVerticalToolStripMenuItem.Name = "tileVerticalToolStripMenuItem";
this.tileVerticalToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.tileVerticalToolStripMenuItem.Text = "세로 바둑판식 배열(&V)";
this.tileVerticalToolStripMenuItem.Click += new System.EventHandler(this.TileVerticalToolStripMenuItem_Click);
//
// tileHorizontalToolStripMenuItem
//
this.tileHorizontalToolStripMenuItem.Name = "tileHorizontalToolStripMenuItem";
this.tileHorizontalToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.tileHorizontalToolStripMenuItem.Text = "가로 바둑판식 배열(&H)";
this.tileHorizontalToolStripMenuItem.Click += new System.EventHandler(this.TileHorizontalToolStripMenuItem_Click);
//
// closeAllToolStripMenuItem
//
this.closeAllToolStripMenuItem.Name = "closeAllToolStripMenuItem";
this.closeAllToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.closeAllToolStripMenuItem.Text = "모두 닫기(&L)";
this.closeAllToolStripMenuItem.Click += new System.EventHandler(this.CloseAllToolStripMenuItem_Click);
//
// arrangeIconsToolStripMenuItem
//
this.arrangeIconsToolStripMenuItem.Name = "arrangeIconsToolStripMenuItem";
this.arrangeIconsToolStripMenuItem.Size = new System.Drawing.Size(195, 22);
this.arrangeIconsToolStripMenuItem.Text = "아이콘 정렬(&A)";
this.arrangeIconsToolStripMenuItem.Click += new System.EventHandler(this.ArrangeIconsToolStripMenuItem_Click);
//
// helpMenu
//
this.helpMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.contentsToolStripMenuItem,
this.indexToolStripMenuItem,
this.searchToolStripMenuItem,
this.toolStripSeparator8,
this.aboutToolStripMenuItem});
this.helpMenu.Name = "helpMenu";
this.helpMenu.Size = new System.Drawing.Size(72, 20);
this.helpMenu.Text = "도움말(&H)";
//
// contentsToolStripMenuItem
//
this.contentsToolStripMenuItem.Name = "contentsToolStripMenuItem";
this.contentsToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F1)));
this.contentsToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
this.contentsToolStripMenuItem.Text = "목차(&C)";
//
// indexToolStripMenuItem
//
this.indexToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("indexToolStripMenuItem.Image")));
this.indexToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.indexToolStripMenuItem.Name = "indexToolStripMenuItem";
this.indexToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
this.indexToolStripMenuItem.Text = "색인(&I)";
//
// searchToolStripMenuItem
//
this.searchToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("searchToolStripMenuItem.Image")));
this.searchToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Black;
this.searchToolStripMenuItem.Name = "searchToolStripMenuItem";
this.searchToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
this.searchToolStripMenuItem.Text = "검색(&S)";
//
// toolStripSeparator8
//
this.toolStripSeparator8.Name = "toolStripSeparator8";
this.toolStripSeparator8.Size = new System.Drawing.Size(158, 6);
//
// aboutToolStripMenuItem
//
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(161, 22);
this.aboutToolStripMenuItem.Text = "정보(&A)... ...";
//
// toolStrip
//
this.toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.newToolStripButton,
this.openToolStripButton,
this.toolStripSeparator1,
this.saveToolStripButton,
this.printToolStripButton});
this.toolStrip.Location = new System.Drawing.Point(0, 24);
this.toolStrip.Name = "toolStrip";
this.toolStrip.Size = new System.Drawing.Size(709, 25);
this.toolStrip.TabIndex = 1;
this.toolStrip.Text = "ToolStrip";
//
// newToolStripButton
//
this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
this.newToolStripButton.Name = "newToolStripButton";
this.newToolStripButton.Size = new System.Drawing.Size(95, 22);
this.newToolStripButton.Text = "업무일지(일)";
this.newToolStripButton.Click += new System.EventHandler(this.ShowNewForm);
//
// openToolStripButton
//
this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
this.openToolStripButton.Name = "openToolStripButton";
this.openToolStripButton.Size = new System.Drawing.Size(95, 22);
this.openToolStripButton.Text = "업무일지(주)";
this.openToolStripButton.Click += new System.EventHandler(this.OpenFile);
//
// saveToolStripButton
//
this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
this.saveToolStripButton.Name = "saveToolStripButton";
this.saveToolStripButton.Size = new System.Drawing.Size(83, 22);
this.saveToolStripButton.Text = "스케쥴(일)";
this.saveToolStripButton.Click += new System.EventHandler(this.saveToolStripButton_Click);
//
// printToolStripButton
//
this.printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Black;
this.printToolStripButton.Name = "printToolStripButton";
this.printToolStripButton.Size = new System.Drawing.Size(83, 22);
this.printToolStripButton.Text = "스케쥴(주)";
this.printToolStripButton.Click += new System.EventHandler(this.printToolStripButton_Click);
//
// statusStrip
//
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripStatusLabel});
this.statusStrip.Location = new System.Drawing.Point(0, 536);
this.statusStrip.Name = "statusStrip";
this.statusStrip.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0);
this.statusStrip.Size = new System.Drawing.Size(709, 22);
this.statusStrip.TabIndex = 2;
this.statusStrip.Text = "StatusStrip";
//
// toolStripStatusLabel
//
this.toolStripStatusLabel.Name = "toolStripStatusLabel";
this.toolStripStatusLabel.Size = new System.Drawing.Size(31, 17);
this.toolStripStatusLabel.Text = "상태";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// MDIParent1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(709, 558);
this.Controls.Add(this.statusStrip);
this.Controls.Add(this.toolStrip);
this.Controls.Add(this.menuStrip);
this.IsMdiContainer = true;
this.MainMenuStrip = this.menuStrip;
this.Name = "MDIParent1";
this.Text = "MDIParent1";
this.menuStrip.ResumeLayout(false);
this.menuStrip.PerformLayout();
this.toolStrip.ResumeLayout(false);
this.toolStrip.PerformLayout();
this.statusStrip.ResumeLayout(false);
this.statusStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip;
private System.Windows.Forms.ToolStrip toolStrip;
private System.Windows.Forms.StatusStrip statusStrip;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
private System.Windows.Forms.ToolStripMenuItem printSetupToolStripMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel;
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem tileHorizontalToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem fileMenu;
private System.Windows.Forms.ToolStripMenuItem newToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveAsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem printToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem printPreviewToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem editMenu;
private System.Windows.Forms.ToolStripMenuItem undoToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem redoToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem cutToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem copyToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem pasteToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem selectAllToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem viewMenu;
private System.Windows.Forms.ToolStripMenuItem toolBarToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem statusBarToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem toolsMenu;
private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem windowsMenu;
private System.Windows.Forms.ToolStripMenuItem newWindowToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem cascadeToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem tileVerticalToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem closeAllToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem arrangeIconsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem helpMenu;
private System.Windows.Forms.ToolStripMenuItem contentsToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem indexToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem;
private System.Windows.Forms.ToolStripButton newToolStripButton;
private System.Windows.Forms.ToolStripButton openToolStripButton;
private System.Windows.Forms.ToolStripButton saveToolStripButton;
private System.Windows.Forms.ToolStripButton printToolStripButton;
private System.Windows.Forms.ToolTip toolTip;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
}
}

View File

@@ -0,0 +1,120 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace JobReportMailService
{
public partial class MDIParent1 : Form
{
private int childFormNumber = 0;
public MDIParent1()
{
InitializeComponent();
}
private void ShowNewForm(object sender, EventArgs e)
{
Form childForm = new fJobReportDay();
childForm.MdiParent = this;
//childForm.Text = "창 " + childFormNumber++;
childForm.Show();
}
private void OpenFile(object sender, EventArgs e)
{
Form childForm = new fJobReportWeek();
childForm.MdiParent = this;
//childForm.Text = "창 " + childFormNumber++;
childForm.Show();
}
private void SaveAsToolStripMenuItem_Click(object sender, EventArgs e)
{
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
saveFileDialog.Filter = "텍스트 파일 (*.txt)|*.txt|모든 파일 (*.*)|*.*";
if (saveFileDialog.ShowDialog(this) == DialogResult.OK)
{
string FileName = saveFileDialog.FileName;
}
}
private void ExitToolsStripMenuItem_Click(object sender, EventArgs e)
{
this.Close();
}
private void CutToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void CopyToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void PasteToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void ToolBarToolStripMenuItem_Click(object sender, EventArgs e)
{
toolStrip.Visible = toolBarToolStripMenuItem.Checked;
}
private void StatusBarToolStripMenuItem_Click(object sender, EventArgs e)
{
statusStrip.Visible = statusBarToolStripMenuItem.Checked;
}
private void CascadeToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.Cascade);
}
private void TileVerticalToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.TileVertical);
}
private void TileHorizontalToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.TileHorizontal);
}
private void ArrangeIconsToolStripMenuItem_Click(object sender, EventArgs e)
{
LayoutMdi(MdiLayout.ArrangeIcons);
}
private void CloseAllToolStripMenuItem_Click(object sender, EventArgs e)
{
foreach (Form childForm in MdiChildren)
{
childForm.Close();
}
}
private void saveToolStripButton_Click(object sender, EventArgs e)
{
Form childForm = new fScheduleDay();
childForm.MdiParent = this;
//childForm.Text = "창 " + childFormNumber++;
childForm.Show();
}
private void printToolStripButton_Click(object sender, EventArgs e)
{
Form childForm = new fScheduleDayWeek();
childForm.MdiParent = this;
//childForm.Text = "창 " + childFormNumber++;
childForm.Show();
}
}
}

View File

@@ -0,0 +1,372 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="menuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="newToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAELSURBVDhPrZDJasJQGIXzUvoO9TX0jcQuSulCLUUECwot
KtrSAbQWRDTg0CLBCY1xqmkcYo7c8ItJYy9Z+MHhLu453+IXzkbypY6/SeRriKXLiKaKZqh6Gjb4j+v4
M7y+AF9y/yRS3UkomkbmvcaXxLMVqjsJhh/N8SE0sXP38El1J1t9Z0oOIprYiSQLVLdjGAZUbYOhopoC
z4X/tOAm8UoTO+uNjslcgzSY8wVXsTxNjug7Awt1jb68RFOa8AWXtxmaHdFWW8jTX7R7M1RbMl/APq2w
w81+VugMF6i3FZTEgXuB9XBfnSkqjRHeyl33AuvhxO8xitU+ch+SOwF7eeEK2Keb0OQcCMIe3/X1lqrb
NIsAAAAASUVORK5CYII=
</value>
</data>
<data name="openToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJYSURBVDhPvZFbSBNQHIf30ENPFmlRCEWWhD0MA0Oqh5Ck
m6KUZoWRJpS3LhiKbVPbvE53c+pKh7lN19RptTIMK4RCkQgtdZSYmgVFpZgZKnn7GptokkEP0R9+L+ec
7zs/zhH8l8kpMSPTWriSbyJPZ0WiNDK/9XcTnawjLF7lhC6IKsh0yFKyDUQllyCoN2tYLo218j/ekiAp
JTxRRWh8oUvQ22VkcrTOmR8jFqaHDFhNKmzm7GUlYQlqQuO0BMcWI6irVDMxUr0Env1UyrQ9ieqKfKrK
cjGUZKIvzOC6UkyxPHWptMaoYOKLcQGec8D0isEeu2x+E9wsl/P9o34BbqpXOPPAWkCDRc6dqlyshiws
ehkm3VVuaNMoU4vRKUQuWZU+l7F3Rc7aAy1SbNVqZgdkMJi9NG8da/0S6EmGV4l01kZwKSYEgUGXxbe+
fHiv5G6NiraHStehX6u/jIL2cGZag5h8FMCbSiHnTx9wCcq1Ur6+ljHYmo7NomSuXwrdcS6wM8YBnmCm
LYTJ5v2MNe5huH4HsnhvTgZ6uN6iVJ3OcJeIW2YFHU8dTXqSHIKz0HGKuWdHmHpyiPGmvYzY/Phc40N7
zmoig7zw2+bmEugKxHQ3Z3DbXAB9GfDCUff5MaZaghl/HMBogz9DViEfjFuxK92Rxm7Bd7vn4k8U5aVS
Z8rHfi+Bdo1gIW3KFTTLV3I/cxW1aWsxpHpy7fImIg9vxt9346JAk52CRnqOPFE0kovHnQ9zJiKQowd3
sW+3kJ1Cb3y8PNm4wYN1a9xY7z5f/d+MQPATMS7uX9kMtOAAAAAASUVORK5CYII=
</value>
</data>
<data name="saveToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIvSURBVDhPrZLdS9NRGMd//0L33QRddFtTYzgXq8GvXENZ
Ngwrwl5+kWZpukwTFSvTqPkG2QqXTlqtJuGkIl/AFCkRZSpZmrmiJQ41xSaCwdfznP3yuIouogeem8P5
fM55XqT/Es+fhUHpa11Ci3cRD93zaGoM4a5jGnW1X2C/FcD18kmUloyjsOAt8nJHcP6cHyouSQR2dQK1
NSv4WyyvrMKU2oVDqU95qrgkeZ8scEFlxTf16u9BcGh+GbssL6DRKLAe9AiB+8EcF5SWfFWvR8dP+GNw
ATFmHwouTeGApVkInA0zXHDR9kFFRGyEhydC2CZ7kZM9huQkpxDU3w5yQdbZERWLxK9wnz+IzQY3FGUA
ZrNDCGqqP3OBcmpARf8Md/Z/wqb4Rhw+8gqJiXVCcKNyCh3tYKMEjh1/A+vRXt5tahjVTN+mlyNwN1Ks
LyHLdiG4UjaBNh/YDgDNrh9s7t9Rfm2WN5UaRjVnZvjX4f3JrTAaK4TgcuEYPI+A+85VtjhhmNKyo9KS
bkPamaIInMTgfR4YDGVCYMsbZTBQXRXmLxNE5zE6GYPvZzA6OQsl9yr2mFo4rNvtgl5fJAS0lo47WP82
CQg+nX8T7wJzCEwv4kKxHbEGF4ObEJtwD7r4fCHIzBhidS9xeKvRgy07ZDxu64GvvQ8d3f3ofT2IvWYr
NPoGxDF4u7YeWm1OtODkiR6+nrRhtCQ0ZxoVdZsaRjXTq5QE74zLEoJ/D0laA2xoOmtG+TV7AAAAAElF
TkSuQmCC
</value>
</data>
<data name="printToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIqSURBVDhPrZL7T1JxAMVZP/b/tLa2Wm21mail1YZlRjid
k6JhTApClhGmktrDWlKjK3OBDrLAMWJaY9MZZJbo0umWQIEFXRPQMB6ne788HFpbW322s93d3fM598X5
7xjtUxh0vId5dOaPMY14kL18O6zgrcePrWz8TMIbWMGgbQIlZy6DW31pu4Qts0ml0gjRETjdH0iGHC4Y
LONwz/hQJVITQbZSiN7qxsfPdHYzA7u8Go1jdnEZJruLLP92XWsaB5sks+4LhgvWbc5puDxeVDaocOSs
HBrtM9zps21KFJ1PSHnENZ9fzS0HwzHML4XRa3CglC+Dsqsfj0xjKGVEpNzUpof6/hAoyxs8MDqhf/4a
tyk7rt4yQtyiBb+xA+U1ChSfluLkuevo1lkhUWlRnHuMm49fIBKLk+WtJJIprMcT5E6+0uv49CUKeTuF
OmkXcweyjEB1zwzLq3d46nCDMr/E3b5hqHsGIGvXQdTcA8HFDvAaWnBUIEfRKQnOM+cqhdew/7goI1B2
D8AfCGU3C4msbcAbXMVOcEh2UBzwxW0oqZZi1+GajKC504DpuSUw7ywPe/wtmsCcfw1jszQpW7OCY7UK
7KsQbgqUGgqaXhN8oTjoWBqB72ksLqcwsfADw5NR9DtXSDGXQzwxKecF9ZJWyG7oMDrpJ9/2b1IgYJGo
HqKiTokywRVwmd+0qKoJB3mNOHDiAvaWC7GnrB67ubX5YkH53+BwfgHgHTGbZU7qDAAAAABJRU5ErkJg
gg==
</value>
</data>
<data name="printPreviewToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHXSURBVDhPrZDdS1NhAIf3z4RXXkRqEd5IoCaKROWc6YVN
XMQkMFToZjcpQaatoVuiq+UkTTrFWR/OyuWmNaGoYDLtIkHUKfOjSJxuc0/7OHObx4+bHvjxvhe/33MO
r+K/IDpn2B9hzMOQ/RtW21Q8UvVgYoPD6B3+SF5J3dGSF45pqS6ny2pndNJztGT43Q+pLsfw5G18nIw0
yeTpmy9SPUUouMX45DjGRxZu39NzR99Ffpn6YEG/6JZmCba3txBHRnjvnMDnX2V+2Y9VEFFrm6jR3pJL
zIJLmiZwTLiwO5zxeygMfwO7LK2HMZifoarVyAU9Q2PxcpJus4XFFf/eePl3iNnFIDbXDJXV1XJB98Co
NE3QaexhYWUtMd4IR8c7uGcDPHzu5mJFhVwQe+l0BNGGaHfg24h+eSnI558BXn/dpKFFR2VVFfrWpkxJ
uiASifBrbo67nQb6Bl/x0uXFJLhpaNahVF1m8H4NoulGpiRdsBMMs/4ngMfr5YHRiOa6lqt19VxRXsBw
8xy+x0XsfqrF0tGYkiQFsfOwtLa1c60sh++6XBZMBazZlDRrylOC3PPqY1NYcglN6Sk+tJyhvjgbVelp
+YMeR+wv8k9mUXz2RHSsUPwDd10kHqNu+GEAAAAASUVORK5CYII=
</value>
</data>
<data name="undoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGmSURBVDhPvZHdS5MBFMb3p3TX6E7c1BTHUIc2xUbEqGUz
LaV5s6ViRvhuul0M9lFshFjmjV/bKLVajRAid6N3KYg3FkHDiWvNmXt3++udDiMd4nthD5ybc57nx+Ec
xbkqGM0TfCcysSgyuyQSlioSFymOT5d/QaRQnjmR4VAO+1SOlx8PASUhnkiKmZXDQSH05E2erkCGBtsK
NV0xKu9EaRz8xlisBKDQGJ7aYeKziD0k8vRtHrN3G51tGc39RdS3X9Fgfc/l9lmM7gzTkq8Y/au+sW16
nu/zYDzHTe8e1XejVHUsSOHwgdkwFKPsxiS6h5s4pnMnAZ3+JM0jaW759hkYT6NsDqBqCx0ZL2gFND1x
dANfcYRLAK45t6jo+86VkdTBJh3eHwiTv/4FWOLohSTOUoC6wQTa3g2qLcuo2j9QZnqNsuXZkbHCPE+t
ZQmD6ye20cRJwHEdv/RFfUBaf5Pu4C4+6b3F9tlVde8T191ZjMIXeWGzfxetdZWrriytj9a5ZHghD9D0
OCGFf9PUv0a5KSJ/dZP01vr+DdRtc/LD/0EKxR+XdBDBXAMPDQAAAABJRU5ErkJggg==
</value>
</data>
<data name="redoToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGVSURBVDhPzZHdK0NhHMf3p7jBknbBNpqbc+FtttrUrBim
LEJeRo0lzMsK2S6M5D3vJjXFJinhZu64WolQu9FaXjrnuf56nrOl5kTIhW99L56e7/dzfuf3yP5MO+cE
/jOCLeqlY4KJgADnioDk9ddiZebFI4KBdQGD2wLcOwJ6VimEOhn7XKw8e0hQ4nxAXt0BNLYQuNYwbD4e
9gUB9sUEZPOCgOuMSIEbpwTm0SeoLcsobAtAVbMrWm3dRz2FNM7yaKGQJZoraAqL0yarCbk2BBR13yKz
bALGvkPxUlXjR65lC9nGeVSMvYqTNM/xUFqD0glcfga4Q4bWizSu/z2grN6GXDcJx0IcFg8P3VAcioo1
KWCYAnQDjzTsSwFMBQmY2Ze1QzGou+4h109LAR0zUZS748ip3E0BsIVp6D8rrSEoTOtiOb14XArw7BE0
+J5R5Lihe5hMCUgW9pnM/Zcwjb4g33byvcJHZdFtG3ojMIy8gGu/Qq33+ecgBtE7r2F08yjtjf5uEiad
K4Yq+mzJ47+WTPYGxTcHtykTmrAAAAAASUVORK5CYII=
</value>
</data>
<data name="cutToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGhSURBVDhPYyAG/AcCKJMwWLlp///ZyzbBNYA033nw9H91
6xTiDJk8d83/nmmL/1e1zgRr+Pb9x//Vm/b8T8mpIt4Vk2av/D95zmqQ5f+fvXjzPy2/5r+YEB8J3ti4
73/X5IX/T5y5+P/gsXP/w+KzSTNg4aod/7unLPrfO23h//LGvv8+QdHEawaBzokL/5c09P1Pzqv7Hxqb
+d/NO4g0A0AgIa/lf1hC4f+QtLb//gktxBsQ3fHuf0Tn6/8hzQ/+e5ed+u9Tfva/X9Xl/z6lp/+7Ze/E
b1BE+6v/kT3v/gc33PlvHT3vv2lQ33+3vH3//auv/ncFaraKmY/fgLD25//D2p7+d0zbANZsGtT737vk
1H//yqv/nTI2/TcJ7sdvQGjLo/9Bjff+O6Vu+m8c0A02IABou2/F2f8WEdP+aztk4TcguOnef/+yS//t
ktf8N/SBBJx3yfH/dkmr/mvaJP+XkdfEb4Bf5cX/9kmrgbZ3/Vc3CwcnHvuUNf+1rBP+q5tH/Df2b8dv
gHPGlv9mIZP+a1jF/jf0qsGvmDqAgQEAkYXpGFtqYpEAAAAASUVORK5CYII=
</value>
</data>
<data name="copyToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHgSURBVDhPvZHdS1pxGMfPn7IKieq63Y/RKw0aFF1ssEEv
dOVFXXUVFQ3Wlg4H2dSo7A21jnUiKiPFylwttMy9GXMNNgUrzinLrGN98zxaVgu7GOwLn5vf+X0/D8/v
MP8cbuEbJFiblzDMuDDAfcQbLYfklfSRyrejn3CirnUID0tr7peYrd5kLZHY2Tm6hudgcXjxrEF5v8Qw
66aixQew64DHL+C9fhrskgDTAg+jnUffLA/V+B7xojNwUzjAOUkg5eQ0BuEgikAoTILbaR/ZQX6tg0jW
GUZnstPHXscpFDMCWtg/aOz3Y3h+l86vp0ETArciIK9qgiCBOr6vtPdRRMQOH8F2YB9f/LvQTQWp1MHG
CM/WPl4qgsitmkROxSiyywcTAmnf46h4NVmu86Fe/RnvjNskuIxwKGLr9zEcmwfQsGuQPelJCYRwFF9/
huD+HoDT8wu2Tz/Q2pv4vc0jYcjVQTx/68PTtg1Cw65CVtqdEuSXVP9Fo2qDBGJ8vRAvYtN/BKtLgHlx
Dx9GncgqUqUe8q7UtK+Q4PrkS7pNy8gsUKQXVDbZETk5g27cBa15DZqxVZosldWGJWQ8fp1eUCS3xF/b
SGSX6yEr0yKruAuZhcp4uQMPHr1KL/hPYZgL78LfVeQiZg4AAAAASUVORK5CYII=
</value>
</data>
<data name="pasteToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJXSURBVDhPtZJdSFNhHMYPdGE3RR/UVVcF0U0UEVQXGYWt
sNlikdii5SK2SckmS9tGas0cunRzadoW+THUprMSpUnREBqOvmdsRh8SOSPXsnY2N+eyeDrn3UaujCDo
gYcD73mf3/+Dl/ovcvZr4bihQW+LCrL8fUgez6+edgPmuqX2CIL+DkT8V+EbqUGJmANDpQKXdWoYK4uJ
k9GE2FCMtiEe6kYs2AlLkwLRyTaUSHh4MaTE2VNcKEWb4Xcew6R9NWTC/b8D2HA8ZEWj9ijcrhrQ7+sx
MaLGW9dx9Jl5kAgy0VG6Ck8NFAoO/zJSd1ttAkBfh65UiHJFHtSFuThTwIdCzINcxIVUkIU62RoCyMvO
TAd0NuswQ3dhJmBCdLwKgeeF8LYtJ/a0LoO7aREeGTNImHXWto3pAItJi+lAC6bHKhB9eRKRZwdB9y+G
vtWOKlMvzl3qglJngVxjhkRlhLCoOh3Q3KDBlM+IyIgYU4+5CN/fhI+3VpBwSvHZbwiGYhibCCJXeh45
+eqfELO+DPSrCoQfchAeXI/QwEr4WilSmVXzTSexyeqAZ9RPwneHvNjDFyUgDdUqfB4+jZBjHejbSxGw
ZWD0GkXa/jr7HV/CTOUPQXje+OEafodsgRwcJrxr7wFkbt8Bqu5CMQIPpEx4CT71LMR4+wJ4GynImJnZ
tlMdXGE6qLcMoG/QS76st25YC+pieRF5IKktpyxmFja38j3XaxK23XHDan+SDtCXnWBeGA8i/m7k7NxC
frDbZmdOVZvPBPAnHWK2zV74m5PX/1UU9QOTNfjZ1V1+MwAAAABJRU5ErkJggg==
</value>
</data>
<data name="indexToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKWSURBVDhPjZJbSNNRHMf3HPRcYu+9Gb32VhAJ9RASlOBb
b2aIFop5GXPeyrmp8zLNec01HbmpqJvabjbndHl3JTmGbk7zroUXKD79N5XMFPzCjwMHPp9zzu/8ROdF
3eChpGSc7OxBsrIcHG1fLCE4VBMT69TVz6J5P4NUekHRMexyrVOumsBqW+OjOUC/eR5tiwdJtvN80Wm4
q3sZh+MnA9YdbNYt+vvW0esXaWqeFm409K/oNNzRGcRi3qKnZ5X2jmXaBLBVN09T4xwqlQe5fIycvKFD
wWlYbwiEQYMhSIt2gcZGLzU1s5SXT6NQjJKfP8KLZDMJz42caNhmGNa2zKPTLaB556O+bo6W9gCy1k1i
S/eJke0gqQkgL58k/pkRffvgoUDbOoVc4aauwcvb6q9UlnlQlkyh1gVJ0kKVFT4vCOWHevsvHuf5aTN7
mPP7EIklNrS6SSRSO7LiYWRFo7wpdFPb7CVRA7phWFzaJqPAxL0n6vBqcO1yJ9FNodKF6GWKEd9yAJNl
jLT0PsRiW/jPc5tWUFkI5xgeGfOH19J6J1LNEnHxJkQZWRqKlb0sbQeZXxXeV2JBmmvnYcEGhrFDQSih
W4QEtx5UUtE8StPAARHXKxC9LhoSTu4XyojZMcXGwXeszi9EiwPoTwh2fuyH4ZQcE3MrQi8se1yJzP87
B5IcO+mZfRSX2fAGF1B1LyLv3D3CwSmcLq9x4RXgKaGZyaUeomPU/09keqaZV4Koy/KNu8njdLkP2PsN
xk9+om4XM7MIFV1rXL6pJE9pOXukM8UWUtN6aWib4UasCXGtD61jj2brLkmKGS5FKUhI/cDAaOBswXFU
1W6KlE7inrYTcS2Xq5EZ3H9UhUxlY2gyKMAi0R+3BHAuvd7mVQAAAABJRU5ErkJggg==
</value>
</data>
<data name="searchToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALGSURBVDhPldL/T01xHMfx/hczs8VmmC/zg1i7oa6pOXVL
Jbrqlm5fbrluSqV7uynpdq/qtoh7C9Ei3eu0fBnKl6yFmSRkWF93VUZ2Q/Z0P2OuxmZe2/ntvB/nfD7v
V8Dvya2UEY+hwk2+VcZY28n+Cheph86jKWzm52t/T15VBwdtMs6ubq6+7EMe7sA5VESGnIRkOklirhN1
XuPfkQMWGZNDprX/Mg8+PGFgdpScthIsL/JJuaRkg7mcGFMP0YYGEvQn5iN68bs2N3W9VjrGHdyc6qVv
pp8Br4eWERdJdjMK+1PW2NpYW6NGyqxkR1atHxFAsVPG/rCcmiE9jrc2nMNmah87ST3TgqZukpiK1yw9
G8Hi06GsN6YTlVblB7LL2qlzv8EkW9h7fyuZvWHoHAZymnzHOn4Rk7UBQ3kl8dYUAqsVBJaFE6Ep9wMZ
5jbqr8xSWF+P8qyCLXI06lor1Y0urnXdZszzjrfjHpoutBOXp2VBSQjKRJMf0Bpbsbq9HGjyEG9QE1q/
G11TMZ03uhD5Ogcfvd8YnZrD1nCeddoINscX+IG9h1rIrHmF9vhnNNYhwnO1vnUeYWTC82t4/P1XBke+
4Op+RkRcLMHRBj+QUnSO1NJbJB77RIJlimjjHfaXmhiemPwxPD3nG/5Mz6CXutYetkmRBEk6PyAaJkqy
q+QBqsPjKIp6kYw62jtvMDbt+/LoF+4993K5b4Y0fQFh0k6K87P9gIhoWJzeSdTBOyzNNrNMF0uyLosT
zW7augewX+ghbV8BkartNFtiabenU2XKmY+IhqnSq9mUYSVYnYpSY0ZKLkTasYtwSUVM5DZsuo2MnVLw
7W4CjqNZfyKiYaIkYs9iVeK2xYWJM8cog0kOW8GjgpUM24OYdEWyL2nrfOBfEUBS6HKu61ezJ2QJqtBV
/weICGTdskWErF3oGw4I+A4LpgTtu1iCBgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="toolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>126, 17</value>
</metadata>
<data name="newToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAELSURBVDhPrZDJasJQGIXzUvoO9TX0jcQuSulCLUUECwot
KtrSAbQWRDTg0CLBCY1xqmkcYo7c8ItJYy9Z+MHhLu453+IXzkbypY6/SeRriKXLiKaKZqh6Gjb4j+v4
M7y+AF9y/yRS3UkomkbmvcaXxLMVqjsJhh/N8SE0sXP38El1J1t9Z0oOIprYiSQLVLdjGAZUbYOhopoC
z4X/tOAm8UoTO+uNjslcgzSY8wVXsTxNjug7Awt1jb68RFOa8AWXtxmaHdFWW8jTX7R7M1RbMl/APq2w
w81+VugMF6i3FZTEgXuB9XBfnSkqjRHeyl33AuvhxO8xitU+ch+SOwF7eeEK2Keb0OQcCMIe3/X1lqrb
NIsAAAAASUVORK5CYII=
</value>
</data>
<data name="openToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJYSURBVDhPvZFbSBNQHIf30ENPFmlRCEWWhD0MA0Oqh5Ck
m6KUZoWRJpS3LhiKbVPbvE53c+pKh7lN19RptTIMK4RCkQgtdZSYmgVFpZgZKnn7GptokkEP0R9+L+ec
7zs/zhH8l8kpMSPTWriSbyJPZ0WiNDK/9XcTnawjLF7lhC6IKsh0yFKyDUQllyCoN2tYLo218j/ekiAp
JTxRRWh8oUvQ22VkcrTOmR8jFqaHDFhNKmzm7GUlYQlqQuO0BMcWI6irVDMxUr0Env1UyrQ9ieqKfKrK
cjGUZKIvzOC6UkyxPHWptMaoYOKLcQGec8D0isEeu2x+E9wsl/P9o34BbqpXOPPAWkCDRc6dqlyshiws
ehkm3VVuaNMoU4vRKUQuWZU+l7F3Rc7aAy1SbNVqZgdkMJi9NG8da/0S6EmGV4l01kZwKSYEgUGXxbe+
fHiv5G6NiraHStehX6u/jIL2cGZag5h8FMCbSiHnTx9wCcq1Ur6+ljHYmo7NomSuXwrdcS6wM8YBnmCm
LYTJ5v2MNe5huH4HsnhvTgZ6uN6iVJ3OcJeIW2YFHU8dTXqSHIKz0HGKuWdHmHpyiPGmvYzY/Phc40N7
zmoig7zw2+bmEugKxHQ3Z3DbXAB9GfDCUff5MaZaghl/HMBogz9DViEfjFuxK92Rxm7Bd7vn4k8U5aVS
Z8rHfi+Bdo1gIW3KFTTLV3I/cxW1aWsxpHpy7fImIg9vxt9346JAk52CRnqOPFE0kovHnQ9zJiKQowd3
sW+3kJ1Cb3y8PNm4wYN1a9xY7z5f/d+MQPATMS7uX9kMtOAAAAAASUVORK5CYII=
</value>
</data>
<data name="saveToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIvSURBVDhPrZLdS9NRGMd//0L33QRddFtTYzgXq8GvXENZ
Ngwrwl5+kWZpukwTFSvTqPkG2QqXTlqtJuGkIl/AFCkRZSpZmrmiJQ41xSaCwdfznP3yuIouogeem8P5
fM55XqT/Es+fhUHpa11Ci3cRD93zaGoM4a5jGnW1X2C/FcD18kmUloyjsOAt8nJHcP6cHyouSQR2dQK1
NSv4WyyvrMKU2oVDqU95qrgkeZ8scEFlxTf16u9BcGh+GbssL6DRKLAe9AiB+8EcF5SWfFWvR8dP+GNw
ATFmHwouTeGApVkInA0zXHDR9kFFRGyEhydC2CZ7kZM9huQkpxDU3w5yQdbZERWLxK9wnz+IzQY3FGUA
ZrNDCGqqP3OBcmpARf8Md/Z/wqb4Rhw+8gqJiXVCcKNyCh3tYKMEjh1/A+vRXt5tahjVTN+mlyNwN1Ks
LyHLdiG4UjaBNh/YDgDNrh9s7t9Rfm2WN5UaRjVnZvjX4f3JrTAaK4TgcuEYPI+A+85VtjhhmNKyo9KS
bkPamaIInMTgfR4YDGVCYMsbZTBQXRXmLxNE5zE6GYPvZzA6OQsl9yr2mFo4rNvtgl5fJAS0lo47WP82
CQg+nX8T7wJzCEwv4kKxHbEGF4ObEJtwD7r4fCHIzBhidS9xeKvRgy07ZDxu64GvvQ8d3f3ofT2IvWYr
NPoGxDF4u7YeWm1OtODkiR6+nrRhtCQ0ZxoVdZsaRjXTq5QE74zLEoJ/D0laA2xoOmtG+TV7AAAAAElF
TkSuQmCC
</value>
</data>
<data name="printToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIqSURBVDhPrZL7T1JxAMVZP/b/tLa2Wm21mail1YZlRjid
k6JhTApClhGmktrDWlKjK3OBDrLAMWJaY9MZZJbo0umWQIEFXRPQMB6ne788HFpbW322s93d3fM598X5
7xjtUxh0vId5dOaPMY14kL18O6zgrcePrWz8TMIbWMGgbQIlZy6DW31pu4Qts0ml0gjRETjdH0iGHC4Y
LONwz/hQJVITQbZSiN7qxsfPdHYzA7u8Go1jdnEZJruLLP92XWsaB5sks+4LhgvWbc5puDxeVDaocOSs
HBrtM9zps21KFJ1PSHnENZ9fzS0HwzHML4XRa3CglC+Dsqsfj0xjKGVEpNzUpof6/hAoyxs8MDqhf/4a
tyk7rt4yQtyiBb+xA+U1ChSfluLkuevo1lkhUWlRnHuMm49fIBKLk+WtJJIprMcT5E6+0uv49CUKeTuF
OmkXcweyjEB1zwzLq3d46nCDMr/E3b5hqHsGIGvXQdTcA8HFDvAaWnBUIEfRKQnOM+cqhdew/7goI1B2
D8AfCGU3C4msbcAbXMVOcEh2UBzwxW0oqZZi1+GajKC504DpuSUw7ywPe/wtmsCcfw1jszQpW7OCY7UK
7KsQbgqUGgqaXhN8oTjoWBqB72ksLqcwsfADw5NR9DtXSDGXQzwxKecF9ZJWyG7oMDrpJ9/2b1IgYJGo
HqKiTokywRVwmd+0qKoJB3mNOHDiAvaWC7GnrB67ubX5YkH53+BwfgHgHTGbZU7qDAAAAABJRU5ErkJg
gg==
</value>
</data>
<metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>225, 17</value>
</metadata>
<metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>335, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>51</value>
</metadata>
</root>

View File

@@ -31,5 +31,6 @@ namespace JobReportMailService
public virtual DbSet<vJobReportForUser> vJobReportForUser { get; set; } public virtual DbSet<vJobReportForUser> vJobReportForUser { get; set; }
public virtual DbSet<HolidayLIst> HolidayLIst { get; set; } public virtual DbSet<HolidayLIst> HolidayLIst { get; set; }
public virtual DbSet<MailForm> MailForm { get; set; } public virtual DbSet<MailForm> MailForm { get; set; }
public virtual DbSet<vMailingProjectSchedule> vMailingProjectSchedule { get; set; }
} }
} }

View File

@@ -40,6 +40,7 @@
<Property Name="wdate" Type="smalldatetime" Nullable="false" /> <Property Name="wdate" Type="smalldatetime" Nullable="false" />
<Property Name="description2" Type="nvarchar(max)" /> <Property Name="description2" Type="nvarchar(max)" />
<Property Name="tag" Type="varchar" MaxLength="255" /> <Property Name="tag" Type="varchar" MaxLength="255" />
<Property Name="autoinput" Type="bit" />
</EntityType> </EntityType>
<EntityType Name="MailData"> <EntityType Name="MailData">
<Key> <Key>
@@ -109,6 +110,9 @@
<Property Name="memo" Type="nvarchar" MaxLength="255" /> <Property Name="memo" Type="nvarchar" MaxLength="255" />
<Property Name="processs" Type="varchar" MaxLength="50" /> <Property Name="processs" Type="varchar" MaxLength="50" />
<Property Name="id" Type="varchar" MaxLength="20" /> <Property Name="id" Type="varchar" MaxLength="20" />
<Property Name="state" Type="varchar" MaxLength="20" />
<Property Name="useJobReport" Type="bit" />
<Property Name="useUserState" Type="bit" />
</EntityType> </EntityType>
<!--생성 중 오류 발생: <!--생성 중 오류 발생:
경고 6002: 테이블/뷰 'EE.dbo.vJobReportForUser'에 기본 키가 정의되지 않았습니다. 키가 유추되었고 읽기 전용 테이블/뷰로 정의되었습니다.--> 경고 6002: 테이블/뷰 'EE.dbo.vJobReportForUser'에 기본 키가 정의되지 않았습니다. 키가 유추되었고 읽기 전용 테이블/뷰로 정의되었습니다.-->
@@ -131,6 +135,26 @@
<Property Name="requestpart" Type="varchar" MaxLength="50" /> <Property Name="requestpart" Type="varchar" MaxLength="50" />
<Property Name="package" Type="varchar" MaxLength="50" /> <Property Name="package" Type="varchar" MaxLength="50" />
</EntityType> </EntityType>
<!--생성 중 오류 발생:
경고 6002: 테이블/뷰 'EE.dbo.vMailingProjectSchedule'에 기본 키가 정의되지 않았습니다. 키가 유추되었고 읽기 전용 테이블/뷰로 정의되었습니다.-->
<EntityType Name="vMailingProjectSchedule">
<Key>
<PropertyRef Name="idx" />
</Key>
<Property Name="idx" Type="int" Nullable="false" />
<Property Name="pdate" Type="varchar" MaxLength="10" />
<Property Name="name" Type="nvarchar" MaxLength="255" />
<Property Name="userManager" Type="varchar" MaxLength="50" />
<Property Name="seq" Type="int" />
<Property Name="title" Type="varchar" MaxLength="100" />
<Property Name="sw" Type="int" />
<Property Name="ew" Type="int" />
<Property Name="swa" Type="int" />
<Property Name="progress" Type="int" />
<Property Name="ewa" Type="int" />
<Property Name="ww" Type="int" />
<Property Name="memo" Type="varchar(max)" />
</EntityType>
<EntityContainer Name="EEModelStoreContainer"> <EntityContainer Name="EEModelStoreContainer">
<EntitySet Name="HolidayLIst" EntityType="Self.HolidayLIst" Schema="dbo" store:Type="Tables" /> <EntitySet Name="HolidayLIst" EntityType="Self.HolidayLIst" Schema="dbo" store:Type="Tables" />
<EntitySet Name="JobReport" EntityType="Self.JobReport" Schema="dbo" store:Type="Tables" /> <EntitySet Name="JobReport" EntityType="Self.JobReport" Schema="dbo" store:Type="Tables" />
@@ -155,7 +179,10 @@
[vGroupUser].[ads_created] AS [ads_created], [vGroupUser].[ads_created] AS [ads_created],
[vGroupUser].[memo] AS [memo], [vGroupUser].[memo] AS [memo],
[vGroupUser].[processs] AS [processs], [vGroupUser].[processs] AS [processs],
[vGroupUser].[id] AS [id] [vGroupUser].[id] AS [id],
[vGroupUser].[state] AS [state],
[vGroupUser].[useJobReport] AS [useJobReport],
[vGroupUser].[useUserState] AS [useUserState]
FROM [dbo].[vGroupUser] AS [vGroupUser]</DefiningQuery> FROM [dbo].[vGroupUser] AS [vGroupUser]</DefiningQuery>
</EntitySet> </EntitySet>
<EntitySet Name="vJobReportForUser" EntityType="Self.vJobReportForUser" store:Type="Views" store:Schema="dbo"> <EntitySet Name="vJobReportForUser" EntityType="Self.vJobReportForUser" store:Type="Views" store:Schema="dbo">
@@ -175,6 +202,23 @@
[vJobReportForUser].[package] AS [package] [vJobReportForUser].[package] AS [package]
FROM [dbo].[vJobReportForUser] AS [vJobReportForUser]</DefiningQuery> FROM [dbo].[vJobReportForUser] AS [vJobReportForUser]</DefiningQuery>
</EntitySet> </EntitySet>
<EntitySet Name="vMailingProjectSchedule" EntityType="Self.vMailingProjectSchedule" store:Type="Views" store:Schema="dbo">
<DefiningQuery>SELECT
[vMailingProjectSchedule].[idx] AS [idx],
[vMailingProjectSchedule].[pdate] AS [pdate],
[vMailingProjectSchedule].[name] AS [name],
[vMailingProjectSchedule].[userManager] AS [userManager],
[vMailingProjectSchedule].[seq] AS [seq],
[vMailingProjectSchedule].[title] AS [title],
[vMailingProjectSchedule].[sw] AS [sw],
[vMailingProjectSchedule].[ew] AS [ew],
[vMailingProjectSchedule].[swa] AS [swa],
[vMailingProjectSchedule].[progress] AS [progress],
[vMailingProjectSchedule].[ewa] AS [ewa],
[vMailingProjectSchedule].[ww] AS [ww],
[vMailingProjectSchedule].[memo] AS [memo]
FROM [dbo].[vMailingProjectSchedule] AS [vMailingProjectSchedule]</DefiningQuery>
</EntitySet>
</EntityContainer> </EntityContainer>
</Schema></edmx:StorageModels> </Schema></edmx:StorageModels>
<!-- CSDL content --> <!-- CSDL content -->
@@ -204,6 +248,7 @@
<Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" /> <Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" />
<Property Name="description2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" /> <Property Name="description2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="tag" Type="String" MaxLength="255" FixedLength="false" Unicode="false" /> <Property Name="tag" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="autoinput" Type="Boolean" />
</EntityType> </EntityType>
<EntityType Name="MailData"> <EntityType Name="MailData">
<Key> <Key>
@@ -249,6 +294,9 @@
<Property Name="memo" Type="String" MaxLength="255" FixedLength="false" Unicode="true" /> <Property Name="memo" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="processs" Type="String" MaxLength="50" FixedLength="false" Unicode="false" /> <Property Name="processs" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="id" Type="String" MaxLength="20" FixedLength="false" Unicode="false" /> <Property Name="id" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="state" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="useJobReport" Type="Boolean" />
<Property Name="useUserState" Type="Boolean" />
</EntityType> </EntityType>
<EntityType Name="vJobReportForUser"> <EntityType Name="vJobReportForUser">
<Key> <Key>
@@ -276,6 +324,7 @@
<EntitySet Name="vJobReportForUser" EntityType="Self.vJobReportForUser" /> <EntitySet Name="vJobReportForUser" EntityType="Self.vJobReportForUser" />
<EntitySet Name="HolidayLIst" EntityType="EEModel.HolidayLIst" /> <EntitySet Name="HolidayLIst" EntityType="EEModel.HolidayLIst" />
<EntitySet Name="MailForm" EntityType="EEModel.MailForm" /> <EntitySet Name="MailForm" EntityType="EEModel.MailForm" />
<EntitySet Name="vMailingProjectSchedule" EntityType="EEModel.vMailingProjectSchedule" />
</EntityContainer> </EntityContainer>
<EntityType Name="HolidayLIst"> <EntityType Name="HolidayLIst">
<Key> <Key>
@@ -310,6 +359,24 @@
<Property Name="exceptmail" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="exceptmail" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
<Property Name="exceptmailcc" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" /> <Property Name="exceptmailcc" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
</EntityType> </EntityType>
<EntityType Name="vMailingProjectSchedule">
<Key>
<PropertyRef Name="idx" />
</Key>
<Property Name="idx" Type="Int32" Nullable="false" />
<Property Name="pdate" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="name" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="userManager" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="seq" Type="Int32" />
<Property Name="title" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
<Property Name="sw" Type="Int32" />
<Property Name="ew" Type="Int32" />
<Property Name="swa" Type="Int32" />
<Property Name="progress" Type="Int32" />
<Property Name="ewa" Type="Int32" />
<Property Name="ww" Type="Int32" />
<Property Name="memo" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
</EntityType>
</Schema> </Schema>
</edmx:ConceptualModels> </edmx:ConceptualModels>
<!-- C-S mapping content --> <!-- C-S mapping content -->
@@ -319,6 +386,7 @@
<EntitySetMapping Name="JobReport"> <EntitySetMapping Name="JobReport">
<EntityTypeMapping TypeName="EEModel.JobReport"> <EntityTypeMapping TypeName="EEModel.JobReport">
<MappingFragment StoreEntitySet="JobReport"> <MappingFragment StoreEntitySet="JobReport">
<ScalarProperty Name="autoinput" ColumnName="autoinput" />
<ScalarProperty Name="idx" ColumnName="idx" /> <ScalarProperty Name="idx" ColumnName="idx" />
<ScalarProperty Name="gcode" ColumnName="gcode" /> <ScalarProperty Name="gcode" ColumnName="gcode" />
<ScalarProperty Name="pdate" ColumnName="pdate" /> <ScalarProperty Name="pdate" ColumnName="pdate" />
@@ -368,6 +436,9 @@
<EntitySetMapping Name="vGroupUser"> <EntitySetMapping Name="vGroupUser">
<EntityTypeMapping TypeName="EEModel.vGroupUser"> <EntityTypeMapping TypeName="EEModel.vGroupUser">
<MappingFragment StoreEntitySet="vGroupUser"> <MappingFragment StoreEntitySet="vGroupUser">
<ScalarProperty Name="useUserState" ColumnName="useUserState" />
<ScalarProperty Name="useJobReport" ColumnName="useJobReport" />
<ScalarProperty Name="state" ColumnName="state" />
<ScalarProperty Name="gcode" ColumnName="gcode" /> <ScalarProperty Name="gcode" ColumnName="gcode" />
<ScalarProperty Name="dept" ColumnName="dept" /> <ScalarProperty Name="dept" ColumnName="dept" />
<ScalarProperty Name="level" ColumnName="level" /> <ScalarProperty Name="level" ColumnName="level" />
@@ -443,6 +514,25 @@
</MappingFragment> </MappingFragment>
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="vMailingProjectSchedule">
<EntityTypeMapping TypeName="EEModel.vMailingProjectSchedule">
<MappingFragment StoreEntitySet="vMailingProjectSchedule">
<ScalarProperty Name="memo" ColumnName="memo" />
<ScalarProperty Name="ww" ColumnName="ww" />
<ScalarProperty Name="ewa" ColumnName="ewa" />
<ScalarProperty Name="progress" ColumnName="progress" />
<ScalarProperty Name="swa" ColumnName="swa" />
<ScalarProperty Name="ew" ColumnName="ew" />
<ScalarProperty Name="sw" ColumnName="sw" />
<ScalarProperty Name="title" ColumnName="title" />
<ScalarProperty Name="seq" ColumnName="seq" />
<ScalarProperty Name="userManager" ColumnName="userManager" />
<ScalarProperty Name="name" ColumnName="name" />
<ScalarProperty Name="pdate" ColumnName="pdate" />
<ScalarProperty Name="idx" ColumnName="idx" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping> </EntityContainerMapping>
</Mapping> </Mapping>
</edmx:Mappings> </edmx:Mappings>

View File

@@ -11,6 +11,7 @@
<EntityTypeShape EntityType="EEModel.vJobReportForUser" Width="1.5" PointX="6.75" PointY="0.75" IsExpanded="true" /> <EntityTypeShape EntityType="EEModel.vJobReportForUser" Width="1.5" PointX="6.75" PointY="0.75" IsExpanded="true" />
<EntityTypeShape EntityType="EEModel.HolidayLIst" Width="1.5" PointX="0.75" PointY="6.75" /> <EntityTypeShape EntityType="EEModel.HolidayLIst" Width="1.5" PointX="0.75" PointY="6.75" />
<EntityTypeShape EntityType="EEModel.MailForm" Width="1.5" PointX="7.375" PointY="5.75" /> <EntityTypeShape EntityType="EEModel.MailForm" Width="1.5" PointX="7.375" PointY="5.75" />
<EntityTypeShape EntityType="EEModel.vMailingProjectSchedule" Width="1.5" PointX="9.375" PointY="0.75" />
</Diagram> </Diagram>
</edmx:Diagrams> </edmx:Diagrams>
</edmx:Designer> </edmx:Designer>

View File

@@ -1,100 +1,22 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq; using System.Linq;
using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms;
namespace JobReportMailService namespace JobReportMailService
{ {
partial class Program static class Program
{ {
static CSetting setting = new CSetting(); /// <summary>
static DateTime ChkAutoDate = DateTime.Now.AddDays(-1); /// 해당 애플리케이션의 주 진입점입니다.
static string vGcode = "EET1P"; /// </summary>
static bool cn = false; [STAThread]
static DateTime LastUpdateTime = DateTime.Now.AddHours(-1); static void Main()
static DateTime ConsoleTime = DateTime.Now.AddDays(-1);
static void Main(string[] args)
{ {
setting = new CSetting(); Application.EnableVisualStyles();
setting.Load(); Application.SetCompatibleTextRenderingDefault(false);
if (setting.Xml.Exist() == false) Application.Run(new MDIParent1());
{
Console.WriteLine("new setting file make");
setting.Save();
}
while (true)
{
//등록된 날짜를 확인하여, 해당 일자가 일반 평일 이라면 8시간 체크해서 메일을 보낸다.
//등록된 날짜가 토,일은 제외한다.
var ts = DateTime.Now - LastUpdateTime;
if (ts.TotalMinutes <= 15)
{
//15분 미만이면 동작하지 않는다
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
Console.WriteLine("15분 미만이라 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday || DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
//토,일요일에는 동작하지 않는다
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
Console.WriteLine("토/일에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.Hour < 9)
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
Console.WriteLine("9시 이전에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else
{
LastUpdateTime = DateTime.Now;
try
{
WorkDay();
}
catch (Exception ex)
{
Console.WriteLine("일간업무알림 실패: " + ex.Message);
}
try
{
WorkWeek();
}
catch (Exception ex)
{
Console.WriteLine("주간업무알림 실패: " +ex.Message);
}
}
System.Threading.Thread.Sleep(60000); //1분단위로 체크한다
}
}
static string MailSort(string addr, string except)
{
if (string.IsNullOrEmpty(except)) return addr;
var alist = addr.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries).ToList();
var elist = except.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries).ToList();
foreach (var item in elist)
alist.Remove(item);
if (alist.Count < 1) return string.Empty;
return string.Join(";", alist);
} }
} }
} }

View File

@@ -0,0 +1,91 @@
//using System;
//using System.Collections.Generic;
//using System.Data.SqlClient;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//namespace JobReportMailService
//{
// partial class Program_bak
// {
// static CSetting setting = new CSetting();
// static DateTime ChkAutoDate = DateTime.Now.AddDays(-1);
// static string vGcode = "EET1P";
// static bool cn = false;
// static DateTime LastUpdateTime = DateTime.Now.AddHours(-1);
// static DateTime ConsoleTime = DateTime.Now.AddDays(-1);
// static void Main(string[] args)
// {
// setting = new CSetting();
// setting.Load();
// if (setting.Xml.Exist() == false)
// {
// Console.WriteLine("new setting file make");
// setting.Save();
// }
// while (true)
// {
// //등록된 날짜를 확인하여, 해당 일자가 일반 평일 이라면 8시간 체크해서 메일을 보낸다.
// //등록된 날짜가 토,일은 제외한다.
// var ts = DateTime.Now - LastUpdateTime;
// if (ts.TotalMinutes <= 15)
// {
// //15분 미만이면 동작하지 않는다
// if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
// {
// Console.WriteLine("15분 미만이라 동작하지 않습니다");
// ConsoleTime = DateTime.Now;
// }
// }
// else if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday || DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
// {
// //토,일요일에는 동작하지 않는다
// if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
// {
// Console.WriteLine("토/일에는 동작하지 않습니다");
// ConsoleTime = DateTime.Now;
// }
// }
// else if (DateTime.Now.Hour < 9)
// {
// if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
// {
// Console.WriteLine("9시 이전에는 동작하지 않습니다");
// ConsoleTime = DateTime.Now;
// }
// }
// else
// {
// LastUpdateTime = DateTime.Now;
// try
// {
// WorkDay();
// }
// catch (Exception ex)
// {
// Console.WriteLine("일간업무알림 실패: " + ex.Message);
// }
// try
// {
// WorkWeek();
// }
// catch (Exception ex)
// {
// Console.WriteLine("주간업무알림 실패: " + ex.Message);
// }
// }
// System.Threading.Thread.Sleep(60000); //1분단위로 체크한다
// }
// }
// }
//}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JobReportMailService
{
public static class Pub
{
public static string vGcode = "EET1P";
public static string MailSort(string addr, string except)
{
if (string.IsNullOrEmpty(except)) return addr;
var alist = addr.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries).ToList();
var elist = except.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries).ToList();
foreach (var item in elist)
alist.Remove(item);
if (alist.Count < 1) return string.Empty;
return string.Join(";", alist);
}
}
}

View File

@@ -0,0 +1,69 @@

namespace JobReportMailService
{
partial class fChildBase
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// richTextBox1
//
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Location = new System.Drawing.Point(0, 0);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(704, 491);
this.richTextBox1.TabIndex = 1;
this.richTextBox1.Text = "";
//
// timer1
//
this.timer1.Interval = 250;
//
// fChildBase
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(704, 491);
this.Controls.Add(this.richTextBox1);
this.Name = "fChildBase";
this.Text = "fChildBase";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.fChildBase_FormClosed);
this.Load += new System.EventHandler(this.fChildBase_Load);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.RichTextBox richTextBox1;
protected System.Windows.Forms.Timer timer1;
}
}

View File

@@ -0,0 +1,68 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace JobReportMailService
{
public partial class fChildBase : Form
{
protected Boolean taskrun = true;
protected DateTime LastUpdateTime;
protected DateTime ConsoleTime;
protected Task task = null;
protected int Delaytime = 60000;
protected Boolean taskwait = true;
public fChildBase()
{
InitializeComponent();
LastUpdateTime = DateTime.Now.AddDays(-1);
ConsoleTime = LastUpdateTime;
}
private void fChildBase_Load(object sender, EventArgs e)
{
}
protected void addmsg(string m)
{
if (this.richTextBox1.InvokeRequired)
{
this.richTextBox1.BeginInvoke(new Action(() =>
{
if (this.richTextBox1.Lines.Length > 1000) this.richTextBox1.Clear();
this.richTextBox1.AppendText(m + "\n");
this.richTextBox1.ScrollToCaret();
}));
return;
}
if (this.richTextBox1.Lines.Length > 1000) this.richTextBox1.Clear();
this.richTextBox1.AppendText(m + "\n");
this.richTextBox1.ScrollToCaret();
}
private void fChildBase_FormClosed(object sender, FormClosedEventArgs e)
{
if(this.task != null)
{
taskwait = true;
taskrun = false;
task.Wait(1000);
try
{
task.Dispose();
}
catch (Exception ex)
{
}
}
}
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,83 @@

namespace JobReportMailService
{
partial class fJobReportDay
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReportDay));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(473, 25);
this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(48, 22);
this.toolStripButton1.Text = "Run";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// fJobReportDay
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(473, 416);
this.Controls.Add(this.toolStrip1);
this.Name = "fJobReportDay";
this.Text = "업무일지(일보고)";
this.Load += new System.EventHandler(this.fJobReportDay_Load);
this.Controls.SetChildIndex(this.toolStrip1, 0);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
}
}

View File

@@ -1,38 +1,97 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data.SqlClient; using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms;
namespace JobReportMailService namespace JobReportMailService
{ {
partial class Program public partial class fJobReportDay : fChildBase
{ {
static void WorkDay() public fJobReportDay()
{ {
InitializeComponent();
if(DateTime.Now.DayOfWeek == DayOfWeek.Saturday || DateTime.Now.DayOfWeek == DayOfWeek.Sunday || DateTime.Now.DayOfWeek == DayOfWeek.Monday )
{
Console.WriteLine("토/일/월요일에는 일별 보고를 작동하지 않습니다");
return;
} }
else Console.WriteLine("업무일지 미 작성자 추출 작업을 시작 합니다");
private void fJobReportDay_Load(object sender, EventArgs e)
{
task = Task.Run(() =>
{
while(taskrun)
{
if (taskwait)
{
task.Wait(1000);
continue;
}
var ts = DateTime.Now - LastUpdateTime;
if (ts.TotalMinutes <= 15)
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("15분 미만이라 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday ||
DateTime.Now.DayOfWeek == DayOfWeek.Sunday ||
DateTime.Now.DayOfWeek == DayOfWeek.Monday)
{
//토,일요일에는 동작하지 않는다
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("토/일/월에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.Hour < 9)
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("9시 이전에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else
{
LastUpdateTime = DateTime.Now;
try
{
RunData();
}
catch (Exception ex)
{
addmsg(ex.Message);
}
}
Task.Delay(Delaytime).Wait();
}
});
timer1.Start();
}
void RunData()
{
addmsg("업무일지 미 작성자 추출 작업을 시작 합니다");
var db = new EEEntities(); var db = new EEEntities();
//메일양식이 지정되어있는지 체크 //메일양식이 지정되어있는지 체크
var MailJD = db.MailForm.Where(t => t.gcode == vGcode & t.cate == "JD").FirstOrDefault(); var MailJD = db.MailForm.Where(t => t.gcode == Pub.vGcode & t.cate == "JD").FirstOrDefault();
//var MailJW = db.MailForm.Where(t => t.gcode == vGcode & t.cate == "JW").FirstOrDefault(); //var MailJW = db.MailForm.Where(t => t.gcode == vGcode & t.cate == "JW").FirstOrDefault();
if (MailJD == null) if (MailJD == null)
{ {
//토,일요일에는 동작하지 않는다 //토,일요일에는 동작하지 않는다
Console.WriteLine("업무일지 미작성 메일 양식이 입력되지 않았습니다"); addmsg("업무일지 미작성 메일 양식이 입력되지 않았습니다");
return; return;
} }
@@ -45,7 +104,7 @@ namespace JobReportMailService
//대상 사용자 목록을 추출한다 //대상 사용자 목록을 추출한다
db = new EEEntities(); db = new EEEntities();
var users = db.vJobReportForUser.Where(t => t.gcode == vGcode).GroupBy(t => t.id); var users = db.vJobReportForUser.Where(t => t.gcode == Pub.vGcode).GroupBy(t => t.id);
Dictionary<string, string> uids = new Dictionary<string, string>(); Dictionary<string, string> uids = new Dictionary<string, string>();
foreach (var user in users) foreach (var user in users)
{ {
@@ -58,17 +117,17 @@ namespace JobReportMailService
if (userdata != null && string.IsNullOrEmpty(userdata.outdate) == false) continue; if (userdata != null && string.IsNullOrEmpty(userdata.outdate) == false) continue;
db = new EEEntities(); db = new EEEntities();
var Exists = db.MailData.Where(t => t.gcode == vGcode && t.wuid == userinfo.id && t.pdate == str_dt && t.cate == "JD").Any(); var Exists = db.MailData.Where(t => t.gcode == Pub.vGcode && t.wuid == userinfo.id && t.pdate == str_dt && t.cate == "JD").Any();
if (Exists == false) uids.Add(userinfo.id, userinfo.name); //자동생성된 자료가 없는 경우에만 처리한다 if (Exists == false) uids.Add(userinfo.id, userinfo.name); //자동생성된 자료가 없는 경우에만 처리한다
} }
Console.WriteLine($"{uids.Count} 명의 전체 사용자가 확인 되었습니다"); addmsg($"{uids.Count} 명의 전체 사용자가 확인 되었습니다");
//먼저 날짜목록을 가져온다 //먼저 날짜목록을 가져온다
db = new EEEntities(); db = new EEEntities();
var lstDate = db.JobReport var lstDate = db.JobReport
.Where(t => t.gcode == vGcode && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0) .Where(t => t.gcode == Pub.vGcode && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0)
.OrderBy(t => t.pdate) .OrderBy(t => t.pdate)
.GroupBy(t => t.pdate).ToList(); .GroupBy(t => t.pdate).ToList();
@@ -88,7 +147,7 @@ namespace JobReportMailService
//이날짜에는 8시간을 근무 해야 한다 //이날짜에는 8시간을 근무 해야 한다
days.Add(DateTime.Parse(jobdata.pdate)); days.Add(DateTime.Parse(jobdata.pdate));
} }
Console.WriteLine($"{days.Count} 건의 일자가 확인 되었습니다(기간:{str_sd}~{str_ed}"); addmsg($"{days.Count} 건의 일자가 확인 되었습니다(기간:{str_sd}~{str_ed}");
//사용자 목록과 날짜 목록을 모두 수집했다 //사용자 목록과 날짜 목록을 모두 수집했다
List<ReportUserData> totWarnList = new List<ReportUserData>(); List<ReportUserData> totWarnList = new List<ReportUserData>();
@@ -96,7 +155,7 @@ namespace JobReportMailService
{ {
//이사용자의 날짜별 근무시간을 확인한다. //이사용자의 날짜별 근무시간을 확인한다.
db = new EEEntities(); db = new EEEntities();
var UserDatas = db.vJobReportForUser.Where(t => t.gcode == vGcode && t.id == uid.Key && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0).ToList(); var UserDatas = db.vJobReportForUser.Where(t => t.gcode == Pub.vGcode && t.id == uid.Key && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0).ToList();
Dictionary<DateTime, double?> WarnList = new Dictionary<DateTime, double?>(); Dictionary<DateTime, double?> WarnList = new Dictionary<DateTime, double?>();
foreach (var dt in days.OrderBy(t => t)) foreach (var dt in days.OrderBy(t => t))
@@ -116,17 +175,17 @@ namespace JobReportMailService
if (WarnList.Count > 0) if (WarnList.Count > 0)
{ {
Console.WriteLine($"{uid.Value}({uid.Key}) 의 경고 일수는 {WarnList.Count} 건 입니다"); addmsg($"{uid.Value}({uid.Key}) 의 경고 일수는 {WarnList.Count} 건 입니다");
db = new EEEntities(); db = new EEEntities();
var userinfo = db.vGroupUser.Where(t => t.id == uid.Key).FirstOrDefault(); var userinfo = db.vGroupUser.Where(t => t.id == uid.Key).FirstOrDefault();
if (userinfo == null) if (userinfo == null)
{ {
Console.WriteLine($"{uid.Value}({uid.Key}) 의 사용자 정보를 확인 할 수 없습니다"); addmsg($"{uid.Value}({uid.Key}) 의 사용자 정보를 확인 할 수 없습니다");
} }
else if (string.IsNullOrEmpty(userinfo.email)) else if (string.IsNullOrEmpty(userinfo.email))
{ {
Console.WriteLine($"{uid.Value}({uid.Key}) 의 메일 정보가 존재하지 않습니다"); addmsg($"{uid.Value}({uid.Key}) 의 메일 정보가 존재하지 않습니다");
} }
else else
{ {
@@ -158,31 +217,31 @@ namespace JobReportMailService
//mail_bcc = string.Empty; //mail_bcc = string.Empty;
//mail_cc = string.Empty; //mail_cc = string.Empty;
mail_to = MailSort(mail_to, MailJD.exceptmail); mail_to = Pub.MailSort(mail_to, MailJD.exceptmail);
if (string.IsNullOrEmpty(mail_to) == false) if (string.IsNullOrEmpty(mail_to) == false)
{ {
db = new EEEntities(); db = new EEEntities();
db.MailData.Add(new MailData db.MailData.Add(new MailData
{ {
gcode = vGcode, gcode = Pub.vGcode,
cate = "JD", cate = "JD",
subject = mail_subject, subject = mail_subject,
fromlist = userinfo.email, fromlist = userinfo.email,
tolist = MailSort(mail_to, MailJD.exceptmail), tolist = Pub.MailSort(mail_to, MailJD.exceptmail),
bcc = mail_bcc, bcc = mail_bcc,
cc = MailSort(mail_cc, MailJD.exceptmailcc), cc = Pub.MailSort(mail_cc, MailJD.exceptmailcc),
pdate = DateTime.Now.ToShortDateString(), pdate = DateTime.Now.ToShortDateString(),
body = mail_body.Replace("{내용}", mail_content), body = mail_body.Replace("{내용}", mail_content),
wuid = userinfo.id, wuid = userinfo.id,
wdate = DateTime.Now, wdate = DateTime.Now,
}); });
db.SaveChanges(); db.SaveChanges();
Console.WriteLine($"{userinfo.name}({userinfo.email}) 메일 전송 완료(day)"); addmsg($"{userinfo.name}({userinfo.email}) 메일 전송 완료(day)");
System.Threading.Thread.Sleep(10000); System.Threading.Thread.Sleep(10000);
} }
else else
{ {
Console.WriteLine("받는사람이 소거되어 메일을 생성하지 않습니다"); addmsg("받는사람이 소거되어 메일을 생성하지 않습니다");
} }
} }
} }
@@ -190,10 +249,33 @@ namespace JobReportMailService
} }
else else
{ {
Console.WriteLine($"{uid.Value}({uid.Key}) 미 작성 일자가 없습니다"); addmsg($"{uid.Value}({uid.Key}) 미 작성 일자가 없습니다");
} }
} }
} }
private void toolStripButton1_Click(object sender, EventArgs e)
{
taskwait = !taskwait;
}
private void timer1_Tick(object sender, EventArgs e)
{
if (task != null)
{
if (task.IsCompleted) this.toolStripButton1.Text = "완료";
else if (task.IsCanceled) this.toolStripButton1.Text = "취소";
else if (taskwait) this.toolStripButton1.Text = "대기상태";
else this.toolStripButton1.Text = "가동중";
this.toolStripButton1.Enabled = true;
}
else
{
this.toolStripButton1.Text = "사용불가";
this.toolStripButton1.Enabled = false;
}
}
} }
} }

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>104, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,83 @@

namespace JobReportMailService
{
partial class fJobReportWeek
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReportWeek));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(473, 25);
this.toolStrip1.TabIndex = 3;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(48, 22);
this.toolStripButton1.Text = "Run";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// fJobReportWeek
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(473, 416);
this.Controls.Add(this.toolStrip1);
this.Name = "fJobReportWeek";
this.Text = "업무일지(주간보고)";
this.Load += new System.EventHandler(this.fJobReportDay_Load);
this.Controls.SetChildIndex(this.toolStrip1, 0);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
}
}

View File

@@ -1,34 +1,94 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data.SqlClient; using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms;
namespace JobReportMailService namespace JobReportMailService
{ {
partial class Program public partial class fJobReportWeek : fChildBase
{ {
static void WorkWeek() public fJobReportWeek()
{ {
if (DateTime.Now.DayOfWeek != DayOfWeek.Monday) InitializeComponent();
{
Console.WriteLine("주간 업무일지 보고는 월요일에만 작동 합니다");
return;
} }
Console.WriteLine("업무일지 미 작성자(주간) 추출 작업을 시작 합니다"); private void fJobReportDay_Load(object sender, EventArgs e)
{
task = Task.Run(() =>
{
while (taskrun)
{
if (taskwait)
{
task.Wait(1000);
continue;
}
var ts = DateTime.Now - LastUpdateTime;
if (ts.TotalMinutes <= 15)
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("15분 미만이라 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.DayOfWeek != DayOfWeek.Monday)
{
//토,일요일에는 동작하지 않는다
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("월요일에만 동작 함");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.Hour < 9)
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("9시 이전에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else
{
LastUpdateTime = DateTime.Now;
try
{
RunData();
}
catch (Exception ex)
{
addmsg(ex.Message);
}
}
Task.Delay(Delaytime).Wait();
}
});
timer1.Start();
}
void RunData()
{
addmsg("업무일지 미 작성자(주간) 추출 작업을 시작 합니다");
var db = new EEEntities(); var db = new EEEntities();
//메일양식이 지정되어있는지 체크 //메일양식이 지정되어있는지 체크
var MailJW = db.MailForm.Where(t => t.gcode == vGcode & t.cate == "JW").FirstOrDefault(); var MailJW = db.MailForm.Where(t => t.gcode == Pub.vGcode & t.cate == "JW").FirstOrDefault();
if (MailJW == null) if (MailJW == null)
{ {
//토,일요일에는 동작하지 않는다 //토,일요일에는 동작하지 않는다
Console.WriteLine("업무일지 미작성(주간) 메일 양식이 입력되지 않았습니다"); addmsg("업무일지 미작성(주간) 메일 양식이 입력되지 않았습니다");
return; return;
} }
@@ -41,16 +101,16 @@ namespace JobReportMailService
//오늘날짜로 주간 데이터가 등록되어있느지 확인한다. //오늘날짜로 주간 데이터가 등록되어있느지 확인한다.
db = new EEEntities(); db = new EEEntities();
var Existweek = db.MailData.Where(t => t.gcode == vGcode && t.cate == "JW" && t.wuid == "395552" && t.pdate == str_dt).Any(); var Existweek = db.MailData.Where(t => t.gcode == Pub.vGcode && t.cate == "JW" && t.wuid == "395552" && t.pdate == str_dt).Any();
if (Existweek) if (Existweek)
{ {
Console.WriteLine($"주간일자({str_dt}) 보고 메일이 이미 등록되어 있습니다"); addmsg($"주간일자({str_dt}) 보고 메일이 이미 등록되어 있습니다");
return; return;
} }
//대상 사용자 목록을 추출한다 //대상 사용자 목록을 추출한다
db = new EEEntities(); db = new EEEntities();
var users = db.vJobReportForUser.Where(t => t.gcode == vGcode).GroupBy(t => t.id); var users = db.vJobReportForUser.Where(t => t.gcode == Pub.vGcode).GroupBy(t => t.id);
Dictionary<string, string> uids = new Dictionary<string, string>(); Dictionary<string, string> uids = new Dictionary<string, string>();
foreach (var user in users) foreach (var user in users)
{ {
@@ -64,22 +124,22 @@ namespace JobReportMailService
//이 대상의 이메일이 받는 사람에 제외되어있다면 처리하지 않는다. //이 대상의 이메일이 받는 사람에 제외되어있다면 처리하지 않는다.
var exxptolist = MailJW.exceptmail.ToUpper().Split(';'); var exxptolist = MailJW.exceptmail.ToUpper().Split(';');
if(exxptolist.Contains(userdata.email.ToUpper())==false) if (exxptolist.Contains(userdata.email.ToUpper()) == false)
{ {
//모두대상으로 처리한다 //모두대상으로 처리한다
if(userdata.email.ToUpper() != ("BongSeok.Jung@amkor.co.kr").ToUpper()) if (userdata.email.ToUpper() != ("BongSeok.Jung@amkor.co.kr").ToUpper())
uids.Add(userinfo.id, userinfo.name); uids.Add(userinfo.id, userinfo.name);
} }
else Console.WriteLine("주간 제외대상자임 " + userdata.email ); else addmsg("주간 제외대상자임 " + userdata.email);
} }
Console.WriteLine($"{uids.Count} 명의 전체 사용자가 확인 되었습니다"); addmsg($"{uids.Count} 명의 전체 사용자가 확인 되었습니다");
//먼저 날짜목록을 가져온다 //먼저 날짜목록을 가져온다
db = new EEEntities(); db = new EEEntities();
var lstDate = db.JobReport var lstDate = db.JobReport
.Where(t => t.gcode == vGcode && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0) .Where(t => t.gcode == Pub.vGcode && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0)
.OrderBy(t => t.pdate) .OrderBy(t => t.pdate)
.GroupBy(t => t.pdate).ToList(); .GroupBy(t => t.pdate).ToList();
@@ -99,7 +159,7 @@ namespace JobReportMailService
//이날짜에는 8시간을 근무 해야 한다 //이날짜에는 8시간을 근무 해야 한다
days.Add(DateTime.Parse(jobdata.pdate)); days.Add(DateTime.Parse(jobdata.pdate));
} }
Console.WriteLine($"{days.Count} 건의 일자가 확인 되었습니다(기간:{str_sd}~{str_ed}"); addmsg($"{days.Count} 건의 일자가 확인 되었습니다(기간:{str_sd}~{str_ed}");
//사용자 목록과 날짜 목록을 모두 수집했다 //사용자 목록과 날짜 목록을 모두 수집했다
List<ReportUserData> totWarnList = new List<ReportUserData>(); List<ReportUserData> totWarnList = new List<ReportUserData>();
@@ -107,7 +167,7 @@ namespace JobReportMailService
{ {
//이사용자의 날짜별 근무시간을 확인한다. //이사용자의 날짜별 근무시간을 확인한다.
db = new EEEntities(); db = new EEEntities();
var UserDatas = db.vJobReportForUser.Where(t => t.gcode == vGcode && t.id == uid.Key && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0).ToList(); var UserDatas = db.vJobReportForUser.Where(t => t.gcode == Pub.vGcode && t.id == uid.Key && t.pdate.CompareTo(str_sd) >= 0 && t.pdate.CompareTo(str_ed) < 0).ToList();
Dictionary<DateTime, double?> WarnList = new Dictionary<DateTime, double?>(); Dictionary<DateTime, double?> WarnList = new Dictionary<DateTime, double?>();
foreach (var dt in days.OrderBy(t => t)) foreach (var dt in days.OrderBy(t => t))
@@ -129,7 +189,7 @@ namespace JobReportMailService
if (totWarnList.Count > 0) if (totWarnList.Count > 0)
{ {
Console.WriteLine($"주간 경고 데이터는 {totWarnList.Count} 건 입니다"); addmsg($"주간 경고 데이터는 {totWarnList.Count} 건 입니다");
//오늘잘짜로 등록된 자료가 있으면 처리하지 안흔다. //오늘잘짜로 등록된 자료가 있으면 처리하지 안흔다.
//해당 사용자의 오늘 날짜로 등록된 자동 데이터가 있다면 대상에 넣지 않는다 //해당 사용자의 오늘 날짜로 등록된 자동 데이터가 있다면 대상에 넣지 않는다
@@ -186,33 +246,53 @@ namespace JobReportMailService
//mail_to = "chikyun.kim@amkor.co.kr"; //mail_to = "chikyun.kim@amkor.co.kr";
db = new EEEntities(); db = new EEEntities();
mail_to = MailSort(mail_to, MailJW.exceptmail); mail_to = Pub.MailSort(mail_to, MailJW.exceptmail);
if (string.IsNullOrEmpty(mail_to) == false) if (string.IsNullOrEmpty(mail_to) == false)
{ {
db.MailData.Add(new MailData db.MailData.Add(new MailData
{ {
gcode = vGcode, gcode = Pub.vGcode,
cate = "JW", cate = "JW",
subject = mail_subject, subject = mail_subject,
fromlist = "EETGW@amkor.co.kr", fromlist = "EETGW@amkor.co.kr",
tolist = MailSort(mail_to, MailJW.exceptmail), tolist = Pub.MailSort(mail_to, MailJW.exceptmail),
bcc = mail_bcc, bcc = mail_bcc,
cc = MailSort(mail_cc, MailJW.exceptmailcc), cc = Pub.MailSort(mail_cc, MailJW.exceptmailcc),
pdate = DateTime.Now.ToShortDateString(), pdate = DateTime.Now.ToShortDateString(),
body = mail_body.Replace("{내용}", vmail_body), body = mail_body.Replace("{내용}", vmail_body),
wuid = "395552", wuid = "395552",
wdate = DateTime.Now, wdate = DateTime.Now,
}); });
db.SaveChanges(); db.SaveChanges();
Console.WriteLine("주간 알림데이터가 등록되었습니다"); addmsg("주간 알림데이터가 등록되었습니다");
} }
else else
{ {
Console.WriteLine("받는사람이 소거되어 메일을 생성하지 않습니다"); addmsg("받는사람이 소거되어 메일을 생성하지 않습니다");
} }
} }
} }
private void toolStripButton1_Click(object sender, EventArgs e)
{
taskwait = !taskwait;
}
private void timer1_Tick(object sender, EventArgs e)
{
if (task != null)
{
if (task.IsCompleted) this.toolStripButton1.Text = "완료";
else if (task.IsCanceled) this.toolStripButton1.Text = "취소";
else if (taskwait) this.toolStripButton1.Text = "대기상태";
else this.toolStripButton1.Text = "가동중";
this.toolStripButton1.Enabled = true;
}
else
{
this.toolStripButton1.Text = "사용불가";
this.toolStripButton1.Enabled = false;
}
}
} }
} }

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>104, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,83 @@

namespace JobReportMailService
{
partial class fScheduleDay
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fScheduleDay));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(473, 25);
this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(48, 22);
this.toolStripButton1.Text = "Run";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// fScheduleDay
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(473, 416);
this.Controls.Add(this.toolStrip1);
this.Name = "fScheduleDay";
this.Text = "프로젝트 스케쥴(일보고)";
this.Load += new System.EventHandler(this.fJobReportDay_Load);
this.Controls.SetChildIndex(this.toolStrip1, 0);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
}
}

View File

@@ -0,0 +1,245 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace JobReportMailService
{
public partial class fScheduleDay : fChildBase
{
public fScheduleDay()
{
InitializeComponent();
}
private void fJobReportDay_Load(object sender, EventArgs e)
{
task = Task.Run(() =>
{
while (taskrun)
{
if (taskwait)
{
if(task != null)
task.Wait(1000);
continue;
}
var ts = DateTime.Now - LastUpdateTime;
if (ts.TotalMinutes <= 15)
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("15분 미만이라 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.DayOfWeek == DayOfWeek.Saturday ||
DateTime.Now.DayOfWeek == DayOfWeek.Sunday)
{
//토,일요일에는 동작하지 않는다
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("토/일/월에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.Hour < 10) //10시부터 동작한다
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("9시 이전에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else
{
LastUpdateTime = DateTime.Now;
try
{
RunData();
}
catch (Exception ex)
{
addmsg(ex.Message);
}
}
Task.Delay(Delaytime).Wait();
}
});
timer1.Start();
}
void RunData()
{
addmsg("업무일지 미 작성자 추출 작업을 시작 합니다");
var db = new EEEntities();
//메일양식이 지정되어있는지 체크
var MailJD = db.MailForm.Where(t => t.gcode == Pub.vGcode & t.cate == "SJ").FirstOrDefault();
if (MailJD == null)
{
//토,일요일에는 동작하지 않는다
addmsg("메일 양식(SJ)이 입력되지 않았습니다");
return;
}
//기준일자는 오늘부터 -15일이다
var sd = DateTime.Now.AddDays(-15);
var ed = DateTime.Now;
var str_sd = sd.ToShortDateString();
var str_ed = ed.ToShortDateString();
var str_dt = DateTime.Now.ToShortDateString();
//오늘날짜로 데이터가 등록되어있느지 확인한다.
db = new EEEntities();
var Existweek = db.MailData.Where(t => t.gcode == Pub.vGcode && t.cate == "SJ" && t.wuid == "395552" && t.pdate == str_dt).Any();
if (Existweek)
{
addmsg($"스케쥴(day)({str_dt}) 보고 메일이 이미 등록되어 있습니다");
return;
}
//대상 사용자 목록을 추출한다
var ta = new DataSet1TableAdapters.vMailingProjectScheduleTableAdapter();
var users = new DataSet1.vMailingProjectScheduleDataTable();
ta.Fill(users);
//var users = db.vMailingProjectSchedule.ToList();// .vJobReportForUser.Where(t => t.gcode == Pub.vGcode).GroupBy(t => t.id);
addmsg($"{users.Count} 명의 데이터가 확인 되었습니다");
//메일데이터 생성
var body = new System.Text.StringBuilder();
body.AppendLine("<table border='1' cellspacing='1' cellpadding='1' style='text-align:center;'>");
body.AppendLine("<tr>");
body.AppendLine("<td>진행(%)</td>");
body.AppendLine("<td>Project</td>");
body.AppendLine("<td>Champion</td>");
body.AppendLine("<td>등록일</td>");
body.AppendLine("<td>스케쥴</td>");
body.AppendLine("</tr>");
var gp = users.GroupBy(t => t.idx);
foreach (var row in gp)
{
var prc = row.Sum(t => t.progress) / row.Count();
var dr = row.FirstOrDefault();
body.AppendLine($"<tr>");
body.AppendLine($"<td>{prc}</td>");
body.AppendLine($"<td>[{dr.idx}] {dr.name}</td>");
body.AppendLine($"<td>{dr.userManager}</td>");
body.AppendLine($"<td>{dr.pdate}</td>");
body.AppendLine("<td>");
body.AppendLine("<table border='1' cellspacing='1' cellpadding='1' style='text-align:center;'>");
body.AppendLine("<tr>");
body.AppendLine("<td rowspan='2'>No</td><td rowspan='2'>Title</td><td colspan='2'>Plan(ww)</td><td colspan='2'>Actual(ww)</td><td>진행</td>");
body.AppendLine("</tr>");
body.AppendLine("<tr>");
body.AppendLine("<td>시작</td><td>완료</td><td>시작</td><td>완료</td><td>%</td>");
body.AppendLine("</tr>");
var ll = row.OrderBy(t => t.seq).ToList();
foreach (var srow in ll)
{
body.AppendLine($"<tr>");
body.AppendLine($"<td>{srow.seq}</td>");
body.AppendLine($"<td>{srow.title}</td>");
body.AppendLine($"<td>{srow.sw}</td>");
body.AppendLine($"<td>{srow.ew}</td>");
body.AppendLine($"<td>{srow.swa}</td>");
body.AppendLine($"<td>{srow.ewa}</td>");
body.AppendLine($"<td>{srow.progress}</td>");
body.AppendLine($"</tr>");
}
body.AppendLine("</table>");
body.AppendLine("</td>");
//여기에 스케쥴이 들어가야한다
body.AppendLine($"</tr>");
}
body.AppendLine("</table>");
//일별경고(월요일제외)
if (MailJD != null)
{
var mail_subject = MailJD.subject;//.Replace("{담당자}", userinfo.name).Replace("{사번}", userinfo.id);
var mail_to = MailJD.tolist;//.Replace("{담당자}", userinfo.email);
var mail_cc = string.Empty; //
if (MailJD.cc != null) mail_cc = MailJD.cc;//.Replace("{담당자}", userinfo.email);
var mail_bcc = string.Empty;
if (MailJD.bcc != null) mail_bcc = MailJD.bcc;//.Replace("{담당자}", userinfo.email);
var mail_body = MailJD.body;//.Replace("{담당자}", userinfo.name);
//mail_body = mail_body.Replace("{사번}", userinfo.id);
//메일본문을 생성해서 진행해야함
var mail_content = mail_body.Replace("{data}", body.ToString());
//메일데이터를 생성한다.
//mail_to = "chikyun.kim@amkor.co.kr";
//mail_bcc = string.Empty;
//mail_cc = string.Empty;
mail_to = Pub.MailSort(mail_to, MailJD.exceptmail);
if (string.IsNullOrEmpty(mail_to) == false)
{
db = new EEEntities();
db.MailData.Add(new MailData
{
gcode = Pub.vGcode,
cate = "SJ",
subject = mail_subject,
fromlist = "eetgw@amkor.co.kr",
tolist = Pub.MailSort(mail_to, MailJD.exceptmail),
bcc = mail_bcc,
cc = Pub.MailSort(mail_cc, MailJD.exceptmailcc),
pdate = DateTime.Now.ToShortDateString(),
body = mail_content,
wuid = "395552",
wdate = DateTime.Now,
});
db.SaveChanges();
addmsg($"메일 전송 완료(스케쥴day)");
System.Threading.Thread.Sleep(10000);
}
else
{
addmsg("받는사람이 소거되어 메일을 생성하지 않습니다");
}
}
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
taskwait = !taskwait;
}
private void timer1_Tick(object sender, EventArgs e)
{
if (task != null)
{
if (task.IsCompleted) this.toolStripButton1.Text = "완료";
else if (task.IsCanceled) this.toolStripButton1.Text = "취소";
else if (taskwait) this.toolStripButton1.Text = "대기상태";
else this.toolStripButton1.Text = "가동중";
this.toolStripButton1.Enabled = true;
}
else
{
this.toolStripButton1.Text = "사용불가";
this.toolStripButton1.Enabled = false;
}
}
}
}

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>104, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,83 @@

namespace JobReportMailService
{
partial class fScheduleDayWeek
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fScheduleDayWeek));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// toolStrip1
//
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(473, 25);
this.toolStrip1.TabIndex = 2;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(48, 22);
this.toolStripButton1.Text = "Run";
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
//
// fScheduleDayWeek
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(473, 416);
this.Controls.Add(this.toolStrip1);
this.Name = "fScheduleDayWeek";
this.Text = "프로젝트 스케쥴(주보고)";
this.Load += new System.EventHandler(this.fJobReportDay_Load);
this.Controls.SetChildIndex(this.toolStrip1, 0);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
}
}

View File

@@ -0,0 +1,242 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace JobReportMailService
{
public partial class fScheduleDayWeek : fChildBase
{
public fScheduleDayWeek()
{
InitializeComponent();
}
private void fJobReportDay_Load(object sender, EventArgs e)
{
task = Task.Run(() =>
{
while (taskrun)
{
if (taskwait)
{
if(task != null)
task.Wait(1000);
continue;
}
var ts = DateTime.Now - LastUpdateTime;
if (ts.TotalMinutes <= 15)
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("15분 미만이라 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.DayOfWeek != DayOfWeek.Monday)
{
//토,일요일에는 동작하지 않는다
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("월요일에만 동작 합니다");
ConsoleTime = DateTime.Now;
}
}
else if (DateTime.Now.Hour < 10) //10시부터 동작한다
{
if ((DateTime.Now - ConsoleTime).TotalHours >= 1.0)
{
addmsg("9시 이전에는 동작하지 않습니다");
ConsoleTime = DateTime.Now;
}
}
else
{
LastUpdateTime = DateTime.Now;
try
{
RunData();
}
catch (Exception ex)
{
addmsg(ex.Message);
}
}
Task.Delay(Delaytime).Wait();
}
});
timer1.Start();
}
void RunData()
{
addmsg("스케쥴관리(주) 미 작성자 추출 작업을 시작 합니다");
var db = new EEEntities();
//메일양식이 지정되어있는지 체크
var MailJD = db.MailForm.Where(t => t.gcode == Pub.vGcode & t.cate == "SP").FirstOrDefault();
if (MailJD == null)
{
//토,일요일에는 동작하지 않는다
addmsg("메일 양식(SP)이 입력되지 않았습니다");
return;
}
//기준일자는 오늘부터 -15일이다
var sd = DateTime.Now.AddDays(-15);
var ed = DateTime.Now;
var str_sd = sd.ToShortDateString();
var str_ed = ed.ToShortDateString();
var str_dt = DateTime.Now.ToShortDateString();
//오늘날짜로 데이터가 등록되어있느지 확인한다.
db = new EEEntities();
var Existweek = db.MailData.Where(t => t.gcode == Pub.vGcode && t.cate == "SP" && t.wuid == "395552" && t.pdate == str_dt).Any();
if (Existweek)
{
addmsg($"스케쥴(day)({str_dt}) 보고 메일이 이미 등록되어 있습니다");
return;
}
//대상 사용자 목록을 추출한다
var ta = new DataSet1TableAdapters.vMailingProjectScheduleTableAdapter();
var users = new DataSet1.vMailingProjectScheduleDataTable();
ta.Fill(users);
//var users = db.vMailingProjectSchedule.ToList();// .vJobReportForUser.Where(t => t.gcode == Pub.vGcode).GroupBy(t => t.id);
addmsg($"{users.Count} 명의 데이터가 확인 되었습니다");
//메일데이터 생성
var body = new System.Text.StringBuilder();
body.AppendLine("<table border='1' cellspacing='1' cellpadding='1' style='text-align:center;'>");
body.AppendLine("<tr>");
body.AppendLine("<td>진행(%)</td>");
body.AppendLine("<td>Project</td>");
body.AppendLine("<td>Champion</td>");
body.AppendLine("<td>등록일</td>");
body.AppendLine("<td>스케쥴</td>");
body.AppendLine("</tr>");
var gp = users.GroupBy(t => t.idx);
foreach (var row in gp)
{
var prc = row.Sum(t => t.progress) / row.Count();
var dr = row.FirstOrDefault();
body.AppendLine($"<tr>");
body.AppendLine($"<td>{prc}</td>");
body.AppendLine($"<td>[{dr.idx}] {dr.name}</td>");
body.AppendLine($"<td>{dr.userManager}</td>");
body.AppendLine($"<td>{dr.pdate}</td>");
body.AppendLine("<td>");
body.AppendLine("<table border='1' cellspacing='1' cellpadding='1' style='text-align:center;'>");
body.AppendLine("<tr>");
body.AppendLine("<td rowspan='2'>No</td><td rowspan='2'>Title</td><td colspan='2'>Plan(ww)</td><td colspan='2'>Actual(ww)</td><td>진행</td>");
body.AppendLine("</tr>");
body.AppendLine("<tr>");
body.AppendLine("<td>시작</td><td>완료</td><td>시작</td><td>완료</td><td>%</td>");
body.AppendLine("</tr>");
var ll = row.OrderBy(t => t.seq).ToList();
foreach (var srow in ll)
{
body.AppendLine($"<tr>");
body.AppendLine($"<td>{srow.seq}</td>");
body.AppendLine($"<td>{srow.title}</td>");
body.AppendLine($"<td>{srow.sw}</td>");
body.AppendLine($"<td>{srow.ew}</td>");
body.AppendLine($"<td>{srow.swa}</td>");
body.AppendLine($"<td>{srow.ewa}</td>");
body.AppendLine($"<td>{srow.progress}</td>");
body.AppendLine($"</tr>");
}
body.AppendLine("</table>");
body.AppendLine("</td>");
//여기에 스케쥴이 들어가야한다
body.AppendLine($"</tr>");
}
body.AppendLine("</table>");
//일별경고(월요일제외)
if (MailJD != null)
{
var mail_subject = MailJD.subject;//.Replace("{담당자}", userinfo.name).Replace("{사번}", userinfo.id);
var mail_to = MailJD.tolist;//.Replace("{담당자}", userinfo.email);
var mail_cc = string.Empty; //
if (MailJD.cc != null) mail_cc = MailJD.cc;//.Replace("{담당자}", userinfo.email);
var mail_bcc = string.Empty;
if (MailJD.bcc != null) mail_bcc = MailJD.bcc;//.Replace("{담당자}", userinfo.email);
var mail_body = MailJD.body;//.Replace("{담당자}", userinfo.name);
//mail_body = mail_body.Replace("{사번}", userinfo.id);
//메일본문을 생성해서 진행해야함
var mail_content = mail_body.Replace("{data}", body.ToString());
//메일데이터를 생성한다.
//mail_to = "chikyun.kim@amkor.co.kr";
//mail_bcc = string.Empty;
//mail_cc = string.Empty;
mail_to = Pub.MailSort(mail_to, MailJD.exceptmail);
if (string.IsNullOrEmpty(mail_to) == false)
{
db = new EEEntities();
db.MailData.Add(new MailData
{
gcode = Pub.vGcode,
cate = "SP",
subject = mail_subject,
fromlist = "eetgw@amkor.co.kr",
tolist = Pub.MailSort(mail_to, MailJD.exceptmail),
bcc = mail_bcc,
cc = Pub.MailSort(mail_cc, MailJD.exceptmailcc),
pdate = DateTime.Now.ToShortDateString(),
body = mail_content,
wuid = "395552",
wdate = DateTime.Now,
});
db.SaveChanges();
addmsg($"메일 전송 완료(스케쥴day)");
System.Threading.Thread.Sleep(10000);
}
else
{
addmsg("받는사람이 소거되어 메일을 생성하지 않습니다");
}
}
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
taskwait = !taskwait;
}
private void timer1_Tick(object sender, EventArgs e)
{
if (task != null)
{
if (task.IsCompleted) this.toolStripButton1.Text = "완료";
else if (task.IsCanceled) this.toolStripButton1.Text = "취소";
else if (taskwait) this.toolStripButton1.Text = "대기상태";
else this.toolStripButton1.Text = "가동중";
this.toolStripButton1.Enabled = true;
}
else
{
this.toolStripButton1.Text = "사용불가";
this.toolStripButton1.Enabled = false;
}
}
}
}

View File

@@ -0,0 +1,142 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>104, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,36 @@
<html>
<head>
<style>
* {
font-family:"맑은 고딕";
font-weight:bold;
font-size:50px;
}
</style>
<body>
<table border="1" cellpadding="1" cellspacing="1" style='text-align: center;'>
<tr>
<td rowspan="2">
fdasf
</td>
<td>
맑은 고딕 테스트
</td>
<td>
fdasf
</td>
</tr>
<tr>
<td>
fdasf
</td>
<td>
fdasf
</td>
</tr>
</table>
</body>
</html>

View File

@@ -32,5 +32,8 @@ namespace JobReportMailService
public string memo { get; set; } public string memo { get; set; }
public string processs { get; set; } public string processs { get; set; }
public string id { get; set; } public string id { get; set; }
public string state { get; set; }
public Nullable<bool> useJobReport { get; set; }
public Nullable<bool> useUserState { get; set; }
} }
} }

View File

@@ -0,0 +1,31 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 템플릿에서 생성되었습니다.
//
// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다.
// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace JobReportMailService
{
using System;
using System.Collections.Generic;
public partial class vMailingProjectSchedule
{
public int idx { get; set; }
public string pdate { get; set; }
public string name { get; set; }
public string userManager { get; set; }
public Nullable<int> seq { get; set; }
public string title { get; set; }
public Nullable<int> sw { get; set; }
public Nullable<int> ew { get; set; }
public Nullable<int> swa { get; set; }
public Nullable<int> progress { get; set; }
public Nullable<int> ewa { get; set; }
public Nullable<int> ww { get; set; }
public string memo { get; set; }
}
}

View File

@@ -30,5 +30,7 @@ namespace Project
public virtual DbSet<Users> Users { get; set; } public virtual DbSet<Users> Users { get; set; }
public virtual DbSet<EETGW_GroupUser> EETGW_GroupUser { get; set; } public virtual DbSet<EETGW_GroupUser> EETGW_GroupUser { get; set; }
public virtual DbSet<vGroupUser> vGroupUser { get; set; } public virtual DbSet<vGroupUser> vGroupUser { get; set; }
public virtual DbSet<EETGW_JobReport_AutoInput> EETGW_JobReport_AutoInput { get; set; }
public virtual DbSet<JobReport> JobReport { get; set; }
} }
} }

View File

@@ -20,6 +20,34 @@
<Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" /> <Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="wdate" Type="smalldatetime" Nullable="false" /> <Property Name="wdate" Type="smalldatetime" Nullable="false" />
</EntityType> </EntityType>
<EntityType Name="EETGW_JobReport_AutoInput">
<Key>
<PropertyRef Name="idx" />
</Key>
<Property Name="idx" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="gcode" Type="varchar" MaxLength="10" Nullable="false" />
<Property Name="pdate" Type="varchar" MaxLength="10" />
<Property Name="edate" Type="varchar" MaxLength="10" />
<Property Name="pidx" Type="int" />
<Property Name="projectName" Type="nvarchar" MaxLength="255" />
<Property Name="uid" Type="varchar" MaxLength="20" />
<Property Name="requestpart" Type="varchar" MaxLength="50" />
<Property Name="package" Type="varchar" MaxLength="50" />
<Property Name="status" Type="varchar" MaxLength="20" />
<Property Name="type" Type="varchar" MaxLength="50" />
<Property Name="process" Type="varchar" MaxLength="50" />
<Property Name="description" Type="nvarchar(max)" />
<Property Name="remark" Type="nvarchar" MaxLength="255" />
<Property Name="hrs" Type="float" />
<Property Name="ot" Type="float" />
<Property Name="import" Type="bit" />
<Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="wdate" Type="smalldatetime" Nullable="false" />
<Property Name="description2" Type="nvarchar(max)" />
<Property Name="tag" Type="varchar" MaxLength="255" />
<Property Name="autoinput" Type="char" MaxLength="1" />
<Property Name="enable" Type="bit" />
</EntityType>
<EntityType Name="EETGW_LoginInfo"> <EntityType Name="EETGW_LoginInfo">
<Key> <Key>
<PropertyRef Name="idx" /> <PropertyRef Name="idx" />
@@ -32,6 +60,32 @@
<Property Name="wuid" Type="varchar" MaxLength="20" /> <Property Name="wuid" Type="varchar" MaxLength="20" />
<Property Name="wdate" Type="smalldatetime" /> <Property Name="wdate" Type="smalldatetime" />
</EntityType> </EntityType>
<EntityType Name="JobReport">
<Key>
<PropertyRef Name="idx" />
</Key>
<Property Name="idx" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="gcode" Type="varchar" MaxLength="10" Nullable="false" />
<Property Name="pdate" Type="varchar" MaxLength="10" />
<Property Name="pidx" Type="int" />
<Property Name="projectName" Type="nvarchar" MaxLength="255" />
<Property Name="uid" Type="varchar" MaxLength="20" />
<Property Name="requestpart" Type="varchar" MaxLength="50" />
<Property Name="package" Type="varchar" MaxLength="50" />
<Property Name="status" Type="varchar" MaxLength="20" />
<Property Name="type" Type="varchar" MaxLength="50" />
<Property Name="process" Type="varchar" MaxLength="50" />
<Property Name="description" Type="nvarchar(max)" />
<Property Name="remark" Type="nvarchar" MaxLength="255" />
<Property Name="hrs" Type="float" />
<Property Name="ot" Type="float" />
<Property Name="import" Type="bit" />
<Property Name="wuid" Type="varchar" MaxLength="20" Nullable="false" />
<Property Name="wdate" Type="smalldatetime" Nullable="false" />
<Property Name="description2" Type="nvarchar(max)" />
<Property Name="tag" Type="varchar" MaxLength="255" />
<Property Name="autoinput" Type="bit" />
</EntityType>
<EntityType Name="UserGroup"> <EntityType Name="UserGroup">
<Key> <Key>
<PropertyRef Name="dept" /> <PropertyRef Name="dept" />
@@ -98,7 +152,9 @@
</EntityType> </EntityType>
<EntityContainer Name="EEModelMainStoreContainer"> <EntityContainer Name="EEModelMainStoreContainer">
<EntitySet Name="EETGW_GroupUser" EntityType="Self.EETGW_GroupUser" Schema="dbo" store:Type="Tables" /> <EntitySet Name="EETGW_GroupUser" EntityType="Self.EETGW_GroupUser" Schema="dbo" store:Type="Tables" />
<EntitySet Name="EETGW_JobReport_AutoInput" EntityType="Self.EETGW_JobReport_AutoInput" Schema="dbo" store:Type="Tables" />
<EntitySet Name="EETGW_LoginInfo" EntityType="Self.EETGW_LoginInfo" Schema="dbo" store:Type="Tables" /> <EntitySet Name="EETGW_LoginInfo" EntityType="Self.EETGW_LoginInfo" Schema="dbo" store:Type="Tables" />
<EntitySet Name="JobReport" EntityType="Self.JobReport" Schema="dbo" store:Type="Tables" />
<EntitySet Name="UserGroup" EntityType="Self.UserGroup" Schema="dbo" store:Type="Tables" /> <EntitySet Name="UserGroup" EntityType="Self.UserGroup" Schema="dbo" store:Type="Tables" />
<EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" /> <EntitySet Name="Users" EntityType="Self.Users" Schema="dbo" store:Type="Tables" />
<EntitySet Name="vGroupUser" EntityType="Self.vGroupUser" store:Type="Views" store:Schema="dbo"> <EntitySet Name="vGroupUser" EntityType="Self.vGroupUser" store:Type="Views" store:Schema="dbo">
@@ -147,6 +203,8 @@
<EntitySet Name="Users" EntityType="EEModelMain.Users" /> <EntitySet Name="Users" EntityType="EEModelMain.Users" />
<EntitySet Name="EETGW_GroupUser" EntityType="EEModelMain.EETGW_GroupUser" /> <EntitySet Name="EETGW_GroupUser" EntityType="EEModelMain.EETGW_GroupUser" />
<EntitySet Name="vGroupUser" EntityType="EEModelMain.vGroupUser" /> <EntitySet Name="vGroupUser" EntityType="EEModelMain.vGroupUser" />
<EntitySet Name="EETGW_JobReport_AutoInput" EntityType="EEModelMain.EETGW_JobReport_AutoInput" />
<EntitySet Name="JobReport" EntityType="EEModelMain.JobReport" />
</EntityContainer> </EntityContainer>
<EntityType Name="EETGW_LoginInfo"> <EntityType Name="EETGW_LoginInfo">
<Key> <Key>
@@ -227,6 +285,60 @@
<Property Name="useJobReport" Type="Boolean" /> <Property Name="useJobReport" Type="Boolean" />
<Property Name="useUserState" Type="Boolean" /> <Property Name="useUserState" Type="Boolean" />
</EntityType> </EntityType>
<EntityType Name="EETGW_JobReport_AutoInput">
<Key>
<PropertyRef Name="idx" />
</Key>
<Property Name="idx" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="gcode" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="pdate" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="edate" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="pidx" Type="Int32" />
<Property Name="projectName" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="uid" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="requestpart" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="package" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="status" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="type" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="process" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="remark" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="hrs" Type="Double" />
<Property Name="ot" Type="Double" />
<Property Name="import" Type="Boolean" />
<Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" />
<Property Name="description2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="tag" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="autoinput" Type="String" MaxLength="1" FixedLength="true" Unicode="false" />
<Property Name="enable" Type="Boolean" />
</EntityType>
<EntityType Name="JobReport">
<Key>
<PropertyRef Name="idx" />
</Key>
<Property Name="idx" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="gcode" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="pdate" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
<Property Name="pidx" Type="Int32" />
<Property Name="projectName" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="uid" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="requestpart" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="package" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="status" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="type" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="process" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="description" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="remark" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="hrs" Type="Double" />
<Property Name="ot" Type="Double" />
<Property Name="import" Type="Boolean" />
<Property Name="wuid" Type="String" Nullable="false" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="wdate" Type="DateTime" Nullable="false" Precision="0" />
<Property Name="description2" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
<Property Name="tag" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="autoinput" Type="Boolean" />
</EntityType>
</Schema> </Schema>
</edmx:ConceptualModels> </edmx:ConceptualModels>
<!-- C-S mapping content --> <!-- C-S mapping content -->
@@ -327,6 +439,62 @@
</MappingFragment> </MappingFragment>
</EntityTypeMapping> </EntityTypeMapping>
</EntitySetMapping> </EntitySetMapping>
<EntitySetMapping Name="EETGW_JobReport_AutoInput">
<EntityTypeMapping TypeName="EEModelMain.EETGW_JobReport_AutoInput">
<MappingFragment StoreEntitySet="EETGW_JobReport_AutoInput">
<ScalarProperty Name="enable" ColumnName="enable" />
<ScalarProperty Name="autoinput" ColumnName="autoinput" />
<ScalarProperty Name="tag" ColumnName="tag" />
<ScalarProperty Name="description2" ColumnName="description2" />
<ScalarProperty Name="wdate" ColumnName="wdate" />
<ScalarProperty Name="wuid" ColumnName="wuid" />
<ScalarProperty Name="import" ColumnName="import" />
<ScalarProperty Name="ot" ColumnName="ot" />
<ScalarProperty Name="hrs" ColumnName="hrs" />
<ScalarProperty Name="remark" ColumnName="remark" />
<ScalarProperty Name="description" ColumnName="description" />
<ScalarProperty Name="process" ColumnName="process" />
<ScalarProperty Name="type" ColumnName="type" />
<ScalarProperty Name="status" ColumnName="status" />
<ScalarProperty Name="package" ColumnName="package" />
<ScalarProperty Name="requestpart" ColumnName="requestpart" />
<ScalarProperty Name="uid" ColumnName="uid" />
<ScalarProperty Name="projectName" ColumnName="projectName" />
<ScalarProperty Name="pidx" ColumnName="pidx" />
<ScalarProperty Name="edate" ColumnName="edate" />
<ScalarProperty Name="pdate" ColumnName="pdate" />
<ScalarProperty Name="gcode" ColumnName="gcode" />
<ScalarProperty Name="idx" ColumnName="idx" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="JobReport">
<EntityTypeMapping TypeName="EEModelMain.JobReport">
<MappingFragment StoreEntitySet="JobReport">
<ScalarProperty Name="autoinput" ColumnName="autoinput" />
<ScalarProperty Name="tag" ColumnName="tag" />
<ScalarProperty Name="description2" ColumnName="description2" />
<ScalarProperty Name="wdate" ColumnName="wdate" />
<ScalarProperty Name="wuid" ColumnName="wuid" />
<ScalarProperty Name="import" ColumnName="import" />
<ScalarProperty Name="ot" ColumnName="ot" />
<ScalarProperty Name="hrs" ColumnName="hrs" />
<ScalarProperty Name="remark" ColumnName="remark" />
<ScalarProperty Name="description" ColumnName="description" />
<ScalarProperty Name="process" ColumnName="process" />
<ScalarProperty Name="type" ColumnName="type" />
<ScalarProperty Name="status" ColumnName="status" />
<ScalarProperty Name="package" ColumnName="package" />
<ScalarProperty Name="requestpart" ColumnName="requestpart" />
<ScalarProperty Name="uid" ColumnName="uid" />
<ScalarProperty Name="projectName" ColumnName="projectName" />
<ScalarProperty Name="pidx" ColumnName="pidx" />
<ScalarProperty Name="pdate" ColumnName="pdate" />
<ScalarProperty Name="gcode" ColumnName="gcode" />
<ScalarProperty Name="idx" ColumnName="idx" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping> </EntityContainerMapping>
</Mapping> </Mapping>
</edmx:Mappings> </edmx:Mappings>

View File

@@ -10,6 +10,8 @@
<EntityTypeShape EntityType="EEModelMain.Users" Width="1.5" PointX="8.875" PointY="0.75" /> <EntityTypeShape EntityType="EEModelMain.Users" Width="1.5" PointX="8.875" PointY="0.75" />
<EntityTypeShape EntityType="EEModelMain.EETGW_GroupUser" Width="1.5" PointX="0.75" PointY="0.75" /> <EntityTypeShape EntityType="EEModelMain.EETGW_GroupUser" Width="1.5" PointX="0.75" PointY="0.75" />
<EntityTypeShape EntityType="EEModelMain.vGroupUser" Width="1.5" PointX="3.375" PointY="0.75" /> <EntityTypeShape EntityType="EEModelMain.vGroupUser" Width="1.5" PointX="3.375" PointY="0.75" />
<EntityTypeShape EntityType="EEModelMain.EETGW_JobReport_AutoInput" Width="1.5" PointX="0.75" PointY="4.75" />
<EntityTypeShape EntityType="EEModelMain.JobReport" Width="1.5" PointX="5.375" PointY="3.75" />
</Diagram> </Diagram>
</edmx:Diagrams> </edmx:Diagrams>
</edmx:Designer> </edmx:Designer>

View File

@@ -151,6 +151,8 @@ namespace Project.Dialog
//로그인정보 기록 //로그인정보 기록
AddLoginInfo(); AddLoginInfo();
//210221
MakeAutoJobReport();
DialogResult = DialogResult.OK; DialogResult = DialogResult.OK;
} }
@@ -160,6 +162,55 @@ namespace Project.Dialog
DialogResult = System.Windows.Forms.DialogResult.Cancel; DialogResult = System.Windows.Forms.DialogResult.Cancel;
} }
}
void MakeAutoJobReport()
{
//자동로그인 업무일지 기록 기능 추가 = 210220
//select* from EETGW_JobReport_AutoInput where gcode = 'EET1P' and pdate <= '2021-02-20' and(edate is null or edate > '2021-02-20') and autoinput = 'L'
var db = new EEEntitiesMain();
var nd = DateTime.Now.ToShortDateString();
if (db.JobReport.Where(t => t.gcode == FCOMMON.info.Login.gcode &&
t.autoinput == true &&
t.uid == FCOMMON.info.Login.no &&
t.pdate == nd).Any() == false)
{
var rows = db.EETGW_JobReport_AutoInput.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.autoinput == "L" && t.uid == FCOMMON.info.Login.no && t.pdate.CompareTo(nd) <= 0 && (string.IsNullOrEmpty(t.edate) == true || t.edate.CompareTo(nd) > 0));
foreach (var dr in rows)
{
//이데이터를 그대로 생성해준다.
var newdr = new JobReport();
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.pdate = nd;
newdr.import = false;
newdr.hrs = dr.hrs;
newdr.ot = dr.ot;
newdr.process = dr.process;
newdr.projectName = dr.projectName;
newdr.pidx = dr.pidx;
newdr.package = dr.package;
newdr.autoinput = true;
newdr.description = dr.description;
newdr.description2 = dr.description2;
newdr.remark = dr.remark;
newdr.requestpart = dr.requestpart;
newdr.status = dr.status;
newdr.tag = dr.tag;
newdr.uid = dr.uid;
db.JobReport.Add(newdr);
}
if (rows.Count() > 0)
{
db.SaveChanges();
Util.MsgI($"{rows.Count()} 건의 업무일지가 자동 생성 되었습니다\n업무일지는 로그인시 최초 1회 자동 등록됩니다\n" +
"자동입력을 해제하려면 '업무일지-자동입력' 화면에서 내역을 변경하거나 종료일자를 설정하시기 바랍니다");
}
}
} }
void AddLoginInfo() void AddLoginInfo()

View File

@@ -313,6 +313,9 @@
<Compile Include="EETGW_GroupUser.cs"> <Compile Include="EETGW_GroupUser.cs">
<DependentUpon>AdoNetEFMain.tt</DependentUpon> <DependentUpon>AdoNetEFMain.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="EETGW_JobReport_AutoInput.cs">
<DependentUpon>AdoNetEFMain.tt</DependentUpon>
</Compile>
<Compile Include="EETGW_LoginInfo.cs"> <Compile Include="EETGW_LoginInfo.cs">
<DependentUpon>AdoNetEFMain.tt</DependentUpon> <DependentUpon>AdoNetEFMain.tt</DependentUpon>
</Compile> </Compile>
@@ -334,6 +337,9 @@
<Compile Include="fSetting.Designer.cs"> <Compile Include="fSetting.Designer.cs">
<DependentUpon>fSetting.cs</DependentUpon> <DependentUpon>fSetting.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport.cs">
<DependentUpon>AdoNetEFMain.tt</DependentUpon>
</Compile>
<Compile Include="Language\Lang.cs" /> <Compile Include="Language\Lang.cs" />
<Compile Include="Manager\DataBaseManager.cs" /> <Compile Include="Manager\DataBaseManager.cs" />
<Compile Include="Manager\keyValuedataTable.cs" /> <Compile Include="Manager\keyValuedataTable.cs" />

View File

@@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 템플릿에서 생성되었습니다.
//
// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다.
// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Project
{
using System;
using System.Collections.Generic;
public partial class EETGW_JobReport_AutoInput
{
public int idx { get; set; }
public string gcode { get; set; }
public string pdate { get; set; }
public string edate { get; set; }
public Nullable<int> pidx { get; set; }
public string projectName { get; set; }
public string uid { get; set; }
public string requestpart { get; set; }
public string package { get; set; }
public string status { get; set; }
public string type { get; set; }
public string process { get; set; }
public string description { get; set; }
public string remark { get; set; }
public Nullable<double> hrs { get; set; }
public Nullable<double> ot { get; set; }
public Nullable<bool> import { get; set; }
public string wuid { get; set; }
public System.DateTime wdate { get; set; }
public string description2 { get; set; }
public string tag { get; set; }
public string autoinput { get; set; }
public Nullable<bool> enable { get; set; }
}
}

39
Project/JobReport.cs Normal file
View File

@@ -0,0 +1,39 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 템플릿에서 생성되었습니다.
//
// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다.
// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Project
{
using System;
using System.Collections.Generic;
public partial class JobReport
{
public int idx { get; set; }
public string gcode { get; set; }
public string pdate { get; set; }
public Nullable<int> pidx { get; set; }
public string projectName { get; set; }
public string uid { get; set; }
public string requestpart { get; set; }
public string package { get; set; }
public string status { get; set; }
public string type { get; set; }
public string process { get; set; }
public string description { get; set; }
public string remark { get; set; }
public Nullable<double> hrs { get; set; }
public Nullable<double> ot { get; set; }
public Nullable<bool> import { get; set; }
public string wuid { get; set; }
public System.DateTime wdate { get; set; }
public string description2 { get; set; }
public string tag { get; set; }
public Nullable<bool> autoinput { get; set; }
}
}

View File

@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로 // 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다. // 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("21.02.16.1430")] [assembly: AssemblyVersion("21.02.22.0100")]
[assembly: AssemblyFileVersion("21.02.16.1430")] [assembly: AssemblyFileVersion("21.02.22.0100")]

View File

@@ -121,12 +121,18 @@ namespace Project
tmDisplay.Start(); //display timer tmDisplay.Start(); //display timer
Func_Login(); Func_Login();
Update_Site(); Update_Site();
bw.RunWorkerAsync(); //background worker bw.RunWorkerAsync(); //background worker
//사용기록추적 //사용기록추적
Pub.CheckNRegister3(Application.ProductName, "chi", Application.ProductVersion); Pub.CheckNRegister3(Application.ProductName, "chi", Application.ProductVersion);
//서버ON //서버ON
try try
{ {
@@ -384,7 +390,7 @@ namespace Project
{ {
string formkey = "EQBUMP"; string formkey = "EQBUMP";
if (!ShowForm(formkey)) if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.BUMP)); AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.BUMP), "BUMP");
} }
@@ -392,7 +398,7 @@ namespace Project
{ {
string formkey = "EQMOLD"; string formkey = "EQMOLD";
if (!ShowForm(formkey)) if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.MOLD)); AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.MOLD), "MOLD_EOL");
} }
@@ -402,7 +408,7 @@ namespace Project
string formkey = "EQFOL"; string formkey = "EQFOL";
if (!ShowForm(formkey)) if (!ShowForm(formkey))
AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.FOL)); AddForm(formkey, new FEQ0000.fEquipment(FEQ0000.fEquipment.eTabletype.FOL), "FOL");
} }
@@ -582,7 +588,7 @@ namespace Project
} }
return false; return false;
} }
void AddForm(string key, Form f) void AddForm(string key, Form f, string Title = "")
{ {
f.TopLevel = false; f.TopLevel = false;
f.Dock = DockStyle.Fill; f.Dock = DockStyle.Fill;
@@ -590,7 +596,7 @@ namespace Project
f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; f.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
f.FormClosed += f_FormClosed; f.FormClosed += f_FormClosed;
f.Tag = key; f.Tag = key;
this.tabControl1.TabPages.Add(key, f.Text); this.tabControl1.TabPages.Add(key, (Title.isEmpty() ? f.Text : Title));
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BorderStyle = BorderStyle.Fixed3D; this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BorderStyle = BorderStyle.Fixed3D;
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Padding = new Padding(10, 10, 10, 10); this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].Padding = new Padding(10, 10, 10, 10);
this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BackColor = Color.LightGray; this.tabControl1.TabPages[this.tabControl1.TabPages.Count - 1].BackColor = Color.LightGray;
@@ -727,7 +733,7 @@ namespace Project
private void workReportImportToolStripMenuItem_Click(object sender, EventArgs e) private void workReportImportToolStripMenuItem_Click(object sender, EventArgs e)
{ {
var f = new FPJ0000.JobReport.fJobReportImport(); var f = new FPJ0000.JobReport_.fJobReportImport();
f.ShowDialog(); f.ShowDialog();
} }

View File

@@ -196,14 +196,14 @@
this.toolStripButton3, this.toolStripButton3,
this.toolStripButton4, this.toolStripButton4,
this.toolStripButton5}); this.toolStripButton5});
this.bn.Location = new System.Drawing.Point(0, 622); this.bn.Location = new System.Drawing.Point(0, 652);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn"; this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem; this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(1213, 26); this.bn.Size = new System.Drawing.Size(1180, 26);
this.bn.TabIndex = 0; this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1"; this.bn.Text = "bindingNavigator1";
// //
@@ -580,7 +580,7 @@
this.btViewDel}); this.btViewDel});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1213, 37); this.toolStrip1.Size = new System.Drawing.Size(1180, 37);
this.toolStrip1.TabIndex = 3; this.toolStrip1.TabIndex = 3;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
@@ -759,7 +759,7 @@
this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1}); this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1213, 562); this.fpSpread1.Size = new System.Drawing.Size(1180, 592);
this.fpSpread1.StatusBarVisible = true; this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 4; this.fpSpread1.TabIndex = 4;
// //
@@ -767,10 +767,10 @@
// //
this.label1.Dock = System.Windows.Forms.DockStyle.Bottom; this.label1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129))); this.label1.Font = new System.Drawing.Font("맑은 고딕", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.label1.Location = new System.Drawing.Point(0, 599); this.label1.Location = new System.Drawing.Point(0, 629);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0); this.label1.Padding = new System.Windows.Forms.Padding(5, 0, 0, 0);
this.label1.Size = new System.Drawing.Size(1213, 23); this.label1.Size = new System.Drawing.Size(1180, 23);
this.label1.TabIndex = 6; this.label1.TabIndex = 6;
this.label1.Text = "--"; this.label1.Text = "--";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
@@ -979,6 +979,7 @@
this.fpSpread1_Sheet1.Columns.Get(20).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(20).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(20).Visible = false; this.fpSpread1_Sheet1.Columns.Get(20).Visible = false;
this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F;
this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType15; this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "project"; this.fpSpread1_Sheet1.Columns.Get(21).DataField = "project";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
@@ -1044,7 +1045,7 @@
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1213, 648); this.ClientSize = new System.Drawing.Size(1180, 678);
this.Controls.Add(this.fpSpread1); this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.label1); this.Controls.Add(this.label1);
this.Controls.Add(this.toolStrip1); this.Controls.Add(this.toolStrip1);

View File

@@ -1042,6 +1042,7 @@ namespace FEQ0000
sb.AppendLine("<thead>"); sb.AppendLine("<thead>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>신청</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>신청</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>CR/CF</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수령</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수령</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SID</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SID</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품명</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품명</td>");
@@ -1049,14 +1050,14 @@ namespace FEQ0000
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>입고</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급</td>"); sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>비고</td>");
sb.AppendLine("</thead>"); sb.AppendLine("</thead>");
sb.AppendLine("<tbody>"); sb.AppendLine("<tbody>");
var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index; var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index;
var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index; var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index;
var col_CRLF = fpSpread1_Sheet1.Columns["crcf"].Index;
var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index; var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index;
var col_SID = fpSpread1_Sheet1.Columns["sid"].Index; var col_SID = fpSpread1_Sheet1.Columns["sid"].Index;
var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index; var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index;
@@ -1064,7 +1065,6 @@ namespace FEQ0000
var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index; var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index;
var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index; var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index;
var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index; var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index;
var col_입고 = fpSpread1_Sheet1.Columns["inqty"].Index;
var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index; var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index;
var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index; var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index;
@@ -1073,6 +1073,8 @@ namespace FEQ0000
{ {
var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value; var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value;
var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value; var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value;
var vCRCF = fpSpread1_Sheet1.Cells[i, col_CRLF].Value;
var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value; var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value;
var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value; var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value;
var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value; var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value;
@@ -1080,12 +1082,12 @@ namespace FEQ0000
var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value; var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value;
var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value; var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value;
var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value; var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value;
var v입고 = fpSpread1_Sheet1.Cells[i, col_입고].Value;
var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value; var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value;
var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value; var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value;
var s신청 = String.Empty; var s신청 = String.Empty;
var s요청 = String.Empty; var s요청 = String.Empty;
var sCRCF = String.Empty;
var s수령 = String.Empty; var s수령 = String.Empty;
var sSID = String.Empty; var sSID = String.Empty;
var s품명 = String.Empty; var s품명 = String.Empty;
@@ -1099,6 +1101,7 @@ namespace FEQ0000
if (v신청 != null) s신청 = v신청.ToString(); if (v신청 != null) s신청 = v신청.ToString();
if (v요청 != null) s요청 = v요청.ToString(); if (v요청 != null) s요청 = v요청.ToString();
if (vCRCF != null) sCRCF = vCRCF.ToString();
if (v수령 != null) s수령 = v수령.ToString(); if (v수령 != null) s수령 = v수령.ToString();
if (vSID != null) sSID = vSID.ToString(); if (vSID != null) sSID = vSID.ToString();
if (v품명 != null) s품명 = v품명.ToString(); if (v품명 != null) s품명 = v품명.ToString();
@@ -1106,13 +1109,12 @@ namespace FEQ0000
if (v수량 != null) s수량 = v수량.ToString(); if (v수량 != null) s수량 = v수량.ToString();
if (v단가 != null) s단가 = v단가.ToString(); if (v단가 != null) s단가 = v단가.ToString();
if (v금액 != null) s금액 = v금액.ToString(); if (v금액 != null) s금액 = v금액.ToString();
if (v입고 != null) s입고 = v입고.ToString();
if (v공급 != null) s공급 = v공급.ToString(); if (v공급 != null) s공급 = v공급.ToString();
if (v비고 != null) s비고 = v비고.ToString();
sb.AppendLine("<tr>"); sb.AppendLine("<tr>");
sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>"); sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>");
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>"); sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>"); sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>"); sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>"); sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
@@ -1120,9 +1122,8 @@ namespace FEQ0000
sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>"); sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>");
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>"); sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>");
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>"); sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>");
sb.AppendLine("<td>" + getmaxstr(s입고) + "</td>");
sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>"); sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
sb.AppendLine("<td>" + getmaxstr(s비고,20) + "</td>");
sb.AppendLine("</tr>"); sb.AppendLine("</tr>");
} }
sb.AppendLine("</tbody>"); sb.AppendLine("</tbody>");

View File

@@ -249,57 +249,57 @@
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANHSURBVDhPtZBvTNJ5HMfdenbzQbWjWenaVZub2+9BXjdd YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANISURBVDhPtZBdTFN3GIdJvFu4cGY1OCFEZ0JCci5kLhCo
kpz5Z4W65kK0iWFUaE5SwWZm+pMOU2l4ioTQeaaRRJYzLS7SZqs2EyOoX+aUitCKPxFJ/bzKzfXOEbe7 VMZHZoEYslIwFMs6LEioQItBZHCoaxVqyqB0pXUMwUqpOIKg1QoEoiZIsWvnEQlUrQW1H9ZK9bBNEuJv
293TXk8/n9fru+8n7J+oJsjwBmtVLXlXPFp5u3ix9Ma+xUJj3mh+X3ZNdm/vMuHgq+9Cq/9FQdWw6i2V pHbZlu12z+37Ps8//zfi76jnyMjTtvom8o54uu5WxXrVxNfrZaai6eKh/Mb8wcFNwtHnH4RX/42SamTJ
jmtPr2LIeQPGmeu499oKvfUcdunY6tKemYNFnU8de7V2Vkj5G7ntaJbhcReGnUPosp9HmbUGkvsk+qYv rXXO64+uYsw1AdPSDdx9YYPBdgFf6tmaqv6lI+U9j5xf6RyssPIXCvuJPOODXoy7xtDrGEC1rRGSn0kM
I7Ob7c/p0mwo6nzi77ztg+TsM3DktqyQuvTyBLnyuLmCHpkZQdOECoLxQygwH0L7ZCfUt9qQpk46uL/D LV5Gbh87UNCr/aS852Gg55YfkvOPwVHY88Lqxstz5JaTllp6cmkSrXNqCGaPosRyFF3zPdDc7ESWJu1I
oW6+6obxEQ3NsBfsOjOdVj66MhggxyQyo/0KTk+dBX9chNxRIQ5b6qCz6pCm3Gor0EzG7mmYWBx8+B6K abdT03bVA9N9GtpxH9jNFjqrZnpLKEDOSGQmxxWcXTgP/qwIhdNCHLM2Q2/TI0u1116inU84JJ9bH733
6z70mgMo65jC1pJhWTBw+FahzfR8CCLLUexekoVjYujsBogMRUhojGPmKSfvNBtduGQJoFz/CrIBLxr7 BsobfgxagqjuXsDeynFZKHDsZpnd/GQMIusJHNyQhTNi6B1GiIzlSGlJZBap5m+3mdz4yRpEjeE5ZCM+
XyBWMGALBopNBQsDzj9QaqlGE6XEhek+nDQ1YcsvP/2e1zrF3U4+/HBhbA4SvQuFv81CqJnFr1fciOFd tAw/RYJgxB4KVJhL1kZc11BlbUArpcLFxSGcMbci+dvPfizqWOBmkfd+uzizAonBjbIfliHULuO7Kx7E
DAQD+f3cwJhnHBen+6G6qQTrxBZ/vHRz7aCY/F5VcSYinTRTbdfcqNS7kd/iBK/ZgcY+F9axz9DBALcn 8y4FQ4HiYW5wxjuLS4vDUE+pwDqVHEiS7mkaFZMfqWvPRWWTFqrzugd1Bg+K213gtTnRMuRGLPscHQpw
09Z2swXb2livE+VxYpM4J+oTn1/9MZPrp3fsJJIq7lAnL7+EqOMFOPXPUKiehajdjvUZ7V+/kK5JkSS3 +3PtnVPt+LyT9SJVkSg2iwti3vL5Db/ncgP0/gNEWu1t6szlZxB1PwVH/hhlmmWIuhzYmdP1/gvZ2gxJ
MoW28j1rFw4cUMzzeDRdewzzubtBJyYTCSUmSmqYwX6lExlV05AZ3GCXjWBtasvXI+LIkRWfSoq1foFg egdTaK85tH3t8GHlKo9H003fYLXwIOjUdCKl0kxJjUsoVbmQU78ImdEDdvUktme2vz8ijh//8G1lhc4v
Yb5ehjmDDv6eLrzL2Ak6Np7YLBikqrodyGtygFy6A6/hASJT5XQEs54RDHwWiRjzfD79XnsKb3t74JJW EKytymVYMeoR6O/F65wDoBOSiD2CUaq+z4miVifIjTvwTv+C6EwFHcWUM0KBdyIRY5XPp9/ovserwX64
w3e6HXM/p8AfTRAxOeepMu0TkOdcyKm7h03ZekQwGzlB+S/+zOJwaIEAb8ka+LQqeFsVeBOXAE9kNLEx pQ3wn+3Cyr4MBOIIIr5ggKrWPQR5wY2C5rvYnW9AFLOFE5L/5Nc8DocWCPCKbIRfp4avQ4mXiSnwRscR
q5sSNE8iWWjCmiSFg8E8sT2k/ZtAQmLqu9h4h4+bC7eoBF7iR3hWRRLr0tVUVEqLeXWSXMpgkeGh9f/H u/L6KEHbPNKFZnycpnQymKe+CGv/JJiSmvk6Icnp5xbCI6qEj/gU3q3RRGy2horJaLdsS1NIGSwyMrz+
GxMT7vshWupdvd7sYUTBs3wVERp9K8LCvgDnwuEzIxwUcgAAAABJRU5ErkJggg== 3/ji4yP9O+Kkvm07LV5GDLybtxLh0f9FRMQf2irhLR48YCUAAAAASUVORK5CYII=
</value> </value>
</data> </data>
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKOSURBVDhPzZHdS5NRHMcf6K7/IbrrIlsviFYEQRBFN1lg YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKPSURBVDhPzZHbS5NhHMdf6K5/oYvuusjWAdGKIAiiCDoQ
LxdFFxJUCIZBEQjDC3WhbohzafYmidZmLqdEQS9IU/eqmz7qfNx0bio61G3Pu8+ePd/O5sC88bof58s5 2OGi6EKCCsEwKAJheKEu1Ik4l2YnybQ2czolCjogTd1RN33T17np3HLoULe9Z9+9e789mwPzxut+PF+e
B36f7/d3ONT/XVbrjQNNXXbny/7fMNncaLP70W77hQ598cFCy/7V9N7utP2JgFnlsbghwx1h4XDH0fjG 54Hf5/v9PTzU/10Wy7U9jV02x/P+n2i2utBm86Hd+gMd+uK9hZbdq/GtzWH9FUYwzmNxTYYrzMLuiqHh
4Sy07F9t/R5Mx1l4oiJGFwSMEE2uSDBbR1BooaiZoeLAkuOqEhu89o/KlPmvZyLNn1wIJ2SMRng4wzx+ ld1RaNm92vrd+B1j4Y6IGFsQMEo0tSzBZBlFoYWiZoaL/Uv2i0rUfvkfXVLmP58IN310IpSQMRbm4Qjx
hjj4YzJaP/t2DTwfSmVNywLQyMpp55yREjD3uUHHOQwzO3BOvriMxm7nrgFtL0lpqgR52QhhoQVC9B3E +M5w8EVltH7ybhs435XKmpYFoJGV09Y5IyVg6nOBjnEYCW7BOXljMhq6HdsGtK0kpakS5D9GCAstECJv
pT5omSSs30bxwx+DLypgLCrBS9IHgxxMHb0wVpTcyxswPafYrJImsBl8uBXsdC02PY+Q8FYi4mrAkKOd IC71QcskYfkyhm++KLwRAeMRCR6SPhTg0NzRC2N5yZ28QbDnGJtV0gQ2gQ+1gv1dg3X3AyQ8FQg76zFs
TDIGC/mB5o8uGDts8A5YMKQvZ2uuH75NMbYSJSOuIUmbsTVuwPrwE4jrbmgqS8QV9lR+Ii2zheDwF/Tq byeTjMNMfqDpgxPGDis8g2YM68vY6qv7b1JBa4mSEVeQpE3YmDBgdeQRxFUXNJUl4gp7Kj+RltlAYGQA
b2r0QBM6q84LZILTSv79WZlIBFQhD6piCPKqGVK8DuLiUwjzD8CH7kDlZ+HQH1I6n10SLVUXQDHm0m1N 7/XXNXqwEZ2VpwUywXEl//6sTCQCqpAHVZGBHDdBitVCXHwMYf4eeOYWVH4Wdv0+pfPJOdFceQZU0FS6
FaGyLmSS36Fs9GF77TUBGyFGayCGKyHM3QU/UwZu6iJULoAJ0wkp//5ceV6VylmFhbI5iO31bpLaBilG qakiVNaJTPIrlLU+bK68JGADxEg1xFAFhLnb4GeugJs+C5XzY7L5iJR/f66cL0rlrMJCWR/C5mo3SW2D
UhdyqffBz94CR18BGzyH9PhJZFjfXoPcRVOSBO6CvNICaamWwNUQmAoCl5PUy2ADZ5H2H0fKe4QYePYa FCWpC7nUu+Bnb4CjL4ANnEJ64igyrHenQe6iKUkCd0FeboG0VEPgKgjBcgKXkdTzYP0nkfYdRspzgBi4
zL3QrYopOrXs783y82/BMRZwISO42XqwtB7s1HOkJ6uRDlQiPfEQa4xDo43FqQJOUaH6oschw7EeuuFo dxrMPdPFxRSdinp6s/z8a3BBMzjGCG62DiytBzv9FOmpKqT9FUhP3kecGdBoY3GqgFMUU1f0kDEc6qHr
YsKgk/ZVg04KGnTpUF1R6w5NUX8Bg4dCGnY0aaMAAAAASUVORK5CYII= DyYmDTppV9XrpIBBl2Zqi1q3aIr6C0ynQfqWY2xBAAAAAElFTkSuQmCC
</value> </value>
</data> </data>
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL3SURBVDhPhZJZTxNRGIZ7pT/BoBdekhgFtUaNXijIUsAE YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL2SURBVDhPhZLrT1JhHMd5lX9Cs1700q2VzGzV6kVlQqht
NwSiKEspBGQTajARIQUjshiQAIkaAtF4oQZUoCwFpJRCG4oRQQRkLUugtCxdZqAz5fXMtFpNSPySJ+fi XU1dWV4IXeZtSastoyGti9E0J2zVWq7Wi2rZBdFCTUQUFrYos5sSIlGipHI5BzkHvz3nQFFbW7/ts+fF
zPtkvndGwI3/A2X0xWKNIrREsxaQp6HISfOUcqeWDi3up4OfqEfOSlXlh8Le7uFDf0/Qo16VwUwb9ctG c76fnd/3HAE3otPGoh2NFsPOy5YfYoWFIifNo+ZOK72zcYjOvmge2SQ3Na/MvbeED/05WecGTF4/PeP0
1mTdgsnixmjmoPFjyYycT3pElozZRCnyva6oc0IK1YYlwxrbP2uHdo6BVs9AM8tAPbMN5c8ttI5ascUA eFlfMAxfIMGMn4PGe48f9U9cKLj8ISSp1CfFo7HJuWD2ur/PsEPOCKwTDKwuBhYnA/OXBRg/h9E1GkSY
TWMUcj7MIe7ZCPWPJCC3ndq0bWNwnsWXeYacDAZ4yTZ6JrfQPmojAgcGl1hoF+0okOvhe7/rDR+OKPWZ AXQfKNQ/mkDp1RHqL4lY0UXNhxYwPMni1SRDTgYveckC+sfCeD4aIoIohj0srF8jUOldyDjVe5cP56u3
vp4XtiOpuoq4ymuobKtDfn0pfHO94EMQFZyBv+wkyprK+FUsNIOVdRv87/YwvCC82Pd913AzmideolKT OvYrchdlmr0obd2H1mdtaHioRoYiFVsJEtVGiJTr0KRr4lcJ0AymZkMQ1fQzvCCvMeNB79sOdHy6gVZL
xUtuVwQj63UUUusiIa6+hNjqWDQNraB5xILGb5vYID0FyHppXiAqF+0NzE1jNePdeDUsQ5EyhZdEV4WQ HS853JKNujuFqGorgFS7CyXaEujsU+gYCeDpm3nMkZ7EygGaF0iaJUkiRTVr+diH22+VuGSs5CVFmhwS
8GUkPk+AatLKr9I5QUFBeli32hGQ3+cUcBNU2ENn1MRAN6lGtfYeHndkIqL0AqIrwqCbtUFHiuUKVk05 3o3ya2UwjQX5VXo+UTCQHmaDEYgbBmMCbrIu9NO1N4thGzNDaz2B893Hka/ehqKWXNicIdhIsVzBpvFY
OzERgb/sL8G5h7n2U9kHEVUuwuBUPwq6kyCTZyDyqR/qlB/xdYGBjhTbP2NHH8FgtsM3zyU4LvWQCKUH Jz4iECn/EGw+o4isP7kChc0SDI8PQdV3FEp9LQquZKLN+Biv3QxspNihLxEMErz+CDLOxgVr5MmydPly
kFp7AzergnCjLJCXZMijIK1PIG/iB+5+UM9igPvEBDMpUpiudgqE0n0LQul+8pAHhFkeuFLkh+QXMVCN VN06gIOaLBxo2s5LavWFkD8sI2+SCe5+2MXiJfeJCX5SZFq1OSZIly91p8uXkYeSkV6XjD2XMlFxvRim
KlCgyEbSuxiIq8KhIwIt+Tc0REDbHfBOU7pXOJ/eSy9t0BhaYHl6xheRXpOIeBKUVEcis/bOnzsO2zZL UQNUhpM4er8YUk0ebERgJf+GhQjoSBTCamNihS3VA7RnjobdzfL0f/yKmpvlOEKCMm0Bjt869vuOI7TA
BI1uwVFimze5Bf/DSlbwTmhwC05nfLYNz6zs7PbwbhjXNx1HbjdZXHFSZGLH9NymzTw8u+qYXqUwbaAw EsHjhICzTfoSgv8RJCsIy9oTgg21L0L28W+L/3r4X3h9s9HVh3WBeJwUWd7tmJgP+e2OqahjmoLDS2Es
6WLVYufhmrfQLJaNGw6KojY8b7V8d8UFghOJbcne4taOYxKFyVvSQP8h3onXb8QNtKe4Zf1wbEunV4w8 znQgwsM1H6BZeLw/ohRFzaUc6nwXjwsEa8ufVQilXd1pMoNPKGunf3MkRuovpO10irRzdlVJZ09qsb5U
TiAQCH4BkPChBKRJ4EwAAAAASUVORK5CYII= IBAIfgI33aDRLdfyBgAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

3932
SubProject/FPJ0000/DSEboard.Designer.cs generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>

View File

@@ -0,0 +1,457 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSEboard" targetNamespace="http://tempuri.org/DSEboard.xsd" xmlns:mstns="http://tempuri.org/DSEboard.xsd" xmlns="http://tempuri.org/DSEboard.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="gwcs" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="gwcs (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.FPJ0000.Properties.Settings.GlobalReference.Default.gwcs" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EETGW_JobReport_EBoardTableAdapter" GeneratorDataComponentClassName="EETGW_JobReport_EBoardTableAdapter" Name="EETGW_JobReport_EBoard" UserDataComponentName="EETGW_JobReport_EBoardTableAdapter">
<MainSource>
<DbSource ConnectionRef="gwcs (Settings)" DbObjectName="EE.dbo.EETGW_JobReport_EBoard" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [EETGW_JobReport_EBoard] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_Site = 1 AND [Site] IS NULL) OR ([Site] = @Original_Site)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL) OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([수리완료일] = @Original_수리완료일)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @Original_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_Line)) AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR ([Division] = @Original_Division)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original_Team)) AND ((@IsNull_Process = 1 AND [Process] IS NULL) OR ([Process] = @Original_Process)) AND ((@IsNull_Equipment = 1 AND [Equipment] IS NULL) OR ([Equipment] = @Original_Equipment)) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_BoardName = 1 AND [BoardName] IS NULL) OR ([BoardName] = @Original_BoardName)) AND ((@IsNull_BoardVender = 1 AND [BoardVender] IS NULL) OR ([BoardVender] = @Original_BoardVender)) AND ((@IsNull_SN = 1 AND [SN] IS NULL) OR ([SN] = @Original_SN)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [NPrice] IS NULL) OR ([NPrice] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND [OPrice] IS NULL) OR ([OPrice] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1 AND [RepairCost] IS NULL) OR ([RepairCost] = @Original_RepairCost)) AND ((@IsNull_CostReduction = 1 AND [CostReduction] IS NULL) OR ([CostReduction] = @Original_CostReduction)) AND ((@IsNull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Original_외주업체)) AND ((@IsNull_RepairTime = 1 AND [RepairTime] IS NULL) OR ([RepairTime] = @Original_RepairTime)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Site" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Site" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Site" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Site" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_요청자" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="요청자" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_요청자" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="요청자" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_수리완료일" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="수리완료일" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_수리완료일" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="수리완료일" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_분류" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="분류" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_분류" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="분류" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Line" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Line" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Line" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Line" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Division" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Division" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Division" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Division" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Team" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Team" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Team" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Team" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Process" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Process" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Equipment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Equipment" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Equipment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Equipment" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Model" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BoardName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BoardName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BoardName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BoardVender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BoardVender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BoardVender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardVender" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SN" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SN" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NPrice" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NPrice" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_NPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="NPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OPrice" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OPrice" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="OPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RepairCost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RepairCost" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RepairCost" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="RepairCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CostReduction" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CostReduction" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostReduction" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="CostReduction" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_외주업체" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="외주업체" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_외주업체" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="외주업체" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RepairTime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RepairTime" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_RepairTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RepairTime" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [EETGW_JobReport_EBoard] ([gcode], [pdate], [uid], [Site], [요청자], [수리완료일], [Status], [분류], [Line], [Division], [Team], [Process], [Equipment], [Model], [BoardName], [BoardVender], [원인], [결과], [SN], [QTY], [NPrice], [OPrice], [RepairCost], [CostReduction], [외주업체], [RepairTime], [memo], [import], [wuid], [wdate], [원인2], [결과2]) VALUES (@gcode, @pdate, @uid, @Site, @요청자, @수리완료일, @Status, @분류, @Line, @Division, @Team, @Process, @Equipment, @Model, @BoardName, @BoardVender, @원인, @결과, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @외주업체, @RepairTime, @memo, @import, @wuid, @wdate, @원인2, @결과2);
SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, 원인, 결과, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2 FROM EETGW_JobReport_EBoard WHERE (idx = SCOPE_IDENTITY())</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Site" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Site" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@요청자" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="요청자" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@수리완료일" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="수리완료일" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@분류" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="분류" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Line" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Line" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Division" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Division" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Team" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Team" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Equipment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Equipment" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BoardName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BoardVender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardVender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@원인" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="원인" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@결과" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="결과" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SN" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@NPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="NPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="OPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RepairCost" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="RepairCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostReduction" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="CostReduction" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@외주업체" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="외주업체" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@RepairTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RepairTime" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@원인2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="원인2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@결과2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="결과2" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, 원인, 결과, SN, QTY, NPrice, OPrice,
RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2
FROM EETGW_JobReport_EBoard
WHERE (gcode = @gcode)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="gcode" ColumnName="gcode" DataSourceName="EE.dbo.EETGW_JobReport_EBoard" DataTypeServer="varchar(10)" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="10" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [EETGW_JobReport_EBoard] SET [gcode] = @gcode, [pdate] = @pdate, [uid] = @uid, [Site] = @Site, [요청자] = @요청자, [수리완료일] = @수리완료일, [Status] = @Status, [분류] = @분류, [Line] = @Line, [Division] = @Division, [Team] = @Team, [Process] = @Process, [Equipment] = @Equipment, [Model] = @Model, [BoardName] = @BoardName, [BoardVender] = @BoardVender, [원인] = @원인, [결과] = @결과, [SN] = @SN, [QTY] = @QTY, [NPrice] = @NPrice, [OPrice] = @OPrice, [RepairCost] = @RepairCost, [CostReduction] = @CostReduction, [외주업체] = @외주업체, [RepairTime] = @RepairTime, [memo] = @memo, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [원인2] = @원인2, [결과2] = @결과2 WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_Site = 1 AND [Site] IS NULL) OR ([Site] = @Original_Site)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL) OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([수리완료일] = @Original_수리완료일)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @Original_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_Line)) AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR ([Division] = @Original_Division)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original_Team)) AND ((@IsNull_Process = 1 AND [Process] IS NULL) OR ([Process] = @Original_Process)) AND ((@IsNull_Equipment = 1 AND [Equipment] IS NULL) OR ([Equipment] = @Original_Equipment)) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_BoardName = 1 AND [BoardName] IS NULL) OR ([BoardName] = @Original_BoardName)) AND ((@IsNull_BoardVender = 1 AND [BoardVender] IS NULL) OR ([BoardVender] = @Original_BoardVender)) AND ((@IsNull_SN = 1 AND [SN] IS NULL) OR ([SN] = @Original_SN)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [NPrice] IS NULL) OR ([NPrice] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND [OPrice] IS NULL) OR ([OPrice] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1 AND [RepairCost] IS NULL) OR ([RepairCost] = @Original_RepairCost)) AND ((@IsNull_CostReduction = 1 AND [CostReduction] IS NULL) OR ([CostReduction] = @Original_CostReduction)) AND ((@IsNull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Original_외주업체)) AND ((@IsNull_RepairTime = 1 AND [RepairTime] IS NULL) OR ([RepairTime] = @Original_RepairTime)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, 원인, 결과, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2 FROM EETGW_JobReport_EBoard WHERE (idx = @idx)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Site" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Site" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@요청자" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="요청자" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@수리완료일" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="수리완료일" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@분류" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="분류" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Line" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Line" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Division" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Division" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Team" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Team" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Process" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Equipment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Equipment" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BoardName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@BoardVender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardVender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@원인" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="원인" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@결과" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="결과" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SN" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@NPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="NPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@OPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="OPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@RepairCost" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="RepairCost" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@CostReduction" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="CostReduction" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@외주업체" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="외주업체" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@RepairTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RepairTime" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@원인2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="원인2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@결과2" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="결과2" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idx" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gcode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gcode" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_pdate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_pdate" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="pdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_uid" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_uid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="uid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Site" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Site" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Site" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Site" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_요청자" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="요청자" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_요청자" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="요청자" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_수리완료일" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="수리완료일" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_수리완료일" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="수리완료일" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_분류" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="분류" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_분류" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="분류" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Line" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Line" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Line" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Line" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Division" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Division" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Division" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Division" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Team" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Team" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Team" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Team" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Process" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Process" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Process" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Process" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Equipment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Equipment" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Equipment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Equipment" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Model" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Model" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BoardName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BoardName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BoardName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BoardVender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BoardVender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_BoardVender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="BoardVender" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SN" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SN" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SN" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SN" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NPrice" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NPrice" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_NPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="NPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OPrice" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OPrice" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_OPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="OPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RepairCost" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RepairCost" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_RepairCost" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="RepairCost" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CostReduction" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CostReduction" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_CostReduction" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="CostReduction" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_외주업체" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="외주업체" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_외주업체" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="외주업체" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RepairTime" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RepairTime" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_RepairTime" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="RepairTime" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_memo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_memo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="memo" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_import" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_import" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="import" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_wuid" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="wuid" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_wdate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="wdate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="idx" ColumnName="idx" DataSourceName="EE.dbo.EETGW_JobReport_EBoard" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idx" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="idx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="idx" DataSetColumn="idx" />
<Mapping SourceColumn="gcode" DataSetColumn="gcode" />
<Mapping SourceColumn="pdate" DataSetColumn="pdate" />
<Mapping SourceColumn="uid" DataSetColumn="uid" />
<Mapping SourceColumn="Site" DataSetColumn="Site" />
<Mapping SourceColumn="요청자" DataSetColumn="요청자" />
<Mapping SourceColumn="수리완료일" DataSetColumn="수리완료일" />
<Mapping SourceColumn="Status" DataSetColumn="Status" />
<Mapping SourceColumn="분류" DataSetColumn="분류" />
<Mapping SourceColumn="Line" DataSetColumn="Line" />
<Mapping SourceColumn="Division" DataSetColumn="Division" />
<Mapping SourceColumn="Team" DataSetColumn="Team" />
<Mapping SourceColumn="Process" DataSetColumn="Process" />
<Mapping SourceColumn="Equipment" DataSetColumn="Equipment" />
<Mapping SourceColumn="Model" DataSetColumn="Model" />
<Mapping SourceColumn="BoardName" DataSetColumn="BoardName" />
<Mapping SourceColumn="BoardVender" DataSetColumn="BoardVender" />
<Mapping SourceColumn="원인" DataSetColumn="원인" />
<Mapping SourceColumn="결과" DataSetColumn="결과" />
<Mapping SourceColumn="SN" DataSetColumn="SN" />
<Mapping SourceColumn="QTY" DataSetColumn="QTY" />
<Mapping SourceColumn="NPrice" DataSetColumn="NPrice" />
<Mapping SourceColumn="OPrice" DataSetColumn="OPrice" />
<Mapping SourceColumn="RepairCost" DataSetColumn="RepairCost" />
<Mapping SourceColumn="CostReduction" DataSetColumn="CostReduction" />
<Mapping SourceColumn="외주업체" DataSetColumn="외주업체" />
<Mapping SourceColumn="RepairTime" DataSetColumn="RepairTime" />
<Mapping SourceColumn="memo" DataSetColumn="memo" />
<Mapping SourceColumn="import" DataSetColumn="import" />
<Mapping SourceColumn="wuid" DataSetColumn="wuid" />
<Mapping SourceColumn="wdate" DataSetColumn="wdate" />
<Mapping SourceColumn="원인2" DataSetColumn="원인2" />
<Mapping SourceColumn="결과2" DataSetColumn="결과2" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DSEboard" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSEboard" msprop:Generator_UserDSName="DSEboard">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="EETGW_JobReport_EBoard" msprop:Generator_TableClassName="EETGW_JobReport_EBoardDataTable" msprop:Generator_TableVarName="tableEETGW_JobReport_EBoard" msprop:Generator_TablePropName="EETGW_JobReport_EBoard" msprop:Generator_RowDeletingName="EETGW_JobReport_EBoardRowDeleting" msprop:Generator_RowChangingName="EETGW_JobReport_EBoardRowChanging" msprop:Generator_RowEvHandlerName="EETGW_JobReport_EBoardRowChangeEventHandler" msprop:Generator_RowDeletedName="EETGW_JobReport_EBoardRowDeleted" msprop:Generator_UserTableName="EETGW_JobReport_EBoard" msprop:Generator_RowChangedName="EETGW_JobReport_EBoardRowChanged" msprop:Generator_RowEvArgName="EETGW_JobReport_EBoardRowChangeEvent" msprop:Generator_RowClassName="EETGW_JobReport_EBoardRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idx" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidx" msprop:Generator_ColumnPropNameInRow="idx" msprop:Generator_ColumnPropNameInTable="idxColumn" msprop:Generator_UserColumnName="idx" type="xs:int" />
<xs:element name="gcode" msprop:Generator_ColumnVarNameInTable="columngcode" msprop:Generator_ColumnPropNameInRow="gcode" msprop:Generator_ColumnPropNameInTable="gcodeColumn" msprop:Generator_UserColumnName="gcode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pdate" msprop:Generator_ColumnVarNameInTable="columnpdate" msprop:Generator_ColumnPropNameInRow="pdate" msprop:Generator_ColumnPropNameInTable="pdateColumn" msprop:Generator_UserColumnName="pdate" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="uid" msprop:Generator_ColumnVarNameInTable="columnuid" msprop:Generator_ColumnPropNameInRow="uid" msprop:Generator_ColumnPropNameInTable="uidColumn" msprop:Generator_UserColumnName="uid" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Site" msprop:Generator_ColumnVarNameInTable="columnSite" msprop:Generator_ColumnPropNameInRow="Site" msprop:Generator_ColumnPropNameInTable="SiteColumn" msprop:Generator_UserColumnName="Site" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="요청자" msprop:Generator_ColumnVarNameInTable="column요청자" msprop:Generator_ColumnPropNameInRow="요청자" msprop:Generator_ColumnPropNameInTable="요청자Column" msprop:Generator_UserColumnName="요청자" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="수리완료일" msprop:Generator_ColumnVarNameInTable="column수리완료일" msprop:Generator_ColumnPropNameInRow="수리완료일" msprop:Generator_ColumnPropNameInTable="수리완료일Column" msprop:Generator_UserColumnName="수리완료일" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="분류" msprop:Generator_ColumnVarNameInTable="column분류" msprop:Generator_ColumnPropNameInRow="분류" msprop:Generator_ColumnPropNameInTable="분류Column" msprop:Generator_UserColumnName="분류" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Line" msprop:Generator_ColumnVarNameInTable="columnLine" msprop:Generator_ColumnPropNameInRow="Line" msprop:Generator_ColumnPropNameInTable="LineColumn" msprop:Generator_UserColumnName="Line" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Division" msprop:Generator_ColumnVarNameInTable="columnDivision" msprop:Generator_ColumnPropNameInRow="Division" msprop:Generator_ColumnPropNameInTable="DivisionColumn" msprop:Generator_UserColumnName="Division" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Team" msprop:Generator_ColumnVarNameInTable="columnTeam" msprop:Generator_ColumnPropNameInRow="Team" msprop:Generator_ColumnPropNameInTable="TeamColumn" msprop:Generator_UserColumnName="Team" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Process" msprop:Generator_ColumnVarNameInTable="columnProcess" msprop:Generator_ColumnPropNameInRow="Process" msprop:Generator_ColumnPropNameInTable="ProcessColumn" msprop:Generator_UserColumnName="Process" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Equipment" msprop:Generator_ColumnVarNameInTable="columnEquipment" msprop:Generator_ColumnPropNameInRow="Equipment" msprop:Generator_ColumnPropNameInTable="EquipmentColumn" msprop:Generator_UserColumnName="Equipment" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn" msprop:Generator_UserColumnName="Model" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BoardName" msprop:Generator_ColumnVarNameInTable="columnBoardName" msprop:Generator_ColumnPropNameInRow="BoardName" msprop:Generator_ColumnPropNameInTable="BoardNameColumn" msprop:Generator_UserColumnName="BoardName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BoardVender" msprop:Generator_ColumnVarNameInTable="columnBoardVender" msprop:Generator_ColumnPropNameInRow="BoardVender" msprop:Generator_ColumnPropNameInTable="BoardVenderColumn" msprop:Generator_UserColumnName="BoardVender" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="원인" msprop:Generator_ColumnVarNameInTable="column원인" msprop:Generator_ColumnPropNameInRow="원인" msprop:Generator_ColumnPropNameInTable="원인Column" msprop:Generator_UserColumnName="원인" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="결과" msprop:Generator_ColumnVarNameInTable="column결과" msprop:Generator_ColumnPropNameInRow="결과" msprop:Generator_ColumnPropNameInTable="결과Column" msprop:Generator_UserColumnName="결과" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SN" msprop:Generator_ColumnVarNameInTable="columnSN" msprop:Generator_ColumnPropNameInRow="SN" msprop:Generator_ColumnPropNameInTable="SNColumn" msprop:Generator_UserColumnName="SN" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="QTY" msprop:Generator_ColumnVarNameInTable="columnQTY" msprop:Generator_ColumnPropNameInRow="QTY" msprop:Generator_ColumnPropNameInTable="QTYColumn" msprop:Generator_UserColumnName="QTY" type="xs:int" minOccurs="0" />
<xs:element name="NPrice" msprop:Generator_ColumnVarNameInTable="columnNPrice" msprop:Generator_ColumnPropNameInRow="NPrice" msprop:Generator_ColumnPropNameInTable="NPriceColumn" msprop:Generator_UserColumnName="NPrice" type="xs:decimal" minOccurs="0" />
<xs:element name="OPrice" msprop:Generator_ColumnVarNameInTable="columnOPrice" msprop:Generator_ColumnPropNameInRow="OPrice" msprop:Generator_ColumnPropNameInTable="OPriceColumn" msprop:Generator_UserColumnName="OPrice" type="xs:decimal" minOccurs="0" />
<xs:element name="RepairCost" msprop:Generator_ColumnVarNameInTable="columnRepairCost" msprop:Generator_ColumnPropNameInRow="RepairCost" msprop:Generator_ColumnPropNameInTable="RepairCostColumn" msprop:Generator_UserColumnName="RepairCost" type="xs:decimal" minOccurs="0" />
<xs:element name="CostReduction" msprop:Generator_ColumnVarNameInTable="columnCostReduction" msprop:Generator_ColumnPropNameInRow="CostReduction" msprop:Generator_ColumnPropNameInTable="CostReductionColumn" msprop:Generator_UserColumnName="CostReduction" type="xs:decimal" minOccurs="0" />
<xs:element name="외주업체" msprop:Generator_ColumnVarNameInTable="column외주업체" msprop:Generator_ColumnPropNameInRow="외주업체" msprop:Generator_ColumnPropNameInTable="외주업체Column" msprop:Generator_UserColumnName="외주업체" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RepairTime" msprop:Generator_ColumnVarNameInTable="columnRepairTime" msprop:Generator_ColumnPropNameInRow="RepairTime" msprop:Generator_ColumnPropNameInTable="RepairTimeColumn" msprop:Generator_UserColumnName="RepairTime" type="xs:double" minOccurs="0" />
<xs:element name="memo" msprop:Generator_ColumnVarNameInTable="columnmemo" msprop:Generator_ColumnPropNameInRow="memo" msprop:Generator_ColumnPropNameInTable="memoColumn" msprop:Generator_UserColumnName="memo" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="import" msprop:Generator_ColumnVarNameInTable="columnimport" msprop:Generator_ColumnPropNameInRow="import" msprop:Generator_ColumnPropNameInTable="importColumn" msprop:Generator_UserColumnName="import" type="xs:boolean" minOccurs="0" />
<xs:element name="wuid" msprop:Generator_ColumnVarNameInTable="columnwuid" msprop:Generator_ColumnPropNameInRow="wuid" msprop:Generator_ColumnPropNameInTable="wuidColumn" msprop:Generator_UserColumnName="wuid">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="wdate" msprop:Generator_ColumnVarNameInTable="columnwdate" msprop:Generator_ColumnPropNameInRow="wdate" msprop:Generator_ColumnPropNameInTable="wdateColumn" msprop:Generator_UserColumnName="wdate" type="xs:dateTime" />
<xs:element name="원인2" msprop:Generator_ColumnVarNameInTable="column원인2" msprop:Generator_ColumnPropNameInRow="원인2" msprop:Generator_ColumnPropNameInTable="원인2Column" msprop:Generator_UserColumnName="원인2" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="결과2" msprop:Generator_ColumnVarNameInTable="column결과2" msprop:Generator_ColumnPropNameInRow="결과2" msprop:Generator_ColumnPropNameInTable="결과2Column" msprop:Generator_UserColumnName="결과2" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:EETGW_JobReport_EBoard" />
<xs:field xpath="mstns:idx" />
</xs:unique>
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:EETGW_JobReport_EBoard" ZOrder="1" X="251" Y="138" Height="305" Width="299" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors />
</DiagramLayout>

File diff suppressed because it is too large Load Diff

View File

@@ -30,10 +30,11 @@ namespace FPJ0000.EBoard
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.ds1 = new FPJ0000.DSEboard();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
this.progressBar2 = new System.Windows.Forms.ProgressBar(); this.progressBar2 = new System.Windows.Forms.ProgressBar();
this.ta = new FPJ0000.dsReportTableAdapters.JobReportDayTableAdapter();
this.btSave = new System.Windows.Forms.Button(); this.btSave = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label();
this.dte = new System.Windows.Forms.DateTimePicker(); this.dte = new System.Windows.Forms.DateTimePicker();
@@ -41,6 +42,9 @@ namespace FPJ0000.EBoard
this.dts = new System.Windows.Forms.DateTimePicker(); this.dts = new System.Windows.Forms.DateTimePicker();
this.btRefresh = new System.Windows.Forms.Button(); this.btRefresh = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.radPdate = new System.Windows.Forms.RadioButton();
this.radEdate = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton();
this.button4 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button();
@@ -48,14 +52,26 @@ namespace FPJ0000.EBoard
this.button2 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button();
this.dsReport = new FPJ0000.dsReport(); this.dsReport = new FPJ0000.dsReport();
this.bs = new System.Windows.Forms.BindingSource(this.components); this.ta = new FPJ0000.DSEboardTableAdapters.EETGW_JobReport_EBoardTableAdapter();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ds1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dsReport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsReport)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// bs
//
this.bs.DataMember = "EETGW_JobReport_EBoard";
this.bs.DataSource = this.ds1;
//
// ds1
//
this.ds1.DataSetName = "DSEboard";
this.ds1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// fpSpread1 // fpSpread1
// //
this.fpSpread1.AccessibleDescription = ""; this.fpSpread1.AccessibleDescription = "";
@@ -80,10 +96,6 @@ namespace FPJ0000.EBoard
this.progressBar2.Size = new System.Drawing.Size(1114, 23); this.progressBar2.Size = new System.Drawing.Size(1114, 23);
this.progressBar2.TabIndex = 8; this.progressBar2.TabIndex = 8;
// //
// ta
//
this.ta.ClearBeforeFill = true;
//
// btSave // btSave
// //
this.btSave.Dock = System.Windows.Forms.DockStyle.Right; this.btSave.Dock = System.Windows.Forms.DockStyle.Right;
@@ -98,7 +110,7 @@ namespace FPJ0000.EBoard
// label3 // label3
// //
this.label3.AutoSize = true; this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(17, 42); this.label3.Location = new System.Drawing.Point(171, 42);
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(41, 12); this.label3.Size = new System.Drawing.Size(41, 12);
this.label3.TabIndex = 9; this.label3.TabIndex = 9;
@@ -106,7 +118,7 @@ namespace FPJ0000.EBoard
// //
// dte // dte
// //
this.dte.Location = new System.Drawing.Point(68, 38); this.dte.Location = new System.Drawing.Point(222, 38);
this.dte.Name = "dte"; this.dte.Name = "dte";
this.dte.Size = new System.Drawing.Size(180, 21); this.dte.Size = new System.Drawing.Size(180, 21);
this.dte.TabIndex = 8; this.dte.TabIndex = 8;
@@ -114,7 +126,7 @@ namespace FPJ0000.EBoard
// label2 // label2
// //
this.label2.AutoSize = true; this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(17, 15); this.label2.Location = new System.Drawing.Point(171, 15);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(41, 12); this.label2.Size = new System.Drawing.Size(41, 12);
this.label2.TabIndex = 7; this.label2.TabIndex = 7;
@@ -122,7 +134,7 @@ namespace FPJ0000.EBoard
// //
// dts // dts
// //
this.dts.Location = new System.Drawing.Point(68, 11); this.dts.Location = new System.Drawing.Point(222, 11);
this.dts.Name = "dts"; this.dts.Name = "dts";
this.dts.Size = new System.Drawing.Size(180, 21); this.dts.Size = new System.Drawing.Size(180, 21);
this.dts.TabIndex = 6; this.dts.TabIndex = 6;
@@ -141,6 +153,7 @@ namespace FPJ0000.EBoard
// panel1 // panel1
// //
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200))))); this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(200)))));
this.panel1.Controls.Add(this.groupBox1);
this.panel1.Controls.Add(this.radioButton2); this.panel1.Controls.Add(this.radioButton2);
this.panel1.Controls.Add(this.radioButton1); this.panel1.Controls.Add(this.radioButton1);
this.panel1.Controls.Add(this.button4); this.panel1.Controls.Add(this.button4);
@@ -162,15 +175,49 @@ namespace FPJ0000.EBoard
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint); this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
this.panel1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDoubleClick); this.panel1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDoubleClick);
// //
// groupBox1
//
this.groupBox1.Controls.Add(this.radPdate);
this.groupBox1.Controls.Add(this.radEdate);
this.groupBox1.Location = new System.Drawing.Point(9, 9);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(152, 48);
this.groupBox1.TabIndex = 19;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "기준일";
//
// radPdate
//
this.radPdate.AutoSize = true;
this.radPdate.Checked = true;
this.radPdate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.radPdate.Location = new System.Drawing.Point(12, 18);
this.radPdate.Name = "radPdate";
this.radPdate.Size = new System.Drawing.Size(61, 19);
this.radPdate.TabIndex = 18;
this.radPdate.TabStop = true;
this.radPdate.Text = "입고일";
this.radPdate.UseVisualStyleBackColor = true;
//
// radEdate
//
this.radEdate.AutoSize = true;
this.radEdate.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.radEdate.Location = new System.Drawing.Point(81, 18);
this.radEdate.Name = "radEdate";
this.radEdate.Size = new System.Drawing.Size(61, 19);
this.radEdate.TabIndex = 18;
this.radEdate.Text = "완료일";
this.radEdate.UseVisualStyleBackColor = true;
//
// radioButton2 // radioButton2
// //
this.radioButton2.AutoSize = true; this.radioButton2.AutoSize = true;
this.radioButton2.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radioButton2.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.radioButton2.Location = new System.Drawing.Point(471, 36); this.radioButton2.Location = new System.Drawing.Point(625, 36);
this.radioButton2.Name = "radioButton2"; this.radioButton2.Name = "radioButton2";
this.radioButton2.Size = new System.Drawing.Size(128, 26); this.radioButton2.Size = new System.Drawing.Size(128, 26);
this.radioButton2.TabIndex = 17; this.radioButton2.TabIndex = 17;
this.radioButton2.TabStop = true;
this.radioButton2.Text = "Capability"; this.radioButton2.Text = "Capability";
this.radioButton2.UseVisualStyleBackColor = true; this.radioButton2.UseVisualStyleBackColor = true;
// //
@@ -179,7 +226,7 @@ namespace FPJ0000.EBoard
this.radioButton1.AutoSize = true; this.radioButton1.AutoSize = true;
this.radioButton1.Checked = true; this.radioButton1.Checked = true;
this.radioButton1.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.radioButton1.Font = new System.Drawing.Font("Consolas", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.radioButton1.Location = new System.Drawing.Point(471, 9); this.radioButton1.Location = new System.Drawing.Point(625, 9);
this.radioButton1.Name = "radioButton1"; this.radioButton1.Name = "radioButton1";
this.radioButton1.Size = new System.Drawing.Size(208, 26); this.radioButton1.Size = new System.Drawing.Size(208, 26);
this.radioButton1.TabIndex = 16; this.radioButton1.TabIndex = 16;
@@ -189,7 +236,7 @@ namespace FPJ0000.EBoard
// //
// button4 // button4
// //
this.button4.Location = new System.Drawing.Point(405, 10); this.button4.Location = new System.Drawing.Point(559, 10);
this.button4.Name = "button4"; this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(48, 49); this.button4.Size = new System.Drawing.Size(48, 49);
this.button4.TabIndex = 15; this.button4.TabIndex = 15;
@@ -199,7 +246,7 @@ namespace FPJ0000.EBoard
// //
// button3 // button3
// //
this.button3.Location = new System.Drawing.Point(252, 10); this.button3.Location = new System.Drawing.Point(406, 10);
this.button3.Name = "button3"; this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(48, 49); this.button3.Size = new System.Drawing.Size(48, 49);
this.button3.TabIndex = 14; this.button3.TabIndex = 14;
@@ -209,7 +256,7 @@ namespace FPJ0000.EBoard
// //
// button2 // button2
// //
this.button2.Location = new System.Drawing.Point(354, 10); this.button2.Location = new System.Drawing.Point(508, 10);
this.button2.Name = "button2"; this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(48, 49); this.button2.Size = new System.Drawing.Size(48, 49);
this.button2.TabIndex = 13; this.button2.TabIndex = 13;
@@ -219,7 +266,7 @@ namespace FPJ0000.EBoard
// //
// button1 // button1
// //
this.button1.Location = new System.Drawing.Point(303, 10); this.button1.Location = new System.Drawing.Point(457, 10);
this.button1.Name = "button1"; this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(48, 49); this.button1.Size = new System.Drawing.Size(48, 49);
this.button1.TabIndex = 13; this.button1.TabIndex = 13;
@@ -232,10 +279,9 @@ namespace FPJ0000.EBoard
this.dsReport.DataSetName = "dsReport"; this.dsReport.DataSetName = "dsReport";
this.dsReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; this.dsReport.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
// //
// bs // ta
// //
this.bs.DataMember = "JobReportDay"; this.ta.ClearBeforeFill = true;
this.bs.DataSource = this.dsReport;
// //
// fEBoardReport // fEBoardReport
// //
@@ -250,12 +296,15 @@ namespace FPJ0000.EBoard
this.Text = "전자실 Report"; this.Text = "전자실 Report";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.fEBoardReport_Load); this.Load += new System.EventHandler(this.fEBoardReport_Load);
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.ds1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).EndInit();
this.panel1.ResumeLayout(false); this.panel1.ResumeLayout(false);
this.panel1.PerformLayout(); this.panel1.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dsReport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsReport)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bs)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@@ -265,7 +314,6 @@ namespace FPJ0000.EBoard
private FarPoint.Win.Spread.FpSpread fpSpread1; private FarPoint.Win.Spread.FpSpread fpSpread1;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ProgressBar progressBar2; private System.Windows.Forms.ProgressBar progressBar2;
private dsReportTableAdapters.JobReportDayTableAdapter ta;
private System.Windows.Forms.Button btSave; private System.Windows.Forms.Button btSave;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.DateTimePicker dte; private System.Windows.Forms.DateTimePicker dte;
@@ -281,5 +329,10 @@ namespace FPJ0000.EBoard
private System.Windows.Forms.Button button3; private System.Windows.Forms.Button button3;
private System.Windows.Forms.RadioButton radioButton1; private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.RadioButton radioButton2; private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radEdate;
private System.Windows.Forms.RadioButton radPdate;
private System.Windows.Forms.GroupBox groupBox1;
private DSEboard ds1;
private DSEboardTableAdapters.EETGW_JobReport_EBoardTableAdapter ta;
} }
} }

View File

@@ -26,6 +26,7 @@ namespace FPJ0000.EBoard
//파일불러오기 //파일불러오기
//LoadExcel(); //LoadExcel();
this.fpSpread1.ActiveSheet.RowCount = 0; this.fpSpread1.ActiveSheet.RowCount = 0;
//this.rv1.RefreshReport();
} }
string Loadexcel = string.Empty; string Loadexcel = string.Empty;
@@ -74,7 +75,16 @@ namespace FPJ0000.EBoard
void Refresh1() void Refresh1()
{ {
//var sql = "select * from eetgw_jobreport_eboard where gcode=@gcode and pdate between @sd and @ed";
//var cmd = new System.Data.SqlClient.SqlCommand(sql, this.ta.Connection);
//cmd.Parameters.Add("gcode", SqlDbType.VarChar).Value = FCOMMON.info.Login.gcode;
//cmd.Parameters.Add("sd", SqlDbType.VarChar).Value = dts.Value.ToShortDateString();
//cmd.Parameters.Add("ed", SqlDbType.VarChar).Value = dte.Value.ToShortDateString();
//var da = new System.Data.SqlClient.SqlDataAdapter(cmd);
//ds1.EETGW_JobReport_EBoard.Clear();
//da.Fill(this.ds1.EETGW_JobReport_EBoard);
//ds1.EETGW_JobReport_EBoard.AcceptChanges();
//this.rv1.RefreshReport();
//새로고침 //새로고침
//a2 에 날짜를 표시함. //a2 에 날짜를 표시함.
@@ -83,8 +93,12 @@ namespace FPJ0000.EBoard
var ed = this.dte.Value.ToShortDateString(); var ed = this.dte.Value.ToShortDateString();
var = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.) == false).OrderBy(t => t.).GroupBy(t => t.).ToList(); var = db.EETGW_JobReport_EBoard.Where(t => string.IsNullOrEmpty(t.) == false).OrderBy(t => t.).GroupBy(t => t.).ToList();
IQueryable<EETGW_JobReport_EBoard> ;
if (radPdate.Checked)
= db.EETGW_JobReport_EBoard.Where(t => t.pdate.CompareTo(sd) >= 0 && t.pdate.CompareTo(ed) <= 0);
else
= db.EETGW_JobReport_EBoard.Where(t => t..CompareTo(sd) >= 0 && t..CompareTo(ed) <= 0);
var = db.EETGW_JobReport_EBoard.Where(t => t.pdate.CompareTo(sd) >= 0 && t.pdate.CompareTo(ed) <= 0);
var = db.vGroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.processs == "전자실" && string.IsNullOrEmpty(t.state) == true).OrderBy(t => t.name).GroupBy(t => t.name); var = db.vGroupUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.processs == "전자실" && string.IsNullOrEmpty(t.state) == true).OrderBy(t => t.name).GroupBy(t => t.name);
@@ -228,7 +242,14 @@ namespace FPJ0000.EBoard
this.fpSpread1.OpenExcel(fi.FullName); this.fpSpread1.OpenExcel(fi.FullName);
this.Loadexcel = fi.FullName; this.Loadexcel = fi.FullName;
var = db.EETGW_JobReport_EBoard.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate.CompareTo(sd) >= 0 && t.pdate.CompareTo(ed) <= 0);
IQueryable<EETGW_JobReport_EBoard> ;
if (radPdate.Checked)
= db.EETGW_JobReport_EBoard.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate.CompareTo(sd) >= 0 && t.pdate.CompareTo(ed) <= 0);
else
= db.EETGW_JobReport_EBoard.Where(t => t.gcode == FCOMMON.info.Login.gcode && t..CompareTo(sd) >= 0 && t..CompareTo(ed) <= 0);
var Grp_process = .GroupBy(t => t.Process); var Grp_process = .GroupBy(t => t.Process);
this.fpSpread1.Sheets[0].ColumnCount = 5; this.fpSpread1.Sheets[0].ColumnCount = 5;
@@ -313,7 +334,7 @@ namespace FPJ0000.EBoard
this.fpSpread1.Sheets[0].Cells[$"D{row}"].Value = itemModel.Sum(t => t.QTY); this.fpSpread1.Sheets[0].Cells[$"D{row}"].Value = itemModel.Sum(t => t.QTY);
this.fpSpread1.Sheets[0].Cells[$"E{row}"].Value = itemModel.Sum(t => t.CostReduction); this.fpSpread1.Sheets[0].Cells[$"E{row}"].Value = itemModel.Sum(t => t.CostReduction);
this.fpSpread1.Sheets[0].Cells[$"C{row}:E{row}"].BackColor = Color.FromArgb(200,200,200); this.fpSpread1.Sheets[0].Cells[$"C{row}:E{row}"].BackColor = Color.FromArgb(200, 200, 200);
this.fpSpread1.Sheets[0].Cells[$"B{row_mod}"].RowSpan = row - row_mod + 1; this.fpSpread1.Sheets[0].Cells[$"B{row_mod}"].RowSpan = row - row_mod + 1;
} }
@@ -333,7 +354,7 @@ namespace FPJ0000.EBoard
this.fpSpread1.Sheets[0].Cells[$"D{row}"].Value = item.Sum(t => t.QTY); this.fpSpread1.Sheets[0].Cells[$"D{row}"].Value = item.Sum(t => t.QTY);
this.fpSpread1.Sheets[0].Cells[$"E{row}"].Value = item.Sum(t => t.CostReduction); this.fpSpread1.Sheets[0].Cells[$"E{row}"].Value = item.Sum(t => t.CostReduction);
this.fpSpread1.Sheets[0].Cells[$"B{row}:E{row}"].BackColor = Color.FromArgb(150, 150, 150); this.fpSpread1.Sheets[0].Cells[$"B{row}:E{row}"].BackColor = Color.FromArgb(150, 150, 150);
this.fpSpread1.Sheets[0].Cells[$"A{row_grp}"].RowSpan = row-row_grp+1 ; this.fpSpread1.Sheets[0].Cells[$"A{row_grp}"].RowSpan = row - row_grp + 1;
} }
row += 1; row += 1;

View File

@@ -117,16 +117,19 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>397, 17</value> <value>271, 17</value>
</metadata> </metadata>
<metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="ds1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>549, 17</value> <value>335, 17</value>
</metadata>
<metadata name="fpSpread1_Sheet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata> </metadata>
<metadata name="dsReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="dsReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>611, 17</value> <value>169, 17</value>
</metadata> </metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="ta.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>713, 17</value> <value>406, 17</value>
</metadata> </metadata>
</root> </root>

View File

@@ -979,7 +979,6 @@
this.tableAdapterManager.ProjectsIOMapTableAdapter = null; this.tableAdapterManager.ProjectsIOMapTableAdapter = null;
this.tableAdapterManager.ProjectsMailListTableAdapter = null; this.tableAdapterManager.ProjectsMailListTableAdapter = null;
this.tableAdapterManager.ProjectsPartTableAdapter = null; this.tableAdapterManager.ProjectsPartTableAdapter = null;
this.tableAdapterManager.ProjectsScheduleTableAdapter = null;
this.tableAdapterManager.ProjectsTableAdapter = null; this.tableAdapterManager.ProjectsTableAdapter = null;
this.tableAdapterManager.SPMasterTableAdapter = null; this.tableAdapterManager.SPMasterTableAdapter = null;
this.tableAdapterManager.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.tableAdapterManager.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;

View File

@@ -30,27 +30,27 @@
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEboardList)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fEboardList));
FarPoint.Win.Spread.CellType.NumberCellType numberCellType29 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType57 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType58 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType59 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType60 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType61 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType62 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType63 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType64 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType65 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType66 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType67 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType68 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType69 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType30 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType31 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType32 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType33 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType34 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType70 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType35 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FPJ0000.dsPRJ(); this.dsMSSQL = new FPJ0000.dsPRJ();
@@ -99,6 +99,14 @@
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel(); this.toolStripLabel3 = new System.Windows.Forms.ToolStripLabel();
this.tbRequest = new System.Windows.Forms.ToolStripTextBox(); this.tbRequest = new System.Windows.Forms.ToolStripTextBox();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel();
this.tbSd = new System.Windows.Forms.ToolStripTextBox();
this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel();
this.tbSD2 = new System.Windows.Forms.ToolStripTextBox();
this.chkDelay = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.panel4 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel();
this.label11 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label();
@@ -120,14 +128,6 @@
this.btSearch = new System.Windows.Forms.Button(); this.btSearch = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button();
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_EBoardTableAdapter(); this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_EBoardTableAdapter();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.chkDelay = new System.Windows.Forms.ToolStripButton();
this.toolStripLabel5 = new System.Windows.Forms.ToolStripLabel();
this.tbSd = new System.Windows.Forms.ToolStripTextBox();
this.toolStripLabel6 = new System.Windows.Forms.ToolStripLabel();
this.tbSD2 = new System.Windows.Forms.ToolStripTextBox();
this.toolStripLabel7 = new System.Windows.Forms.ToolStripLabel();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout(); this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -524,11 +524,11 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Repair Time(H)"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 20).Value = "Repair Time(H)";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType29.DecimalPlaces = 0; numberCellType1.DecimalPlaces = 0;
numberCellType29.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType29.MaximumValue = 2147483647D; numberCellType1.MaximumValue = 2147483647D;
numberCellType29.MinimumValue = -2147483648D; numberCellType1.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType29; this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx"; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
@@ -536,97 +536,97 @@
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true; this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(1).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType57; this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "uid"; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "uid";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "Engineer"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "Engineer";
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType58; this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Site"; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "Site";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "SITE"; this.fpSpread1_Sheet1.Columns.Get(2).Label = "SITE";
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType59; this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "요청자"; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "요청자";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청"; this.fpSpread1_Sheet1.Columns.Get(3).Label = "요청";
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType60; this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "pdate"; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "입고일"; this.fpSpread1_Sheet1.Columns.Get(4).Label = "입고일";
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType61; this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "수리완료일"; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "수리완료일";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "완료일"; this.fpSpread1_Sheet1.Columns.Get(5).Label = "완료일";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType62; this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "분류"; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "분류";
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(6).Label = "Status"; this.fpSpread1_Sheet1.Columns.Get(6).Label = "Status";
this.fpSpread1_Sheet1.Columns.Get(6).Tag = "status"; this.fpSpread1_Sheet1.Columns.Get(6).Tag = "status";
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType63; this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "Line"; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "Line";
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType64; this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "Division"; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "Division";
this.fpSpread1_Sheet1.Columns.Get(8).Width = 72F; this.fpSpread1_Sheet1.Columns.Get(8).Width = 72F;
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType65; this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "Process"; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "Process";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(9).Width = 78F;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType66; this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "Model"; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "Model";
this.fpSpread1_Sheet1.Columns.Get(10).Label = "Equipment"; this.fpSpread1_Sheet1.Columns.Get(10).Label = "Equipment";
this.fpSpread1_Sheet1.Columns.Get(10).Width = 69F; this.fpSpread1_Sheet1.Columns.Get(10).Width = 69F;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType67; this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "BoardName"; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "BoardName";
this.fpSpread1_Sheet1.Columns.Get(11).Label = "Board Name"; this.fpSpread1_Sheet1.Columns.Get(11).Label = "Board Name";
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType68; this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType12;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "BoardVender"; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "BoardVender";
this.fpSpread1_Sheet1.Columns.Get(12).Label = "보드규격"; this.fpSpread1_Sheet1.Columns.Get(12).Label = "보드규격";
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType69; this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType13;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "SN"; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "SN";
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Label = "S/N"; this.fpSpread1_Sheet1.Columns.Get(13).Label = "S/N";
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(13).Width = 78F;
numberCellType30.DecimalPlaces = 0; numberCellType2.DecimalPlaces = 0;
numberCellType30.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType30.MaximumValue = 2147483647D; numberCellType2.MaximumValue = 2147483647D;
numberCellType30.MinimumValue = -2147483648D; numberCellType2.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType30; this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType2;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "QTY"; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "QTY";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "Qty"; this.fpSpread1_Sheet1.Columns.Get(14).Label = "Qty";
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Width = 59F; this.fpSpread1_Sheet1.Columns.Get(14).Width = 59F;
numberCellType31.MaximumValue = 999999999999999D; numberCellType3.MaximumValue = 999999999999999D;
numberCellType31.MinimumValue = -999999999999999D; numberCellType3.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType31; this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "NPrice"; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "NPrice";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "New Price($K)"; this.fpSpread1_Sheet1.Columns.Get(15).Label = "New Price($K)";
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
numberCellType32.MaximumValue = 999999999999999D; numberCellType4.MaximumValue = 999999999999999D;
numberCellType32.MinimumValue = -999999999999999D; numberCellType4.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType32; this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType4;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "OPrice"; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "OPrice";
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(16).Label = "OutSourcing\r\nPrice($K)"; this.fpSpread1_Sheet1.Columns.Get(16).Label = "OutSourcing\r\nPrice($K)";
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Width = 97F; this.fpSpread1_Sheet1.Columns.Get(16).Width = 97F;
numberCellType33.MaximumValue = 999999999999999D; numberCellType5.MaximumValue = 999999999999999D;
numberCellType33.MinimumValue = -999999999999999D; numberCellType5.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType33; this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "RepairCost"; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "RepairCost";
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
this.fpSpread1_Sheet1.Columns.Get(17).Label = "Repair Cost\r\n($K)"; this.fpSpread1_Sheet1.Columns.Get(17).Label = "Repair Cost\r\n($K)";
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.fpSpread1_Sheet1.Columns.Get(18).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType34.MaximumValue = 999999999999999D; numberCellType6.MaximumValue = 999999999999999D;
numberCellType34.MinimumValue = -999999999999999D; numberCellType6.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType34; this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType6;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "CostReduction"; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "CostReduction";
this.fpSpread1_Sheet1.Columns.Get(18).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.fpSpread1_Sheet1.Columns.Get(18).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(18).Formula = "RC[-2]-RC[-1]"; this.fpSpread1_Sheet1.Columns.Get(18).Formula = "RC[-2]-RC[-1]";
@@ -636,11 +636,11 @@
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).Width = 72F; this.fpSpread1_Sheet1.Columns.Get(18).Width = 72F;
this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(19).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType70; this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "외주업체"; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "외주업체";
numberCellType35.MaximumValue = 999999999999999D; numberCellType7.MaximumValue = 999999999999999D;
numberCellType35.MinimumValue = -999999999999999D; numberCellType7.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType35; this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType7;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "RepairTime"; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "RepairTime";
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(20).Label = "Repair Time(H)"; this.fpSpread1_Sheet1.Columns.Get(20).Label = "Repair Time(H)";
@@ -723,6 +723,61 @@
this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown); this.tbRequest.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbRequest_KeyDown);
// //
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 27);
//
// toolStripLabel5
//
this.toolStripLabel5.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.toolStripLabel5.Name = "toolStripLabel5";
this.toolStripLabel5.Size = new System.Drawing.Size(116, 24);
this.toolStripLabel5.Text = "* 수리지연품목 조회";
//
// toolStripLabel7
//
this.toolStripLabel7.Name = "toolStripLabel7";
this.toolStripLabel7.Size = new System.Drawing.Size(34, 24);
this.toolStripLabel7.Text = "일반:";
//
// tbSd
//
this.tbSd.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbSd.Name = "tbSd";
this.tbSd.Size = new System.Drawing.Size(20, 27);
this.tbSd.Text = "2";
this.tbSd.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// toolStripLabel6
//
this.toolStripLabel6.Name = "toolStripLabel6";
this.toolStripLabel6.Size = new System.Drawing.Size(34, 24);
this.toolStripLabel6.Text = "외주:";
//
// tbSD2
//
this.tbSD2.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbSD2.Name = "tbSD2";
this.tbSD2.Size = new System.Drawing.Size(20, 27);
this.tbSD2.Text = "7";
this.tbSD2.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// chkDelay
//
this.chkDelay.CheckOnClick = true;
this.chkDelay.Image = global::FPJ0000.Properties.Resources.accept;
this.chkDelay.ImageTransparentColor = System.Drawing.Color.Magenta;
this.chkDelay.Name = "chkDelay";
this.chkDelay.Size = new System.Drawing.Size(95, 24);
this.chkDelay.Text = "조회시 적용";
this.chkDelay.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27);
//
// tableLayoutPanel1 // tableLayoutPanel1
// //
this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnCount = 2;
@@ -985,61 +1040,6 @@
// //
this.ta.ClearBeforeFill = true; this.ta.ClearBeforeFill = true;
// //
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 27);
//
// chkDelay
//
this.chkDelay.CheckOnClick = true;
this.chkDelay.Image = global::FPJ0000.Properties.Resources.accept;
this.chkDelay.ImageTransparentColor = System.Drawing.Color.Magenta;
this.chkDelay.Name = "chkDelay";
this.chkDelay.Size = new System.Drawing.Size(95, 24);
this.chkDelay.Text = "조회시 적용";
this.chkDelay.Click += new System.EventHandler(this.toolStripButton4_Click);
//
// toolStripLabel5
//
this.toolStripLabel5.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
this.toolStripLabel5.Name = "toolStripLabel5";
this.toolStripLabel5.Size = new System.Drawing.Size(116, 24);
this.toolStripLabel5.Text = "* 수리지연품목 조회";
//
// tbSd
//
this.tbSd.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbSd.Name = "tbSd";
this.tbSd.Size = new System.Drawing.Size(20, 27);
this.tbSd.Text = "2";
this.tbSd.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// toolStripLabel6
//
this.toolStripLabel6.Name = "toolStripLabel6";
this.toolStripLabel6.Size = new System.Drawing.Size(34, 24);
this.toolStripLabel6.Text = "외주:";
//
// tbSD2
//
this.tbSD2.Font = new System.Drawing.Font("맑은 고딕", 9F);
this.tbSD2.Name = "tbSD2";
this.tbSD2.Size = new System.Drawing.Size(20, 27);
this.tbSD2.Text = "7";
this.tbSD2.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center;
//
// toolStripLabel7
//
this.toolStripLabel7.Name = "toolStripLabel7";
this.toolStripLabel7.Size = new System.Drawing.Size(34, 24);
this.toolStripLabel7.Text = "일반:";
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 27);
//
// fEboardList // fEboardList
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;

View File

@@ -326,7 +326,7 @@ namespace FPJ0000
{ {
var cols = new string[] { var cols = new string[] {
"Process","Equipment","Model","BoardName", "Process","Equipment","Model","BoardName",
"원인","결과","외주업체", "원인","결과","외주업체","BoardVender",
"uid","요청자","SN"}; "uid","요청자","SN"};
bs.Filter = FCOMMON.Util.MakeFilterString(cols, search); bs.Filter = FCOMMON.Util.MakeFilterString(cols, search);
tbFind.BackColor = Color.Lime; tbFind.BackColor = Color.Lime;

View File

@@ -223,20 +223,20 @@
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL4SURBVDhPhZLrS1NhHMf3qv6EsF70UohSalFRLyrzMjWw YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAL2SURBVDhPhZLrS1NhHMf3Kv+EsF70UohScmFRL0pTmxrY
m6mUeZtTKm+4iUFmzUXmJbRQoSKSohcVkbdZzcxtTjeckWne8tamA6fTue2coztnfnvO2XAFQT/48Lx4 zVTUvM0pmprowiBTppF5CU1UqBCl6EWFqOnUpuac0w1nZNpS8zov4GVOdzlHd8789pyz4QyEfvDhefGc
zvfD+X3PEfETdVObfrraqEmoMa7EqIw0ORmBWv40MQnV/UzcfcPIMYW+fk/i621C6M+Jvdurt7uYZduy 74fz+54j4CboiTLhRrlGEV6h2Qou1lDkpHkquVNLh5cP06Ev1BOXparq0xEfj/GhwxPybFC1bqY3VzZM
k3N41uFwB1l28TAYs7lQ1mpBas04JclTbw9E/RNfabDbV1xc/5wXpl8sTBYWxjkWhtkNaH+u48OoB+ss rNG6C6PFzaaZg8bvVTMK2gyIrZi0iTLlHq6oc8JK1etrxh12eMEO7SIDrYGBZoGBen4Pyj+76NJbscsA
0D5Oo+z9L2Q9HKH/kkTf6abXqA0MWjl8tbLkZDEgSDagm1rHp1GKCHwYtHEwLXihUlsQcaP7lRBOrj05 7ZMUCloWkfxqgvpHElzUS+3Y9jC6xOL7EkNOBiO8ZA8DM7v4qrcRgQOjqyy0K3aUyA0IeNz3gQ9HVfrP
c1GVuClrPI+shgto+NiMine1iCgPw0mCRHUUUcpDqGuvE1ZxMywWVylElehYQZBUHfG2e7gDHZNP0WCU 3SuO2JfU3UFy7V3UdjehuLkSAYXe8CeISi4hSOaHqvYqfhULzWDNZEOQdIDhBZHlAZ/7xjvQMf0WtZo8
C5K0R3GQv0xFfnMKpE1nkNmUifahRXSMuNH2fQ1O0lO0spcRBJJ6yfb4igLOONGDF8NKVGnzBEl6YzwJ XhJfE4q893HIaoqGuP4mkuqT0D62ho4JC7783ME26SlYNkjzAlG1yCNUls1qpvrxblyGMmUmL0moCyPh
n0Xu4xzopzzCKp8naWhID6seL6Ir+vwCfmIrdUzRswyYpwxoMpXgXlcxkmtPIf1RIsxzFMykWL5g/bS/ W0h7nQrVjJVfpXeagoL0YLLaEVw85BRwE1I6QOc0JEI3o0a99hGe9+QiqvIaEmoioFuwQUeK5QpWzTo7
EwcRRCn/EBy/Ve49XLobqfUSDE73Q9VzFUp1EVIeRKJZ24Jv8yzMpNj+WS/6CHaXFxG3A4IDihCZWLEL MRJBkOyQ4MrTQvuF/FOIqxZhdHYYJf3pkMlzEP0yEE3KVvxYZqAjxQ7P2zFEWDfbEVDkEvhKPSVC6Ulk
+c8v4XJjLC7VxQiSInUqFO9yyJtEgr8ftHAY4D8xwUWKPCw3+AVixY55sWIneSgEYnkIzlVF4tqTDOhH NcYgti4EMVXXeUmOPA7S5lTyJoHg7kcNLEa4T0wwkyL9ctVOgVB6fFkoPUEe8oQwzxO3ywKR8SYRKr0C
NVBpSnH1TQakjUkwE4GJ/BtGImC8PogLtMEVTsh7GZuTwdA8J6CbWEDhs1xkk6CsKQXFz69v3fFQGxzC JYp8pH9KhLguEjoi0JJ/Q0MEtN0B32yle4WruYP06jaNsWWWZ2BqBQ8b0pBCgpL6aOQ2Pji447DtsfDJ
CzqDgoOFWsbqCAr+h4esEJ7TFhQcKfpCjVkdm/96+F843ZRvX1q7OxAnReZ2zVjWKNfY/KpvZonGjJ3G lrsFQmJbMroF/8NKVvBJbXMLLuZ8s+kNm/tHPXwUJrPVcTa+3eKKkyLTeuYWd2xm/dKWY26Dwtw6hRkX
VIAlt1eAb97NcFh2enw0TTtDr3T+CMTJCrkfr4VLP3Ttl2kc4bJWZotsP2HZLX6kLUyotHN1b2bn57AM GxY7D9e8hWaxYbI4KIra9rrf+csVFwjOp3Vn+Ii7es5JFEYfSSt9QIoT75QWJ+IW2kvcaTqT1NnrnShP
dZZIJBL9BohloZ6S1+tQAAAAAElFTkSuQmCC FggEgr9Ef6FyBTeROAAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@@ -254,9 +254,6 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg== TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>252, 17</value> <value>252, 17</value>
</metadata> </metadata>

View File

@@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 템플릿에서 생성되었습니다.
//
// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다.
// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FPJ0000
{
using System;
using System.Collections.Generic;
public partial class EETGW_ProjectsSchedule
{
public int idx { get; set; }
public string gcode { get; set; }
public Nullable<int> project { get; set; }
public Nullable<int> seq { get; set; }
public string title { get; set; }
public Nullable<int> sw { get; set; }
public Nullable<int> ew { get; set; }
public Nullable<int> swa { get; set; }
public Nullable<int> ewa { get; set; }
public string memo { get; set; }
public string wuid { get; set; }
public System.DateTime wdate { get; set; }
}
}

View File

@@ -59,8 +59,30 @@
<Reference Include="libxl.net"> <Reference Include="libxl.net">
<HintPath>..\..\DLL\libxl.net.dll</HintPath> <HintPath>..\..\DLL\libxl.net.dll</HintPath>
</Reference> </Reference>
<Reference Include="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> <Reference Include="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" /> <HintPath>..\..\packages\Microsoft.ReportViewer.11.0.3366.16\lib\Microsoft.ReportViewer.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.DataVisualization, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.ReportViewer.11.0.3366.16\lib\Microsoft.ReportViewer.DataVisualization.DLL</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.Design, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.ReportViewer.11.0.3366.16\lib\Microsoft.ReportViewer.Design.DLL</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.ProcessingObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.ReportViewer.11.0.3366.16\lib\Microsoft.ReportViewer.ProcessingObjectModel.DLL</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.WebDesign, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.ReportViewer.11.0.3366.16\lib\Microsoft.ReportViewer.WebDesign.DLL</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.ReportViewer.11.0.3366.16\lib\Microsoft.ReportViewer.WebForms.DLL</HintPath>
</Reference>
<Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.ReportViewer.11.0.3366.16\lib\Microsoft.ReportViewer.WinForms.DLL</HintPath>
</Reference>
<Reference Include="Microsoft.SqlServer.Types, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.SqlServer.Types.11.0.1\lib\net20\Microsoft.SqlServer.Types.dll</HintPath>
</Reference>
<Reference Include="NetOffice, Version=1.7.3.0, Culture=neutral, PublicKeyToken=297f57b43ae7c1de, processorArchitecture=MSIL"> <Reference Include="NetOffice, Version=1.7.3.0, Culture=neutral, PublicKeyToken=297f57b43ae7c1de, processorArchitecture=MSIL">
<HintPath>..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\NetOffice.dll</HintPath> <HintPath>..\..\packages\NetOffice.Core.1.7.4.4\lib\net40\NetOffice.dll</HintPath>
<EmbedInteropTypes>False</EmbedInteropTypes> <EmbedInteropTypes>False</EmbedInteropTypes>
@@ -112,6 +134,11 @@
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="DataBaseManager.cs" /> <Compile Include="DataBaseManager.cs" />
<Compile Include="DSEboard.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DSEboard.xsd</DependentUpon>
</Compile>
<Compile Include="dsMail.Designer.cs"> <Compile Include="dsMail.Designer.cs">
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
@@ -130,6 +157,11 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>dsPRJ.xsd</DependentUpon> <DependentUpon>dsPRJ.xsd</DependentUpon>
</Compile> </Compile>
<Compile Include="dsPRJ_Bak.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>dsPRJ_Bak.xsd</DependentUpon>
</Compile>
<Compile Include="dsPurchase.Designer.cs"> <Compile Include="dsPurchase.Designer.cs">
<AutoGen>True</AutoGen> <AutoGen>True</AutoGen>
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
@@ -175,6 +207,9 @@
<Compile Include="EETGW_Note.cs"> <Compile Include="EETGW_Note.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="EETGW_ProjectsSchedule.cs">
<DependentUpon>Model1.tt</DependentUpon>
</Compile>
<Compile Include="EETGW_SaveCost.cs"> <Compile Include="EETGW_SaveCost.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
@@ -205,40 +240,43 @@
<Compile Include="HolidayLIst.cs"> <Compile Include="HolidayLIst.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fJobChartMenu.cs"> <Compile Include="JobReport.cs">
<DependentUpon>Model1.tt</DependentUpon>
</Compile>
<Compile Include="JobReport_\fJobChartMenu.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fJobChartMenu.Designer.cs"> <Compile Include="JobReport_\fJobChartMenu.Designer.cs">
<DependentUpon>fJobChartMenu.cs</DependentUpon> <DependentUpon>fJobChartMenu.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fJobReportAI.cs"> <Compile Include="JobReport_\fJobReportAI.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fJobReportAI.Designer.cs"> <Compile Include="JobReport_\fJobReportAI.Designer.cs">
<DependentUpon>fJobReportAI.cs</DependentUpon> <DependentUpon>fJobReportAI.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fJobReport_AddAI.cs"> <Compile Include="JobReport_\fJobReport_AddAI.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fJobReport_AddAI.Designer.cs"> <Compile Include="JobReport_\fJobReport_AddAI.Designer.cs">
<DependentUpon>fJobReport_AddAI.cs</DependentUpon> <DependentUpon>fJobReport_AddAI.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fSelectProcess.cs"> <Compile Include="JobReport_\fSelectProcess.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fSelectProcess.Designer.cs"> <Compile Include="JobReport_\fSelectProcess.Designer.cs">
<DependentUpon>fSelectProcess.cs</DependentUpon> <DependentUpon>fSelectProcess.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\rJobChart.cs"> <Compile Include="JobReport_\rJobChart.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\rJobChart.Designer.cs"> <Compile Include="JobReport_\rJobChart.Designer.cs">
<DependentUpon>rJobChart.cs</DependentUpon> <DependentUpon>rJobChart.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\rJobReportUser.cs"> <Compile Include="JobReport_\rJobReportUser.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\rJobReportUser.Designer.cs"> <Compile Include="JobReport_\rJobReportUser.Designer.cs">
<DependentUpon>rJobReportUser.cs</DependentUpon> <DependentUpon>rJobReportUser.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="MailData.cs"> <Compile Include="MailData.cs">
@@ -361,10 +399,10 @@
<Compile Include="Import.Designer.cs"> <Compile Include="Import.Designer.cs">
<DependentUpon>Import.cs</DependentUpon> <DependentUpon>Import.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fJobReport.cs"> <Compile Include="JobReport_\fJobReport.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fJobReport.Designer.cs"> <Compile Include="JobReport_\fJobReport.Designer.cs">
<DependentUpon>fJobReport.cs</DependentUpon> <DependentUpon>fJobReport.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Project\fProjectList.cs"> <Compile Include="Project\fProjectList.cs">
@@ -398,34 +436,34 @@
<Compile Include="Project\rPartList.Designer.cs"> <Compile Include="Project\rPartList.Designer.cs">
<DependentUpon>rPartList.cs</DependentUpon> <DependentUpon>rPartList.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fJobReport_Add.cs"> <Compile Include="JobReport_\fJobReport_Add.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fJobReport_Add.Designer.cs"> <Compile Include="JobReport_\fJobReport_Add.Designer.cs">
<DependentUpon>fJobReport_Add.cs</DependentUpon> <DependentUpon>fJobReport_Add.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fJobReportImport.cs"> <Compile Include="JobReport_\fJobReportImport.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fJobReportImport.Designer.cs"> <Compile Include="JobReport_\fJobReportImport.Designer.cs">
<DependentUpon>fJobReportImport.cs</DependentUpon> <DependentUpon>fJobReportImport.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\fLovProject.cs"> <Compile Include="JobReport_\fLovProject.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\fLovProject.Designer.cs"> <Compile Include="JobReport_\fLovProject.Designer.cs">
<DependentUpon>fLovProject.cs</DependentUpon> <DependentUpon>fLovProject.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\rJobReportDay.cs"> <Compile Include="JobReport_\rJobReportDay.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\rJobReportDay.Designer.cs"> <Compile Include="JobReport_\rJobReportDay.Designer.cs">
<DependentUpon>rJobReportDay.cs</DependentUpon> <DependentUpon>rJobReportDay.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="JobReport\rJobReport.cs"> <Compile Include="JobReport_\rJobReport.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="JobReport\rJobReport.Designer.cs"> <Compile Include="JobReport_\rJobReport.Designer.cs">
<DependentUpon>rJobReport.cs</DependentUpon> <DependentUpon>rJobReport.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="MethodExtentions.cs" /> <Compile Include="MethodExtentions.cs" />
@@ -437,6 +475,7 @@
<DependentUpon>fProjectPartImport.cs</DependentUpon> <DependentUpon>fProjectPartImport.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SqlServerTypes\Loader.cs" />
<Compile Include="UserGroup.cs"> <Compile Include="UserGroup.cs">
<DependentUpon>Model1.tt</DependentUpon> <DependentUpon>Model1.tt</DependentUpon>
</Compile> </Compile>
@@ -467,6 +506,7 @@
<EmbeddedResource Include="EBoard\fEBoardReport.resx"> <EmbeddedResource Include="EBoard\fEBoardReport.resx">
<DependentUpon>fEBoardReport.cs</DependentUpon> <DependentUpon>fEBoardReport.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="EBoard\Report1.rdlc" />
<EmbeddedResource Include="fHistAddDay.resx"> <EmbeddedResource Include="fHistAddDay.resx">
<DependentUpon>fHistAddDay.cs</DependentUpon> <DependentUpon>fHistAddDay.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@@ -479,23 +519,23 @@
<EmbeddedResource Include="fMailList.resx"> <EmbeddedResource Include="fMailList.resx">
<DependentUpon>fMailList.cs</DependentUpon> <DependentUpon>fMailList.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fJobChartMenu.resx"> <EmbeddedResource Include="JobReport_\fJobChartMenu.resx">
<DependentUpon>fJobChartMenu.cs</DependentUpon> <DependentUpon>fJobChartMenu.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fJobReportAI.resx"> <EmbeddedResource Include="JobReport_\fJobReportAI.resx">
<DependentUpon>fJobReportAI.cs</DependentUpon> <DependentUpon>fJobReportAI.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fJobReport_AddAI.resx"> <EmbeddedResource Include="JobReport_\fJobReport_AddAI.resx">
<DependentUpon>fJobReport_AddAI.cs</DependentUpon> <DependentUpon>fJobReport_AddAI.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fSelectProcess.resx"> <EmbeddedResource Include="JobReport_\fSelectProcess.resx">
<DependentUpon>fSelectProcess.cs</DependentUpon> <DependentUpon>fSelectProcess.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\rJobChart.rdlc" /> <EmbeddedResource Include="JobReport_\rJobChart.rdlc" />
<EmbeddedResource Include="JobReport\rJobChart.resx"> <EmbeddedResource Include="JobReport_\rJobChart.resx">
<DependentUpon>rJobChart.cs</DependentUpon> <DependentUpon>rJobChart.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\rJobReportUser.resx"> <EmbeddedResource Include="JobReport_\rJobReportUser.resx">
<DependentUpon>rJobReportUser.cs</DependentUpon> <DependentUpon>rJobReportUser.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Note\fNote.resx"> <EmbeddedResource Include="Note\fNote.resx">
@@ -546,7 +586,7 @@
<EmbeddedResource Include="Import.resx"> <EmbeddedResource Include="Import.resx">
<DependentUpon>Import.cs</DependentUpon> <DependentUpon>Import.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fJobReport.resx"> <EmbeddedResource Include="JobReport_\fJobReport.resx">
<DependentUpon>fJobReport.cs</DependentUpon> <DependentUpon>fJobReport.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Project\fProjectList.resx"> <EmbeddedResource Include="Project\fProjectList.resx">
@@ -565,21 +605,21 @@
<EmbeddedResource Include="Project\rPartList.resx"> <EmbeddedResource Include="Project\rPartList.resx">
<DependentUpon>rPartList.cs</DependentUpon> <DependentUpon>rPartList.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fJobReport_Add.resx"> <EmbeddedResource Include="JobReport_\fJobReport_Add.resx">
<DependentUpon>fJobReport_Add.cs</DependentUpon> <DependentUpon>fJobReport_Add.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fJobReportImport.resx"> <EmbeddedResource Include="JobReport_\fJobReportImport.resx">
<DependentUpon>fJobReportImport.cs</DependentUpon> <DependentUpon>fJobReportImport.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\fLovProject.resx"> <EmbeddedResource Include="JobReport_\fLovProject.resx">
<DependentUpon>fLovProject.cs</DependentUpon> <DependentUpon>fLovProject.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\rJobReportDay.rdlc" /> <EmbeddedResource Include="JobReport_\rJobReportDay.rdlc" />
<EmbeddedResource Include="JobReport\rJobReportDay.resx"> <EmbeddedResource Include="JobReport_\rJobReportDay.resx">
<DependentUpon>rJobReportDay.cs</DependentUpon> <DependentUpon>rJobReportDay.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="JobReport\rJobReport.rdlc" /> <EmbeddedResource Include="JobReport_\rJobReport.rdlc" />
<EmbeddedResource Include="JobReport\rJobReport.resx"> <EmbeddedResource Include="JobReport_\rJobReport.resx">
<DependentUpon>rJobReport.cs</DependentUpon> <DependentUpon>rJobReport.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Project\fProjectPartImport.resx"> <EmbeddedResource Include="Project\fProjectPartImport.resx">
@@ -600,6 +640,17 @@
<None Include="CostReduction_2021.xlsx"> <None Include="CostReduction_2021.xlsx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
<None Include="DSEboard.xsc">
<DependentUpon>DSEboard.xsd</DependentUpon>
</None>
<None Include="DSEboard.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DSEboard.Designer.cs</LastGenOutput>
</None>
<None Include="DSEboard.xss">
<DependentUpon>DSEboard.xsd</DependentUpon>
</None>
<None Include="dsMail.xsc"> <None Include="dsMail.xsc">
<DependentUpon>dsMail.xsd</DependentUpon> <DependentUpon>dsMail.xsd</DependentUpon>
</None> </None>
@@ -633,6 +684,17 @@
<None Include="dsPRJ.xss"> <None Include="dsPRJ.xss">
<DependentUpon>dsPRJ.xsd</DependentUpon> <DependentUpon>dsPRJ.xsd</DependentUpon>
</None> </None>
<None Include="dsPRJ_Bak.xsc">
<DependentUpon>dsPRJ_Bak.xsd</DependentUpon>
</None>
<None Include="dsPRJ_Bak.xsd">
<SubType>Designer</SubType>
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>dsPRJ_Bak.Designer.cs</LastGenOutput>
</None>
<None Include="dsPRJ_Bak.xss">
<DependentUpon>dsPRJ_Bak.xsd</DependentUpon>
</None>
<None Include="dsPurchase.xsc"> <None Include="dsPurchase.xsc">
<DependentUpon>dsPurchase.xsd</DependentUpon> <DependentUpon>dsPurchase.xsd</DependentUpon>
</None> </None>
@@ -680,6 +742,8 @@
<DependentUpon>Model1.edmx</DependentUpon> <DependentUpon>Model1.edmx</DependentUpon>
</None> </None>
<None Include="packages.config" /> <None Include="packages.config" />
<None Include="Properties\DataSources\EEEntities.datasource" />
<None Include="Properties\DataSources\EETGW_ProjectsSchedule.datasource" />
<None Include="Properties\Settings.settings"> <None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator> <Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -733,6 +797,22 @@
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" /> <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="..\..\packages\Microsoft.SqlServer.Types.11.0.1\nativeBinaries\x64\msvcr100.dll">
<Link>SqlServerTypes\x64\msvcr100.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\packages\Microsoft.SqlServer.Types.11.0.1\nativeBinaries\x64\SqlServerSpatial110.dll">
<Link>SqlServerTypes\x64\SqlServerSpatial110.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\packages\Microsoft.SqlServer.Types.11.0.1\nativeBinaries\x86\msvcr100.dll">
<Link>SqlServerTypes\x86\msvcr100.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\packages\Microsoft.SqlServer.Types.11.0.1\nativeBinaries\x86\SqlServerSpatial110.dll">
<Link>SqlServerTypes\x86\SqlServerSpatial110.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Model1.Context.tt"> <Content Include="Model1.Context.tt">
<Generator>TextTemplatingFileGenerator</Generator> <Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Model1.Context.cs</LastGenOutput> <LastGenOutput>Model1.Context.cs</LastGenOutput>
@@ -743,6 +823,7 @@
<DependentUpon>Model1.edmx</DependentUpon> <DependentUpon>Model1.edmx</DependentUpon>
<LastGenOutput>Model1.cs</LastGenOutput> <LastGenOutput>Model1.cs</LastGenOutput>
</Content> </Content>
<Content Include="SqlServerTypes\readme.htm" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.

View File

@@ -0,0 +1,39 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 이 코드는 템플릿에서 생성되었습니다.
//
// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다.
// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다.
// </auto-generated>
//------------------------------------------------------------------------------
namespace FPJ0000
{
using System;
using System.Collections.Generic;
public partial class JobReport
{
public int idx { get; set; }
public string gcode { get; set; }
public string pdate { get; set; }
public Nullable<int> pidx { get; set; }
public string projectName { get; set; }
public string uid { get; set; }
public string requestpart { get; set; }
public string package { get; set; }
public string status { get; set; }
public string type { get; set; }
public string process { get; set; }
public string description { get; set; }
public string remark { get; set; }
public Nullable<double> hrs { get; set; }
public Nullable<double> ot { get; set; }
public Nullable<bool> import { get; set; }
public string wuid { get; set; }
public System.DateTime wdate { get; set; }
public string description2 { get; set; }
public string tag { get; set; }
public Nullable<bool> autoinput { get; set; }
}
}

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class fJobChartMenu partial class fJobChartMenu
{ {

View File

@@ -8,7 +8,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class fJobChartMenu : Form public partial class fJobChartMenu : Form
{ {

View File

@@ -480,7 +480,6 @@
this.tam.ProjectsIOMapTableAdapter = null; this.tam.ProjectsIOMapTableAdapter = null;
this.tam.ProjectsMailListTableAdapter = null; this.tam.ProjectsMailListTableAdapter = null;
this.tam.ProjectsPartTableAdapter = null; this.tam.ProjectsPartTableAdapter = null;
this.tam.ProjectsScheduleTableAdapter = null;
this.tam.ProjectsTableAdapter = null; this.tam.ProjectsTableAdapter = null;
this.tam.SPMasterTableAdapter = null; this.tam.SPMasterTableAdapter = null;
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;

View File

@@ -401,7 +401,7 @@ namespace FPJ0000
if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday || if (DateTime.Now.DayOfWeek == DayOfWeek.Sunday ||
DateTime.Now.DayOfWeek == DayOfWeek.Saturday) newdr.hrs = 0; DateTime.Now.DayOfWeek == DayOfWeek.Saturday) newdr.hrs = 0;
var f = new JobReport.fJobReport_Add(newdr); var f = new JobReport_.fJobReport_Add(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
this.dsMSSQL.JobReport.AddJobReportRow(newdr); this.dsMSSQL.JobReport.AddJobReportRow(newdr);
@@ -471,7 +471,7 @@ namespace FPJ0000
return; return;
} }
var f = new JobReport.fJobReport_Add(dr); var f = new JobReport_.fJobReport_Add(dr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
if (dr.RowState != DataRowState.Unchanged) if (dr.RowState != DataRowState.Unchanged)
@@ -524,7 +524,7 @@ namespace FPJ0000
newdr.EndEdit(); newdr.EndEdit();
//var newdr = this.dsMSSQL.JobReport.NewJobReportRow(); //var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
JobReport.fJobReport_Add f = new JobReport.fJobReport_Add(newdr); JobReport_.fJobReport_Add f = new JobReport_.fJobReport_Add(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
this.dsMSSQL.JobReport.AddJobReportRow(newdr); this.dsMSSQL.JobReport.AddJobReportRow(newdr);
@@ -577,7 +577,7 @@ namespace FPJ0000
private void btReport_Click(object sender, EventArgs e) private void btReport_Click(object sender, EventArgs e)
{ {
var f = new JobReport.rJobReport(); var f = new JobReport_.rJobReport();
f.Show(); f.Show();
} }
@@ -608,7 +608,7 @@ namespace FPJ0000
private void btReportDay_Click(object sender, EventArgs e) private void btReportDay_Click(object sender, EventArgs e)
{ {
var f = new JobReport.rJobReportDay(); var f = new JobReport_.rJobReportDay();
f.Show(); f.Show();
} }
@@ -617,7 +617,7 @@ namespace FPJ0000
//string request = cmbUser.Text.Substring(cmbUser.Text.LastIndexOf('(') + 1); //string request = cmbUser.Text.Substring(cmbUser.Text.LastIndexOf('(') + 1);
//request = request.Substring(0, request.Length - 1); //request = request.Substring(0, request.Length - 1);
//string name = cmbUser.Text.Substring(0, cmbUser.Text.IndexOf('(')); //string name = cmbUser.Text.Substring(0, cmbUser.Text.IndexOf('('));
var f = new JobReport.fJobChartMenu(); var f = new JobReport_.fJobChartMenu();
f.ShowDialog(); f.ShowDialog();
} }
@@ -628,7 +628,7 @@ namespace FPJ0000
private void toolStripButton3_Click(object sender, EventArgs e) private void toolStripButton3_Click(object sender, EventArgs e)
{ {
var f = new JobReport.rJobReportUser(); var f = new JobReport_.rJobReportUser();
f.Show(); f.Show();
} }
@@ -652,7 +652,7 @@ namespace FPJ0000
private void toolStripButton4_Click(object sender, EventArgs e) private void toolStripButton4_Click(object sender, EventArgs e)
{ {
var oldlist = (List<string>)tbProcess.Tag; var oldlist = (List<string>)tbProcess.Tag;
var f = new JobReport.fSelectProcess(oldlist.ToArray()); var f = new JobReport_.fSelectProcess(oldlist.ToArray());
if (f.ShowDialog() == DialogResult.OK) if (f.ShowDialog() == DialogResult.OK)
{ {
tbProcess.Tag = f.values; tbProcess.Tag = f.values;

View File

@@ -30,23 +30,23 @@
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReportAI)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fJobReportAI));
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType(); FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components); this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FPJ0000.dsPRJ(); this.dsMSSQL = new FPJ0000.dsPRJ();
@@ -91,6 +91,7 @@
this.btSearch = new System.Windows.Forms.ToolStripButton(); this.btSearch = new System.Windows.Forms.ToolStripButton();
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_AutoInputTableAdapter(); this.ta = new FPJ0000.dsPRJTableAdapters.EETGW_JobReport_AutoInputTableAdapter();
this.btDebug = new System.Windows.Forms.ToolStripButton();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout(); this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -126,15 +127,16 @@
this.toolStripSeparator1, this.toolStripSeparator1,
this.toolStripLabel2, this.toolStripLabel2,
this.tbFind, this.tbFind,
this.btFind}); this.btFind,
this.bn.Location = new System.Drawing.Point(0, 495); this.btDebug});
this.bn.Location = new System.Drawing.Point(0, 586);
this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.bn.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem; this.bn.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem; this.bn.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.bn.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.bn.Name = "bn"; this.bn.Name = "bn";
this.bn.PositionItem = this.bindingNavigatorPositionItem; this.bn.PositionItem = this.bindingNavigatorPositionItem;
this.bn.Size = new System.Drawing.Size(1284, 25); this.bn.Size = new System.Drawing.Size(1292, 25);
this.bn.TabIndex = 0; this.bn.TabIndex = 0;
this.bn.Text = "bindingNavigator1"; this.bn.Text = "bindingNavigator1";
// //
@@ -418,7 +420,7 @@
this.fpSpread1.Name = "fpSpread1"; this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] { this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1}); this.fpSpread1_Sheet1});
this.fpSpread1.Size = new System.Drawing.Size(1284, 458); this.fpSpread1.Size = new System.Drawing.Size(1292, 549);
this.fpSpread1.StatusBarVisible = true; this.fpSpread1.StatusBarVisible = true;
this.fpSpread1.TabIndex = 2; this.fpSpread1.TabIndex = 2;
// //
@@ -450,93 +452,93 @@
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "비고"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 15).Value = "비고";
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "#"; this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 16).Value = "#";
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 28F;
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType2;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "enable"; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "enable";
this.fpSpread1_Sheet1.Columns.Get(0).Label = "사용"; this.fpSpread1_Sheet1.Columns.Get(0).Label = "사용";
this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType1; this.fpSpread1_Sheet1.Columns.Get(1).CellType = textCellType14;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "autoinput"; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "autoinput";
this.fpSpread1_Sheet1.Columns.Get(1).Label = "방식"; this.fpSpread1_Sheet1.Columns.Get(1).Label = "방식";
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType2; this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType15;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate"; this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "시작일"; this.fpSpread1_Sheet1.Columns.Get(2).Label = "시작일";
this.fpSpread1_Sheet1.Columns.Get(2).Width = 58F; this.fpSpread1_Sheet1.Columns.Get(2).Width = 58F;
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType3; this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType16;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "edate"; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "edate";
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(3).Label = "종료일"; this.fpSpread1_Sheet1.Columns.Get(3).Label = "종료일";
this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType4; this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType17;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ww"; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ww";
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(4).Label = "WW"; this.fpSpread1_Sheet1.Columns.Get(4).Label = "WW";
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType5; this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType18;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "username"; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "username";
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(5).Label = "담당"; this.fpSpread1_Sheet1.Columns.Get(5).Label = "담당";
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType6; this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType19;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "requestpart"; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "requestpart";
this.fpSpread1_Sheet1.Columns.Get(6).Label = "요청부서"; this.fpSpread1_Sheet1.Columns.Get(6).Label = "요청부서";
this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F; this.fpSpread1_Sheet1.Columns.Get(6).Width = 78F;
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType7; this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType20;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "package"; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "package";
this.fpSpread1_Sheet1.Columns.Get(7).Label = "패키지"; this.fpSpread1_Sheet1.Columns.Get(7).Label = "패키지";
this.fpSpread1_Sheet1.Columns.Get(7).Width = 86F; this.fpSpread1_Sheet1.Columns.Get(7).Width = 86F;
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType8; this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType21;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "status"; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "status";
this.fpSpread1_Sheet1.Columns.Get(8).Label = "상태"; this.fpSpread1_Sheet1.Columns.Get(8).Label = "상태";
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType9; this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType22;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "type"; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "type";
this.fpSpread1_Sheet1.Columns.Get(9).Label = "업무형태"; this.fpSpread1_Sheet1.Columns.Get(9).Label = "업무형태";
this.fpSpread1_Sheet1.Columns.Get(9).Width = 84F; this.fpSpread1_Sheet1.Columns.Get(9).Width = 84F;
this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(10).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType10; this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType23;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "process"; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "process";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "업무분류"; this.fpSpread1_Sheet1.Columns.Get(10).Label = "업무분류";
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Width = 80F; this.fpSpread1_Sheet1.Columns.Get(10).Width = 80F;
this.fpSpread1_Sheet1.Columns.Get(11).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(11).AllowAutoFilter = true;
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType11; this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType24;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "projectName"; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "projectName";
this.fpSpread1_Sheet1.Columns.Get(11).Label = "프로젝트(아이템)"; this.fpSpread1_Sheet1.Columns.Get(11).Label = "프로젝트(아이템)";
this.fpSpread1_Sheet1.Columns.Get(11).Width = 158F; this.fpSpread1_Sheet1.Columns.Get(11).Width = 158F;
this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.fpSpread1_Sheet1.Columns.Get(12).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
numberCellType1.DecimalPlaces = 0; numberCellType4.DecimalPlaces = 0;
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
numberCellType1.MaximumValue = 2147483647D; numberCellType4.MaximumValue = 2147483647D;
numberCellType1.MinimumValue = -2147483648D; numberCellType4.MinimumValue = -2147483648D;
this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType1; this.fpSpread1_Sheet1.Columns.Get(12).CellType = numberCellType4;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pidx"; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "pidx";
this.fpSpread1_Sheet1.Columns.Get(12).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(12).Label = "*";
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pidx"; this.fpSpread1_Sheet1.Columns.Get(12).Tag = "pidx";
this.fpSpread1_Sheet1.Columns.Get(12).Width = 39F; this.fpSpread1_Sheet1.Columns.Get(12).Width = 39F;
numberCellType2.MaximumValue = 999999999999999D; numberCellType5.MaximumValue = 999999999999999D;
numberCellType2.MinimumValue = -999999999999999D; numberCellType5.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType2; this.fpSpread1_Sheet1.Columns.Get(13).CellType = numberCellType5;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "hrs"; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "hrs";
this.fpSpread1_Sheet1.Columns.Get(13).Label = "시간"; this.fpSpread1_Sheet1.Columns.Get(13).Label = "시간";
this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F; this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F;
numberCellType3.MaximumValue = 999999999999999D; numberCellType6.MaximumValue = 999999999999999D;
numberCellType3.MinimumValue = -999999999999999D; numberCellType6.MinimumValue = -999999999999999D;
this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType3; this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType6;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ot"; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ot";
this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(14).ForeColor = System.Drawing.Color.Red;
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "초과"; this.fpSpread1_Sheet1.Columns.Get(14).Label = "초과";
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12; this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType25;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "description"; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "description";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(15).Label = "비고";
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(15).Width = 113F; this.fpSpread1_Sheet1.Columns.Get(15).Width = 113F;
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType13; this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType26;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "tag"; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "tag";
this.fpSpread1_Sheet1.Columns.Get(16).Label = "#"; this.fpSpread1_Sheet1.Columns.Get(16).Label = "#";
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
@@ -555,7 +557,7 @@
this.toolStripButton2}); this.toolStripButton2});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1284, 37); this.toolStrip1.Size = new System.Drawing.Size(1292, 37);
this.toolStrip1.TabIndex = 4; this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
@@ -596,11 +598,21 @@
// //
this.ta.ClearBeforeFill = true; this.ta.ClearBeforeFill = true;
// //
// btDebug
//
this.btDebug.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this.btDebug.Image = ((System.Drawing.Image)(resources.GetObject("btDebug.Image")));
this.btDebug.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btDebug.Name = "btDebug";
this.btDebug.Size = new System.Drawing.Size(147, 22);
this.btDebug.Text = "로그인데이터자동생성";
this.btDebug.Click += new System.EventHandler(this.btDebug_Click);
//
// fJobReportAI // fJobReportAI
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1284, 520); this.ClientSize = new System.Drawing.Size(1292, 611);
this.Controls.Add(this.fpSpread1); this.Controls.Add(this.fpSpread1);
this.Controls.Add(this.toolStrip1); this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.bn); this.Controls.Add(this.bn);
@@ -669,5 +681,6 @@
private dsPRJTableAdapters.EETGW_JobReport_AutoInputTableAdapter ta; private dsPRJTableAdapters.EETGW_JobReport_AutoInputTableAdapter ta;
private System.Windows.Forms.ToolStripButton btSearch; private System.Windows.Forms.ToolStripButton btSearch;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1; private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
private System.Windows.Forms.ToolStripButton btDebug;
} }
} }

View File

@@ -46,6 +46,8 @@ namespace FPJ0000
btSave.Visible = true; btSave.Visible = true;
btDebug.Visible = FCOMMON.info.Login.no == "dev";
refreshData(); refreshData();
binit = true; binit = true;
@@ -181,7 +183,7 @@ namespace FPJ0000
newdr.wdate = DateTime.Now; newdr.wdate = DateTime.Now;
newdr.wuid = FCOMMON.info.Login.no; newdr.wuid = FCOMMON.info.Login.no;
var f = new JobReport.fJobReport_AddAI(newdr); var f = new JobReport_.fJobReport_AddAI(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
this.dsMSSQL.EETGW_JobReport_AutoInput.AddEETGW_JobReport_AutoInputRow(newdr); this.dsMSSQL.EETGW_JobReport_AutoInput.AddEETGW_JobReport_AutoInputRow(newdr);
@@ -251,7 +253,7 @@ namespace FPJ0000
return; return;
} }
var f = new JobReport.fJobReport_AddAI(dr); var f = new JobReport_.fJobReport_AddAI(dr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
if (dr.RowState != DataRowState.Unchanged) if (dr.RowState != DataRowState.Unchanged)
@@ -304,7 +306,7 @@ namespace FPJ0000
newdr.EndEdit(); newdr.EndEdit();
//var newdr = this.dsMSSQL.JobReport.NewJobReportRow(); //var newdr = this.dsMSSQL.JobReport.NewJobReportRow();
var f = new JobReport.fJobReport_AddAI(newdr); var f = new JobReport_.fJobReport_AddAI(newdr);
if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{ {
this.dsMSSQL.EETGW_JobReport_AutoInput.AddEETGW_JobReport_AutoInputRow(newdr); this.dsMSSQL.EETGW_JobReport_AutoInput.AddEETGW_JobReport_AutoInputRow(newdr);
@@ -360,6 +362,80 @@ namespace FPJ0000
this.Close(); this.Close();
} }
private void btDebug_Click(object sender, EventArgs e)
{
var dlg = util.MsgQ("진짜 실행?");
if (dlg != DialogResult.Yes) return;
var cnt = 0;
var db = new EEEntities();
//근무일자 확인
var holilist = db.HolidayLIst.ToList();
foreach (dsPRJ.EETGW_JobReport_AutoInputRow dr in this.dsMSSQL.EETGW_JobReport_AutoInput)
{
if (dr.RowState == DataRowState.Deleted || dr.RowState == DataRowState.Detached) continue;
if (dr.autoinput != "L") continue;
//시작일자부텅 오늘까지 데이터를 확인한다.
var sd = DateTime.Parse(dr.pdate);
while(true)
{
if (sd > DateTime.Now) break;
//이날짜가 일반 날짜라면 데이터를 기록한다.
var dayinfo = holilist.Where(t => t.pdate == sd.ToShortDateString()).FirstOrDefault();
if (dayinfo.free == true)
{
sd = sd.AddDays(1);
continue; //휴일은 처리하지 않는다
}
//그냥 생성된자료가 없어야한다
var vPdate = sd.ToShortDateString();
if (db.JobReport.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.pdate == vPdate && t.uid == dr.uid).Any())
{
sd = sd.AddDays(1);
continue;
}
//이데이터를 그대로 생성해준다.
var newdr = new JobReport();
newdr.gcode = FCOMMON.info.Login.gcode;
newdr.wuid = FCOMMON.info.Login.no;
newdr.wdate = DateTime.Now;
newdr.pdate = sd.ToShortDateString();
newdr.import = false;
newdr.hrs = dr.hrs;
newdr.ot = dr.ot;
newdr.process = dr.process;
newdr.projectName = dr.projectName;
newdr.pidx = dr.pidx;
newdr.package = dr.package;
newdr.autoinput = true;
newdr.description = dr.description;
newdr.description2 = dr.description2;
newdr.remark = dr.remark;
newdr.requestpart = dr.requestpart;
newdr.status = dr.status;
newdr.tag = dr.tag;
newdr.uid = dr.uid;
db.JobReport.Add(newdr);
cnt += 1;
sd = sd.AddDays(1);
}
} }
if (cnt > 0)
{
db.SaveChanges();
FCOMMON.Util.MsgI($"{cnt} 건의 업무일지가 자동 생성 되었습니다");
}
}
}
} }

View File

@@ -213,6 +213,24 @@
GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg== GoSrpcVIQqmAj6LZftFBup9vWiUlUQdIDCbsQrsGZRJKBbOXyA++SlEsu6QjvQAAAABJRU5ErkJggg==
</value> </value>
</data> </data>
<data name="btDebug.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="dsMSSQL.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="cm.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>252, 17</value> <value>252, 17</value>
</metadata> </metadata>

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class fJobReportImport partial class fJobReportImport
{ {

View File

@@ -7,7 +7,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class fJobReportImport : Form public partial class fJobReportImport : Form
{ {

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class fJobReport_Add partial class fJobReport_Add
{ {
@@ -360,7 +360,6 @@
this.tam.ProjectsIOMapTableAdapter = null; this.tam.ProjectsIOMapTableAdapter = null;
this.tam.ProjectsMailListTableAdapter = null; this.tam.ProjectsMailListTableAdapter = null;
this.tam.ProjectsPartTableAdapter = null; this.tam.ProjectsPartTableAdapter = null;
this.tam.ProjectsScheduleTableAdapter = null;
this.tam.ProjectsTableAdapter = null; this.tam.ProjectsTableAdapter = null;
this.tam.SPMasterTableAdapter = null; this.tam.SPMasterTableAdapter = null;
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;

View File

@@ -7,7 +7,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class fJobReport_Add : Form public partial class fJobReport_Add : Form
{ {

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class fJobReport_AddAI partial class fJobReport_AddAI
{ {
@@ -39,7 +39,6 @@
System.Windows.Forms.Label label3; System.Windows.Forms.Label label3;
System.Windows.Forms.Label label6; System.Windows.Forms.Label label6;
System.Windows.Forms.Label label2; System.Windows.Forms.Label label2;
System.Windows.Forms.Label label7;
this.tbHrs = new System.Windows.Forms.TextBox(); this.tbHrs = new System.Windows.Forms.TextBox();
this.bs = new System.Windows.Forms.BindingSource(this.components); this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsPRJ = new FPJ0000.dsPRJ(); this.dsPRJ = new FPJ0000.dsPRJ();
@@ -68,6 +67,7 @@
this.radAuto = new System.Windows.Forms.RadioButton(); this.radAuto = new System.Windows.Forms.RadioButton();
this.radLogin = new System.Windows.Forms.RadioButton(); this.radLogin = new System.Windows.Forms.RadioButton();
this.tbTag = new System.Windows.Forms.TextBox(); this.tbTag = new System.Windows.Forms.TextBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
hrsLabel = new System.Windows.Forms.Label(); hrsLabel = new System.Windows.Forms.Label();
typeLabel = new System.Windows.Forms.Label(); typeLabel = new System.Windows.Forms.Label();
label1 = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label();
@@ -78,7 +78,6 @@
label3 = new System.Windows.Forms.Label(); label3 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label(); label6 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label();
label7 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsPRJ)).BeginInit();
this.statusStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout();
@@ -179,16 +178,6 @@
label2.TabIndex = 16; label2.TabIndex = 16;
label2.Text = "초과시간"; label2.Text = "초과시간";
// //
// label7
//
label7.AutoSize = true;
label7.Location = new System.Drawing.Point(26, 41);
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
label7.Name = "label7";
label7.Size = new System.Drawing.Size(41, 12);
label7.TabIndex = 58;
label7.Text = "종료일";
//
// tbHrs // tbHrs
// //
this.tbHrs.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2")); this.tbHrs.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bs, "hrs", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
@@ -366,7 +355,6 @@
this.tam.ProjectsIOMapTableAdapter = null; this.tam.ProjectsIOMapTableAdapter = null;
this.tam.ProjectsMailListTableAdapter = null; this.tam.ProjectsMailListTableAdapter = null;
this.tam.ProjectsPartTableAdapter = null; this.tam.ProjectsPartTableAdapter = null;
this.tam.ProjectsScheduleTableAdapter = null;
this.tam.ProjectsTableAdapter = null; this.tam.ProjectsTableAdapter = null;
this.tam.SPMasterTableAdapter = null; this.tam.SPMasterTableAdapter = null;
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
@@ -406,8 +394,8 @@
// panel1 // panel1
// //
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192)))));
this.panel1.Controls.Add(this.checkBox1);
this.panel1.Controls.Add(this.dte); this.panel1.Controls.Add(this.dte);
this.panel1.Controls.Add(label7);
this.panel1.Controls.Add(this.tbWeekE); this.panel1.Controls.Add(this.tbWeekE);
this.panel1.Controls.Add(this.chkEnable); this.panel1.Controls.Add(this.chkEnable);
this.panel1.Controls.Add(this.radAuto); this.panel1.Controls.Add(this.radAuto);
@@ -451,11 +439,11 @@
this.dte.TabIndex = 59; this.dte.TabIndex = 59;
this.dte.ValueChanged += new System.EventHandler(this.dte_ValueChanged); this.dte.ValueChanged += new System.EventHandler(this.dte_ValueChanged);
// //
// textBox1 // tbWeekE
// //
this.tbWeekE.Location = new System.Drawing.Point(252, 37); this.tbWeekE.Location = new System.Drawing.Point(252, 37);
this.tbWeekE.Margin = new System.Windows.Forms.Padding(4); this.tbWeekE.Margin = new System.Windows.Forms.Padding(4);
this.tbWeekE.Name = "textBox1"; this.tbWeekE.Name = "tbWeekE";
this.tbWeekE.ReadOnly = true; this.tbWeekE.ReadOnly = true;
this.tbWeekE.Size = new System.Drawing.Size(63, 21); this.tbWeekE.Size = new System.Drawing.Size(63, 21);
this.tbWeekE.TabIndex = 60; this.tbWeekE.TabIndex = 60;
@@ -504,6 +492,17 @@
this.tbTag.TabIndex = 60; this.tbTag.TabIndex = 60;
this.tbTag.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.tbTag.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
// //
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(8, 39);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(60, 16);
this.checkBox1.TabIndex = 61;
this.checkBox1.Text = "종료일";
this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
//
// fJobReport_AddAI // fJobReport_AddAI
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
@@ -560,5 +559,6 @@
private System.Windows.Forms.CheckBox chkEnable; private System.Windows.Forms.CheckBox chkEnable;
private System.Windows.Forms.DateTimePicker dte; private System.Windows.Forms.DateTimePicker dte;
private System.Windows.Forms.TextBox tbWeekE; private System.Windows.Forms.TextBox tbWeekE;
private System.Windows.Forms.CheckBox checkBox1;
} }
} }

View File

@@ -7,7 +7,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class fJobReport_AddAI : Form public partial class fJobReport_AddAI : Form
{ {
@@ -116,7 +116,11 @@ namespace FPJ0000.JobReport
// tbWW.Text = dr.ww; // tbWW.Text = dr.ww;
dts.Value = DateTime.Parse(dr.pdate); //일자선택 dts.Value = DateTime.Parse(dr.pdate); //일자선택
dte.Value = DateTime.Parse(dr.edate);
this.checkBox1.Checked = !dr.edate.isEmpty();
if(this.checkBox1.Checked) dte.Value = DateTime.Parse(dr.edate);
cmbUser.SelectedValue = dr.uid; cmbUser.SelectedValue = dr.uid;
tbProject.Text = dr.projectName; tbProject.Text = dr.projectName;
cmbRequest.SelectedValue = dr.requestpart; cmbRequest.SelectedValue = dr.requestpart;
@@ -439,5 +443,10 @@ namespace FPJ0000.JobReport
this.tbWeekE.Text = "ww" + dat.ToString(); this.tbWeekE.Text = "ww" + dat.ToString();
} }
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
this.dte.Enabled = this.checkBox1.Checked;
}
} }
} }

View File

@@ -147,8 +147,8 @@
<metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="label2.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value> <value>False</value>
</metadata> </metadata>
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>False</value> <value>100, 17</value>
</metadata> </metadata>
<metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="bs.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>100, 17</value> <value>100, 17</value>
@@ -156,6 +156,9 @@
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<metadata name="dsPRJ.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>299, 17</value> <value>299, 17</value>
</metadata> </metadata>

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class fLovProject partial class fLovProject
{ {
@@ -294,7 +294,6 @@
this.tam.ProjectsIOMapTableAdapter = null; this.tam.ProjectsIOMapTableAdapter = null;
this.tam.ProjectsMailListTableAdapter = null; this.tam.ProjectsMailListTableAdapter = null;
this.tam.ProjectsPartTableAdapter = null; this.tam.ProjectsPartTableAdapter = null;
this.tam.ProjectsScheduleTableAdapter = null;
this.tam.ProjectsTableAdapter = this.taPrj; this.tam.ProjectsTableAdapter = this.taPrj;
this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete; this.tam.UpdateOrder = FPJ0000.dsPRJTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
// //

View File

@@ -7,7 +7,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class fLovProject : Form public partial class fLovProject : Form
{ {

View File

@@ -1,5 +1,5 @@
 
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class fSelectProcess partial class fSelectProcess
{ {

View File

@@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class fSelectProcess : Form public partial class fSelectProcess : Form
{ {

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class rJobChart partial class rJobChart
{ {

View File

@@ -7,7 +7,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class rJobChart : Form public partial class rJobChart : Form
{ {

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class rJobReport partial class rJobReport
{ {

View File

@@ -7,7 +7,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class rJobReport : Form public partial class rJobReport : Form
{ {

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class rJobReportDay partial class rJobReportDay
{ {

View File

@@ -7,7 +7,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class rJobReportDay : Form public partial class rJobReportDay : Form
{ {

View File

@@ -1,4 +1,4 @@
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
partial class rJobReportUser partial class rJobReportUser
{ {

View File

@@ -8,7 +8,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Windows.Forms; using System.Windows.Forms;
namespace FPJ0000.JobReport namespace FPJ0000.JobReport_
{ {
public partial class rJobReportUser : Form public partial class rJobReportUser : Form
{ {

View File

@@ -39,5 +39,7 @@ namespace FPJ0000
public virtual DbSet<MailForm> MailForm { get; set; } public virtual DbSet<MailForm> MailForm { get; set; }
public virtual DbSet<Purchase> Purchase { get; set; } public virtual DbSet<Purchase> Purchase { get; set; }
public virtual DbSet<EETGW_Note> EETGW_Note { get; set; } public virtual DbSet<EETGW_Note> EETGW_Note { get; set; }
public virtual DbSet<JobReport> JobReport { get; set; }
public virtual DbSet<EETGW_ProjectsSchedule> EETGW_ProjectsSchedule { get; set; }
} }
} }

Some files were not shown because too many files have changed in this diff Show More