- 임시 커밋
This commit is contained in:
522
AutoSeller.Designer.cs
generated
522
AutoSeller.Designer.cs
generated
@@ -28,13 +28,31 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AutoSeller));
|
||||
this.materialTabSelector1 = new MaterialSkin.Controls.MaterialTabSelector();
|
||||
this.materialTabControl1 = new MaterialSkin.Controls.MaterialTabControl();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.btSell = new MaterialSkin.Controls.MaterialRaisedButton();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.lvItems = new AutoSellerNS.ListViewNF();
|
||||
this.chCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCodeName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCurPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chBookValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCapitalGains = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chAssessedValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chValuation = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chYield = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chMaxPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCheckCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.tbLog = new System.Windows.Forms.RichTextBox();
|
||||
this.lvCurPrice = new AutoSellerNS.ListViewNF();
|
||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chAskCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCallPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chBidCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.btUpdate = new MaterialSkin.Controls.MaterialRaisedButton();
|
||||
this.btCybos = new MaterialSkin.Controls.MaterialRaisedButton();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
@@ -51,23 +69,6 @@
|
||||
this.btApply = new MaterialSkin.Controls.MaterialFlatButton();
|
||||
this.tbSubAccount = new MaterialSkin.Controls.MaterialSingleLineTextField();
|
||||
this.cbAccount = new System.Windows.Forms.ComboBox();
|
||||
this.lvItems = new AutoSellerNS.ListViewNF();
|
||||
this.chCode = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCodeName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCurPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chBookValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCapitalGains = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chAssessedValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chValuation = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chYield = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chMaxPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCheckCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.lvCurPrice = new AutoSellerNS.ListViewNF();
|
||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chAskCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chCallPrice = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.chBidCount = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.materialTabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
|
||||
@@ -176,248 +177,6 @@
|
||||
this.splitContainer1.SplitterDistance = 353;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// tbLog
|
||||
//
|
||||
this.tbLog.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tbLog.Location = new System.Drawing.Point(0, 0);
|
||||
this.tbLog.Name = "tbLog";
|
||||
this.tbLog.Size = new System.Drawing.Size(804, 151);
|
||||
this.tbLog.TabIndex = 0;
|
||||
this.tbLog.Text = "";
|
||||
//
|
||||
// btUpdate
|
||||
//
|
||||
this.btUpdate.AutoSize = true;
|
||||
this.btUpdate.Depth = 0;
|
||||
this.btUpdate.Location = new System.Drawing.Point(74, 3);
|
||||
this.btUpdate.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.btUpdate.Name = "btUpdate";
|
||||
this.btUpdate.Primary = true;
|
||||
this.btUpdate.Size = new System.Drawing.Size(68, 28);
|
||||
this.btUpdate.TabIndex = 3;
|
||||
this.btUpdate.Text = "Update";
|
||||
this.btUpdate.UseVisualStyleBackColor = true;
|
||||
this.btUpdate.Click += new System.EventHandler(this.btUpdate_Click);
|
||||
//
|
||||
// btCybos
|
||||
//
|
||||
this.btCybos.AutoSize = true;
|
||||
this.btCybos.Depth = 0;
|
||||
this.btCybos.Location = new System.Drawing.Point(3, 3);
|
||||
this.btCybos.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.btCybos.Name = "btCybos";
|
||||
this.btCybos.Primary = true;
|
||||
this.btCybos.Size = new System.Drawing.Size(66, 28);
|
||||
this.btCybos.TabIndex = 3;
|
||||
this.btCybos.Text = "Cybos";
|
||||
this.btCybos.UseVisualStyleBackColor = true;
|
||||
this.btCybos.Click += new System.EventHandler(this.btCybos_Click);
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.BackColor = System.Drawing.Color.White;
|
||||
this.tabPage2.Controls.Add(this.materialLabel7);
|
||||
this.tabPage2.Controls.Add(this.tbTrailingCnt);
|
||||
this.tabPage2.Controls.Add(this.materialLabel6);
|
||||
this.tabPage2.Controls.Add(this.tbTrailingP);
|
||||
this.tabPage2.Controls.Add(this.materialLabel5);
|
||||
this.tabPage2.Controls.Add(this.materialLabel4);
|
||||
this.tabPage2.Controls.Add(this.materialLabel3);
|
||||
this.tabPage2.Controls.Add(this.materialLabel2);
|
||||
this.tabPage2.Controls.Add(this.tbBidCount);
|
||||
this.tabPage2.Controls.Add(this.materialLabel1);
|
||||
this.tabPage2.Controls.Add(this.btApply);
|
||||
this.tabPage2.Controls.Add(this.tbSubAccount);
|
||||
this.tabPage2.Controls.Add(this.cbAccount);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(1060, 546);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "Preference";
|
||||
//
|
||||
// materialLabel7
|
||||
//
|
||||
this.materialLabel7.AutoSize = true;
|
||||
this.materialLabel7.Depth = 0;
|
||||
this.materialLabel7.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
|
||||
this.materialLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel7.Location = new System.Drawing.Point(224, 229);
|
||||
this.materialLabel7.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel7.Name = "materialLabel7";
|
||||
this.materialLabel7.Size = new System.Drawing.Size(21, 18);
|
||||
this.materialLabel7.TabIndex = 12;
|
||||
this.materialLabel7.Text = "회";
|
||||
//
|
||||
// tbTrailingCnt
|
||||
//
|
||||
this.tbTrailingCnt.Depth = 0;
|
||||
this.tbTrailingCnt.Hint = "";
|
||||
this.tbTrailingCnt.Location = new System.Drawing.Point(188, 225);
|
||||
this.tbTrailingCnt.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbTrailingCnt.Name = "tbTrailingCnt";
|
||||
this.tbTrailingCnt.PasswordChar = '\0';
|
||||
this.tbTrailingCnt.SelectedText = "";
|
||||
this.tbTrailingCnt.SelectionLength = 0;
|
||||
this.tbTrailingCnt.SelectionStart = 0;
|
||||
this.tbTrailingCnt.Size = new System.Drawing.Size(30, 23);
|
||||
this.tbTrailingCnt.TabIndex = 11;
|
||||
this.tbTrailingCnt.Text = "2";
|
||||
this.tbTrailingCnt.UseSystemPasswordChar = false;
|
||||
//
|
||||
// materialLabel6
|
||||
//
|
||||
this.materialLabel6.AutoSize = true;
|
||||
this.materialLabel6.Depth = 0;
|
||||
this.materialLabel6.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
|
||||
this.materialLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel6.Location = new System.Drawing.Point(152, 229);
|
||||
this.materialLabel6.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel6.Name = "materialLabel6";
|
||||
this.materialLabel6.Size = new System.Drawing.Size(21, 18);
|
||||
this.materialLabel6.TabIndex = 10;
|
||||
this.materialLabel6.Text = "%";
|
||||
//
|
||||
// tbTrailingP
|
||||
//
|
||||
this.tbTrailingP.Depth = 0;
|
||||
this.tbTrailingP.Hint = "";
|
||||
this.tbTrailingP.Location = new System.Drawing.Point(116, 225);
|
||||
this.tbTrailingP.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbTrailingP.Name = "tbTrailingP";
|
||||
this.tbTrailingP.PasswordChar = '\0';
|
||||
this.tbTrailingP.SelectedText = "";
|
||||
this.tbTrailingP.SelectionLength = 0;
|
||||
this.tbTrailingP.SelectionStart = 0;
|
||||
this.tbTrailingP.Size = new System.Drawing.Size(30, 23);
|
||||
this.tbTrailingP.TabIndex = 9;
|
||||
this.tbTrailingP.Text = "1.0";
|
||||
this.tbTrailingP.UseSystemPasswordChar = false;
|
||||
//
|
||||
// materialLabel5
|
||||
//
|
||||
this.materialLabel5.AutoSize = true;
|
||||
this.materialLabel5.Depth = 0;
|
||||
this.materialLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
|
||||
this.materialLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel5.Location = new System.Drawing.Point(25, 229);
|
||||
this.materialLabel5.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel5.Name = "materialLabel5";
|
||||
this.materialLabel5.Size = new System.Drawing.Size(77, 18);
|
||||
this.materialLabel5.TabIndex = 8;
|
||||
this.materialLabel5.Text = "최고가 대비";
|
||||
//
|
||||
// materialLabel4
|
||||
//
|
||||
this.materialLabel4.AutoSize = true;
|
||||
this.materialLabel4.Depth = 0;
|
||||
this.materialLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
|
||||
this.materialLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel4.Location = new System.Drawing.Point(25, 144);
|
||||
this.materialLabel4.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel4.Name = "materialLabel4";
|
||||
this.materialLabel4.Size = new System.Drawing.Size(64, 18);
|
||||
this.materialLabel4.TabIndex = 7;
|
||||
this.materialLabel4.Text = "조건 횟수";
|
||||
//
|
||||
// materialLabel3
|
||||
//
|
||||
this.materialLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.materialLabel3.AutoSize = true;
|
||||
this.materialLabel3.Depth = 0;
|
||||
this.materialLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
|
||||
this.materialLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel3.Location = new System.Drawing.Point(6, 524);
|
||||
this.materialLabel3.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel3.Name = "materialLabel3";
|
||||
this.materialLabel3.Size = new System.Drawing.Size(162, 18);
|
||||
this.materialLabel3.TabIndex = 6;
|
||||
this.materialLabel3.Text = "Version : 2017.02.01.09";
|
||||
//
|
||||
// materialLabel2
|
||||
//
|
||||
this.materialLabel2.AutoSize = true;
|
||||
this.materialLabel2.Depth = 0;
|
||||
this.materialLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
|
||||
this.materialLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel2.Location = new System.Drawing.Point(152, 148);
|
||||
this.materialLabel2.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel2.Name = "materialLabel2";
|
||||
this.materialLabel2.Size = new System.Drawing.Size(21, 18);
|
||||
this.materialLabel2.TabIndex = 5;
|
||||
this.materialLabel2.Text = "회";
|
||||
//
|
||||
// tbBidCount
|
||||
//
|
||||
this.tbBidCount.Depth = 0;
|
||||
this.tbBidCount.Hint = "";
|
||||
this.tbBidCount.Location = new System.Drawing.Point(116, 144);
|
||||
this.tbBidCount.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbBidCount.Name = "tbBidCount";
|
||||
this.tbBidCount.PasswordChar = '\0';
|
||||
this.tbBidCount.SelectedText = "";
|
||||
this.tbBidCount.SelectionLength = 0;
|
||||
this.tbBidCount.SelectionStart = 0;
|
||||
this.tbBidCount.Size = new System.Drawing.Size(30, 23);
|
||||
this.tbBidCount.TabIndex = 4;
|
||||
this.tbBidCount.Text = "5";
|
||||
this.tbBidCount.UseSystemPasswordChar = false;
|
||||
//
|
||||
// materialLabel1
|
||||
//
|
||||
this.materialLabel1.AutoSize = true;
|
||||
this.materialLabel1.Depth = 0;
|
||||
this.materialLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 11F);
|
||||
this.materialLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel1.Location = new System.Drawing.Point(25, 29);
|
||||
this.materialLabel1.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel1.Name = "materialLabel1";
|
||||
this.materialLabel1.Size = new System.Drawing.Size(62, 18);
|
||||
this.materialLabel1.TabIndex = 3;
|
||||
this.materialLabel1.Text = "Account";
|
||||
//
|
||||
// btApply
|
||||
//
|
||||
this.btApply.AutoSize = true;
|
||||
this.btApply.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.btApply.Depth = 0;
|
||||
this.btApply.Location = new System.Drawing.Point(844, 483);
|
||||
this.btApply.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
||||
this.btApply.MinimumSize = new System.Drawing.Size(120, 36);
|
||||
this.btApply.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.btApply.Name = "btApply";
|
||||
this.btApply.Primary = false;
|
||||
this.btApply.Size = new System.Drawing.Size(120, 36);
|
||||
this.btApply.TabIndex = 2;
|
||||
this.btApply.Text = "적용하기";
|
||||
this.btApply.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.btApply.UseVisualStyleBackColor = true;
|
||||
this.btApply.Click += new System.EventHandler(this.btApply_Click);
|
||||
//
|
||||
// tbSubAccount
|
||||
//
|
||||
this.tbSubAccount.Depth = 0;
|
||||
this.tbSubAccount.Hint = "";
|
||||
this.tbSubAccount.Location = new System.Drawing.Point(154, 62);
|
||||
this.tbSubAccount.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbSubAccount.Name = "tbSubAccount";
|
||||
this.tbSubAccount.PasswordChar = '\0';
|
||||
this.tbSubAccount.SelectedText = "";
|
||||
this.tbSubAccount.SelectionLength = 0;
|
||||
this.tbSubAccount.SelectionStart = 0;
|
||||
this.tbSubAccount.Size = new System.Drawing.Size(25, 23);
|
||||
this.tbSubAccount.TabIndex = 1;
|
||||
this.tbSubAccount.Text = "10";
|
||||
this.tbSubAccount.UseSystemPasswordChar = false;
|
||||
//
|
||||
// cbAccount
|
||||
//
|
||||
this.cbAccount.FormattingEnabled = true;
|
||||
this.cbAccount.Location = new System.Drawing.Point(25, 62);
|
||||
this.cbAccount.Name = "cbAccount";
|
||||
this.cbAccount.Size = new System.Drawing.Size(121, 20);
|
||||
this.cbAccount.TabIndex = 0;
|
||||
//
|
||||
// lvItems
|
||||
//
|
||||
this.lvItems.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
@@ -496,7 +255,7 @@
|
||||
//
|
||||
// chMaxPrice
|
||||
//
|
||||
this.chMaxPrice.Text = "매수후최고가";
|
||||
this.chMaxPrice.Text = "최고가";
|
||||
this.chMaxPrice.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
//
|
||||
// chCheckCount
|
||||
@@ -504,6 +263,15 @@
|
||||
this.chCheckCount.Text = "조건횟수";
|
||||
this.chCheckCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
//
|
||||
// tbLog
|
||||
//
|
||||
this.tbLog.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tbLog.Location = new System.Drawing.Point(0, 0);
|
||||
this.tbLog.Name = "tbLog";
|
||||
this.tbLog.Size = new System.Drawing.Size(804, 151);
|
||||
this.tbLog.TabIndex = 0;
|
||||
this.tbLog.Text = "";
|
||||
//
|
||||
// lvCurPrice
|
||||
//
|
||||
this.lvCurPrice.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
@@ -542,6 +310,239 @@
|
||||
this.chBidCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
||||
this.chBidCount.Width = 75;
|
||||
//
|
||||
// btUpdate
|
||||
//
|
||||
this.btUpdate.AutoSize = true;
|
||||
this.btUpdate.Depth = 0;
|
||||
this.btUpdate.Location = new System.Drawing.Point(74, 3);
|
||||
this.btUpdate.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.btUpdate.Name = "btUpdate";
|
||||
this.btUpdate.Primary = true;
|
||||
this.btUpdate.Size = new System.Drawing.Size(68, 28);
|
||||
this.btUpdate.TabIndex = 3;
|
||||
this.btUpdate.Text = "Update";
|
||||
this.btUpdate.UseVisualStyleBackColor = true;
|
||||
this.btUpdate.Click += new System.EventHandler(this.btUpdate_Click);
|
||||
//
|
||||
// btCybos
|
||||
//
|
||||
this.btCybos.AutoSize = true;
|
||||
this.btCybos.Depth = 0;
|
||||
this.btCybos.Location = new System.Drawing.Point(3, 3);
|
||||
this.btCybos.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.btCybos.Name = "btCybos";
|
||||
this.btCybos.Primary = true;
|
||||
this.btCybos.Size = new System.Drawing.Size(66, 28);
|
||||
this.btCybos.TabIndex = 3;
|
||||
this.btCybos.Text = "Cybos";
|
||||
this.btCybos.UseVisualStyleBackColor = true;
|
||||
this.btCybos.Click += new System.EventHandler(this.btCybos_Click);
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.BackColor = System.Drawing.Color.White;
|
||||
this.tabPage2.Controls.Add(this.materialLabel7);
|
||||
this.tabPage2.Controls.Add(this.tbTrailingCnt);
|
||||
this.tabPage2.Controls.Add(this.materialLabel6);
|
||||
this.tabPage2.Controls.Add(this.tbTrailingP);
|
||||
this.tabPage2.Controls.Add(this.materialLabel5);
|
||||
this.tabPage2.Controls.Add(this.materialLabel4);
|
||||
this.tabPage2.Controls.Add(this.materialLabel3);
|
||||
this.tabPage2.Controls.Add(this.materialLabel2);
|
||||
this.tabPage2.Controls.Add(this.tbBidCount);
|
||||
this.tabPage2.Controls.Add(this.materialLabel1);
|
||||
this.tabPage2.Controls.Add(this.btApply);
|
||||
this.tabPage2.Controls.Add(this.tbSubAccount);
|
||||
this.tabPage2.Controls.Add(this.cbAccount);
|
||||
this.tabPage2.Location = new System.Drawing.Point(4, 22);
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.tabPage2.Size = new System.Drawing.Size(1060, 546);
|
||||
this.tabPage2.TabIndex = 1;
|
||||
this.tabPage2.Text = "Preference";
|
||||
//
|
||||
// materialLabel7
|
||||
//
|
||||
this.materialLabel7.AutoSize = true;
|
||||
this.materialLabel7.Depth = 0;
|
||||
this.materialLabel7.Font = new System.Drawing.Font("Roboto", 11F);
|
||||
this.materialLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel7.Location = new System.Drawing.Point(224, 229);
|
||||
this.materialLabel7.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel7.Name = "materialLabel7";
|
||||
this.materialLabel7.Size = new System.Drawing.Size(20, 19);
|
||||
this.materialLabel7.TabIndex = 12;
|
||||
this.materialLabel7.Text = "회";
|
||||
//
|
||||
// tbTrailingCnt
|
||||
//
|
||||
this.tbTrailingCnt.Depth = 0;
|
||||
this.tbTrailingCnt.Hint = "";
|
||||
this.tbTrailingCnt.Location = new System.Drawing.Point(188, 225);
|
||||
this.tbTrailingCnt.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbTrailingCnt.Name = "tbTrailingCnt";
|
||||
this.tbTrailingCnt.PasswordChar = '\0';
|
||||
this.tbTrailingCnt.SelectedText = "";
|
||||
this.tbTrailingCnt.SelectionLength = 0;
|
||||
this.tbTrailingCnt.SelectionStart = 0;
|
||||
this.tbTrailingCnt.Size = new System.Drawing.Size(30, 23);
|
||||
this.tbTrailingCnt.TabIndex = 11;
|
||||
this.tbTrailingCnt.Text = "2";
|
||||
this.tbTrailingCnt.UseSystemPasswordChar = false;
|
||||
//
|
||||
// materialLabel6
|
||||
//
|
||||
this.materialLabel6.AutoSize = true;
|
||||
this.materialLabel6.Depth = 0;
|
||||
this.materialLabel6.Font = new System.Drawing.Font("Roboto", 11F);
|
||||
this.materialLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel6.Location = new System.Drawing.Point(152, 229);
|
||||
this.materialLabel6.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel6.Name = "materialLabel6";
|
||||
this.materialLabel6.Size = new System.Drawing.Size(20, 19);
|
||||
this.materialLabel6.TabIndex = 10;
|
||||
this.materialLabel6.Text = "%";
|
||||
//
|
||||
// tbTrailingP
|
||||
//
|
||||
this.tbTrailingP.Depth = 0;
|
||||
this.tbTrailingP.Hint = "";
|
||||
this.tbTrailingP.Location = new System.Drawing.Point(116, 225);
|
||||
this.tbTrailingP.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbTrailingP.Name = "tbTrailingP";
|
||||
this.tbTrailingP.PasswordChar = '\0';
|
||||
this.tbTrailingP.SelectedText = "";
|
||||
this.tbTrailingP.SelectionLength = 0;
|
||||
this.tbTrailingP.SelectionStart = 0;
|
||||
this.tbTrailingP.Size = new System.Drawing.Size(30, 23);
|
||||
this.tbTrailingP.TabIndex = 9;
|
||||
this.tbTrailingP.Text = "1.0";
|
||||
this.tbTrailingP.UseSystemPasswordChar = false;
|
||||
//
|
||||
// materialLabel5
|
||||
//
|
||||
this.materialLabel5.AutoSize = true;
|
||||
this.materialLabel5.Depth = 0;
|
||||
this.materialLabel5.Font = new System.Drawing.Font("Roboto", 11F);
|
||||
this.materialLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel5.Location = new System.Drawing.Point(25, 229);
|
||||
this.materialLabel5.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel5.Name = "materialLabel5";
|
||||
this.materialLabel5.Size = new System.Drawing.Size(68, 19);
|
||||
this.materialLabel5.TabIndex = 8;
|
||||
this.materialLabel5.Text = "최고가 대비";
|
||||
//
|
||||
// materialLabel4
|
||||
//
|
||||
this.materialLabel4.AutoSize = true;
|
||||
this.materialLabel4.Depth = 0;
|
||||
this.materialLabel4.Font = new System.Drawing.Font("Roboto", 11F);
|
||||
this.materialLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel4.Location = new System.Drawing.Point(25, 144);
|
||||
this.materialLabel4.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel4.Name = "materialLabel4";
|
||||
this.materialLabel4.Size = new System.Drawing.Size(57, 19);
|
||||
this.materialLabel4.TabIndex = 7;
|
||||
this.materialLabel4.Text = "조건 횟수";
|
||||
//
|
||||
// materialLabel3
|
||||
//
|
||||
this.materialLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.materialLabel3.AutoSize = true;
|
||||
this.materialLabel3.Depth = 0;
|
||||
this.materialLabel3.Font = new System.Drawing.Font("Roboto", 11F);
|
||||
this.materialLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel3.Location = new System.Drawing.Point(6, 524);
|
||||
this.materialLabel3.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel3.Name = "materialLabel3";
|
||||
this.materialLabel3.Size = new System.Drawing.Size(165, 19);
|
||||
this.materialLabel3.TabIndex = 6;
|
||||
this.materialLabel3.Text = "Version : 2017.02.07.09";
|
||||
//
|
||||
// materialLabel2
|
||||
//
|
||||
this.materialLabel2.AutoSize = true;
|
||||
this.materialLabel2.Depth = 0;
|
||||
this.materialLabel2.Font = new System.Drawing.Font("Roboto", 11F);
|
||||
this.materialLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel2.Location = new System.Drawing.Point(152, 148);
|
||||
this.materialLabel2.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel2.Name = "materialLabel2";
|
||||
this.materialLabel2.Size = new System.Drawing.Size(20, 19);
|
||||
this.materialLabel2.TabIndex = 5;
|
||||
this.materialLabel2.Text = "회";
|
||||
//
|
||||
// tbBidCount
|
||||
//
|
||||
this.tbBidCount.Depth = 0;
|
||||
this.tbBidCount.Hint = "";
|
||||
this.tbBidCount.Location = new System.Drawing.Point(116, 144);
|
||||
this.tbBidCount.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbBidCount.Name = "tbBidCount";
|
||||
this.tbBidCount.PasswordChar = '\0';
|
||||
this.tbBidCount.SelectedText = "";
|
||||
this.tbBidCount.SelectionLength = 0;
|
||||
this.tbBidCount.SelectionStart = 0;
|
||||
this.tbBidCount.Size = new System.Drawing.Size(30, 23);
|
||||
this.tbBidCount.TabIndex = 4;
|
||||
this.tbBidCount.Text = "5";
|
||||
this.tbBidCount.UseSystemPasswordChar = false;
|
||||
//
|
||||
// materialLabel1
|
||||
//
|
||||
this.materialLabel1.AutoSize = true;
|
||||
this.materialLabel1.Depth = 0;
|
||||
this.materialLabel1.Font = new System.Drawing.Font("Roboto", 11F);
|
||||
this.materialLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
|
||||
this.materialLabel1.Location = new System.Drawing.Point(25, 29);
|
||||
this.materialLabel1.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.materialLabel1.Name = "materialLabel1";
|
||||
this.materialLabel1.Size = new System.Drawing.Size(65, 19);
|
||||
this.materialLabel1.TabIndex = 3;
|
||||
this.materialLabel1.Text = "Account";
|
||||
//
|
||||
// btApply
|
||||
//
|
||||
this.btApply.AutoSize = true;
|
||||
this.btApply.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.btApply.Depth = 0;
|
||||
this.btApply.Location = new System.Drawing.Point(844, 483);
|
||||
this.btApply.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
|
||||
this.btApply.MinimumSize = new System.Drawing.Size(120, 36);
|
||||
this.btApply.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.btApply.Name = "btApply";
|
||||
this.btApply.Primary = false;
|
||||
this.btApply.Size = new System.Drawing.Size(120, 36);
|
||||
this.btApply.TabIndex = 2;
|
||||
this.btApply.Text = "적용하기";
|
||||
this.btApply.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.btApply.UseVisualStyleBackColor = true;
|
||||
this.btApply.Click += new System.EventHandler(this.btApply_Click);
|
||||
//
|
||||
// tbSubAccount
|
||||
//
|
||||
this.tbSubAccount.Depth = 0;
|
||||
this.tbSubAccount.Hint = "";
|
||||
this.tbSubAccount.Location = new System.Drawing.Point(154, 62);
|
||||
this.tbSubAccount.MouseState = MaterialSkin.MouseState.HOVER;
|
||||
this.tbSubAccount.Name = "tbSubAccount";
|
||||
this.tbSubAccount.PasswordChar = '\0';
|
||||
this.tbSubAccount.SelectedText = "";
|
||||
this.tbSubAccount.SelectionLength = 0;
|
||||
this.tbSubAccount.SelectionStart = 0;
|
||||
this.tbSubAccount.Size = new System.Drawing.Size(25, 23);
|
||||
this.tbSubAccount.TabIndex = 1;
|
||||
this.tbSubAccount.Text = "10";
|
||||
this.tbSubAccount.UseSystemPasswordChar = false;
|
||||
//
|
||||
// cbAccount
|
||||
//
|
||||
this.cbAccount.FormattingEnabled = true;
|
||||
this.cbAccount.Location = new System.Drawing.Point(25, 62);
|
||||
this.cbAccount.Name = "cbAccount";
|
||||
this.cbAccount.Size = new System.Drawing.Size(121, 20);
|
||||
this.cbAccount.TabIndex = 0;
|
||||
//
|
||||
// AutoSeller
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
@@ -549,6 +550,7 @@
|
||||
this.ClientSize = new System.Drawing.Size(1074, 690);
|
||||
this.Controls.Add(this.materialTabSelector1);
|
||||
this.Controls.Add(this.materialTabControl1);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "AutoSeller";
|
||||
this.Text = "AutoSeller";
|
||||
this.materialTabControl1.ResumeLayout(false);
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace AutoSellerNS
|
||||
|
||||
m_CybosHelper = new CybosHelper(this);
|
||||
|
||||
m_iCurPricePanelWith = splitContainer2.Panel2.Width;
|
||||
m_iCurPricePanelWith = 240;
|
||||
|
||||
var materialSkinManager = MaterialSkinManager.Instance;
|
||||
materialSkinManager.AddFormToManage(this);
|
||||
@@ -97,9 +97,9 @@ namespace AutoSellerNS
|
||||
|
||||
private void splitContainer2_SizeChanged(object sender, EventArgs e)
|
||||
{
|
||||
//int iDist = Math.Min(Math.Max(splitContainer2.Width-m_iCurPricePanelWith, splitContainer2.Panel1MinSize), splitContainer2.Width-splitContainer2.Panel2MinSize);
|
||||
//if(iDist >= splitContainer2.Panel1MinSize && iDist <= splitContainer2.Width - splitContainer2.Panel2MinSize)
|
||||
// splitContainer2.SplitterDistance = iDist;
|
||||
int iDist = Math.Min(Math.Max(splitContainer2.Width-m_iCurPricePanelWith, splitContainer2.Panel1MinSize), splitContainer2.Width-splitContainer2.Panel2MinSize);
|
||||
if(iDist >= splitContainer2.Panel1MinSize && iDist <= splitContainer2.Width - splitContainer2.Panel2MinSize)
|
||||
splitContainer2.SplitterDistance = iDist;
|
||||
}
|
||||
|
||||
private void btCybos_Click(object sender, EventArgs e)
|
||||
@@ -112,7 +112,7 @@ namespace AutoSellerNS
|
||||
btUpdate.Enabled = true;
|
||||
btSell.Enabled = true;
|
||||
|
||||
btUpdate_Click(null, null);
|
||||
//btUpdate_Click(null, null);
|
||||
}
|
||||
|
||||
private void AddItem(ITEM Item)
|
||||
@@ -221,7 +221,7 @@ namespace AutoSellerNS
|
||||
return m_bSell;
|
||||
}
|
||||
|
||||
public void OnReceivedCurPrice(string strCode, int iPrice, int iMaxPrice, int iCheckCount)
|
||||
public void OnReceivedCurPrice(string strCode, int iPrice, int iMaxPrice, int iCheckCount, bool bReal)
|
||||
{
|
||||
ITEM Item = m_Items.FirstOrDefault(s => s.m_strCode == strCode);
|
||||
if (Item == default(ITEM))
|
||||
@@ -239,7 +239,7 @@ namespace AutoSellerNS
|
||||
if (row == default(ListViewItem))
|
||||
return;
|
||||
|
||||
row.SubItems[chCurPrice.Index].Text = string.Format("{0:n0}", Item.m_iCurPrice);
|
||||
row.SubItems[chCurPrice.Index].Text = string.Format("{0}{1:n0}", bReal?"":"*", Item.m_iCurPrice);
|
||||
row.SubItems[chAssessedValue.Index].Text = string.Format("{0:n0}", Item.m_iAssessedValue);
|
||||
row.SubItems[chYield.Index].Text = string.Format("{0:n2}", Item.m_dYield);
|
||||
row.SubItems[chMaxPrice.Index].Text = string.Format("{0:n0}", iMaxPrice);
|
||||
@@ -252,7 +252,7 @@ namespace AutoSellerNS
|
||||
if (row == default(ListViewItem))
|
||||
return;
|
||||
|
||||
row.SubItems[chCurPrice.Index].Text = string.Format("{0:n0}", Item.m_iCurPrice);
|
||||
row.SubItems[chCurPrice.Index].Text = string.Format("{0}{1:n0}", bReal?"":"*", Item.m_iCurPrice);
|
||||
row.SubItems[chAssessedValue.Index].Text = string.Format("{0:n0}", Item.m_iAssessedValue);
|
||||
row.SubItems[chYield.Index].Text = string.Format("{0:n2}", Item.m_dYield);
|
||||
row.SubItems[chMaxPrice.Index].Text = string.Format("{0:n0}", iMaxPrice);
|
||||
|
||||
@@ -62,6 +62,9 @@
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>icon.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MaterialSkin, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MaterialSkin.0.2.1\lib\MaterialSkin.dll</HintPath>
|
||||
@@ -200,6 +203,9 @@
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="icon.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>if NOT "$(ConfigurationName)" == "Release" (goto :nocopy)
|
||||
|
||||
6173
AutoSeller.resx
6173
AutoSeller.resx
File diff suppressed because it is too large
Load Diff
@@ -29,6 +29,7 @@ namespace AutoSellerNS
|
||||
|
||||
public void OnRecievedPrice()
|
||||
{
|
||||
bool bReal = (m_StockCur.GetHeaderValue(19) == '2');
|
||||
m_iCurPrice = m_StockCur.GetHeaderValue(13);
|
||||
if(m_iCurPrice > m_iMaxPrice)
|
||||
m_iTrailingCount = 0;
|
||||
@@ -37,26 +38,29 @@ namespace AutoSellerNS
|
||||
|
||||
int iAskPrice = m_StockCur.GetHeaderValue(7);
|
||||
int iBidPrice = m_StockCur.GetHeaderValue(8);
|
||||
if (m_iCurPrice <= iBidPrice)
|
||||
m_iCheckCount++;
|
||||
else
|
||||
m_iCheckCount = 0;
|
||||
if(bReal == true)
|
||||
{
|
||||
if(m_iCurPrice <= iBidPrice)
|
||||
m_iCheckCount++;
|
||||
else
|
||||
m_iCheckCount = 0;
|
||||
}
|
||||
|
||||
if(m_iCheckCount >= Config.GetBidCount() && m_Listener.IsSelling() == true)
|
||||
{
|
||||
m_CybosHelper.SellItem(m_strCode, m_iCurPrice, m_Listener.GetSellableCount(m_strCode));
|
||||
Util.Log(Util.LOG_TYPE.SELL, string.Format("[조건 완료 매도] {0} ({1}회)", m_strCodeName, Config.GetBidCount()));
|
||||
Util.Log(Util.LOG_TYPE.SELL, string.Format("[조건 완료 매도] {0} ({1}회) (현재가 {2:n0}원, 최고가 {3:n0}원)", m_strCodeName, Config.GetBidCount(), m_iCurPrice, m_iMaxPrice));
|
||||
}
|
||||
|
||||
if(m_iCurPrice < (m_iMaxPrice*(100.0f-Config.GetTrailingRate())/100.0f))
|
||||
if(bReal == true && m_iCurPrice < (m_iMaxPrice*(100.0f-Config.GetTrailingRate())/100.0f))
|
||||
m_iTrailingCount++;
|
||||
if(m_iTrailingCount >= Config.GetTrailingCnt() && m_Listener.IsSelling() == true)
|
||||
{
|
||||
m_CybosHelper.SellItem(m_strCode, m_iCurPrice, m_Listener.GetSellableCount(m_strCode));
|
||||
Util.Log(Util.LOG_TYPE.SELL, string.Format("[트레일링 매도] {0} ({1}% {2}회)", m_strCodeName, Config.GetTrailingRate(), Config.GetTrailingCnt()));
|
||||
Util.Log(Util.LOG_TYPE.SELL, string.Format("[트레일링 매도] {0} ({1}% {2}회) (현재가 {2:n0}원, 최고가 {3:n0}원)", m_strCodeName, Config.GetTrailingRate(), Config.GetTrailingCnt(), m_iCurPrice, m_iMaxPrice));
|
||||
}
|
||||
|
||||
m_Listener.OnReceivedCurPrice(m_strCode, m_iCurPrice, m_iMaxPrice, m_iCheckCount);
|
||||
m_Listener.OnReceivedCurPrice(m_strCode, m_iCurPrice, m_iMaxPrice, m_iCheckCount, bReal);
|
||||
}
|
||||
|
||||
public void OnReceivedCall()
|
||||
@@ -139,30 +143,38 @@ namespace AutoSellerNS
|
||||
|
||||
string strCodeList = "";
|
||||
|
||||
int iCount = m_6033.GetHeaderValue(7);
|
||||
for (int i = 0; i < iCount; i++)
|
||||
bool bContinue = true;
|
||||
while(bContinue == true)
|
||||
{
|
||||
AutoSeller.ITEM Item = new AutoSeller.ITEM();
|
||||
|
||||
Item.m_strCodeName = m_6033.GetDataValue(0, i);
|
||||
if(Item.m_strCodeName != "")
|
||||
int iCount = m_6033.GetHeaderValue(7);
|
||||
for(int i = 0; i < iCount; i++)
|
||||
{
|
||||
Item.m_strCode = m_6033.GetDataValue(12, i);
|
||||
Item.m_iItemCnt = m_6033.GetDataValue(7, i);
|
||||
Item.m_iAssessedValue = m_6033.GetDataValue(9, i);
|
||||
Item.m_iValuationGains = m_6033.GetDataValue(10, i);
|
||||
Item.m_dYield = m_6033.GetDataValue(11, i);
|
||||
Item.m_iAvailableQuantity = m_6033.GetDataValue(15, i);
|
||||
Item.m_dBookUnitPrice = m_6033.GetDataValue(17, i);
|
||||
Item.m_iProfitUnitPrice = m_6033.GetDataValue(18, i);
|
||||
Item.m_iSellableCnt = m_6033.GetDataValue(15, i);
|
||||
AutoSeller.ITEM Item = new AutoSeller.ITEM();
|
||||
|
||||
if(strCodeList.Length > 0)
|
||||
strCodeList += ",";
|
||||
strCodeList += Item.m_strCode;
|
||||
Item.m_strCodeName = m_6033.GetDataValue(0, i);
|
||||
if(Item.m_strCodeName != "")
|
||||
{
|
||||
Item.m_strCode = m_6033.GetDataValue(12, i);
|
||||
Item.m_iItemCnt = m_6033.GetDataValue(7, i);
|
||||
Item.m_iAssessedValue = m_6033.GetDataValue(9, i);
|
||||
Item.m_iValuationGains = m_6033.GetDataValue(10, i);
|
||||
Item.m_dYield = m_6033.GetDataValue(11, i);
|
||||
Item.m_iAvailableQuantity = m_6033.GetDataValue(15, i);
|
||||
Item.m_dBookUnitPrice = m_6033.GetDataValue(17, i);
|
||||
Item.m_iProfitUnitPrice = m_6033.GetDataValue(18, i);
|
||||
Item.m_iSellableCnt = m_6033.GetDataValue(15, i);
|
||||
|
||||
aItems.Add(Item);
|
||||
if(strCodeList.Length > 0)
|
||||
strCodeList += ",";
|
||||
strCodeList += Item.m_strCode;
|
||||
|
||||
aItems.Add(Item);
|
||||
}
|
||||
}
|
||||
|
||||
bContinue = (m_6033.Continue != 0);
|
||||
if(bContinue == true)
|
||||
m_6033.BlockRequest2(1);
|
||||
}
|
||||
|
||||
if (strCodeList.Length > 0)
|
||||
|
||||
2
Util.cs
2
Util.cs
@@ -88,7 +88,7 @@ namespace AutoSellerNS
|
||||
if(m_strLogFile == null)
|
||||
{
|
||||
string strToday = DateTime.Now.ToString("yyyy-MM-dd");
|
||||
m_strLogFile = GetLogPath()+"/"+strToday+".txt";
|
||||
m_strLogFile = GetLogPath()+"/AutoSellerLog-"+strToday+".txt";
|
||||
}
|
||||
|
||||
string strLogLevel = "["+enType+"] ";
|
||||
|
||||
Reference in New Issue
Block a user