You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using Estsh.Client.Base;
|
|
|
|
namespace Estsh.Client.StepLibrary
|
|
{
|
|
public class OutputStationCount : StepBase
|
|
{
|
|
private StepLibraryAPP _app = null;
|
|
|
|
int _terminalID = 0;
|
|
string _stationType = "";
|
|
string _SN = "";
|
|
|
|
/// <summary>
|
|
/// 执行工步操作
|
|
/// </summary>
|
|
/// <returns>执行结果</returns>
|
|
public override bool Do()
|
|
{
|
|
_app = new StepLibraryAPP(httpClient);
|
|
|
|
Action(this, new EventArgs());
|
|
|
|
_SN = Context["serial_number"].ToString();
|
|
_terminalID = Convert.ToInt32(Context["terminal_id"].ToString());
|
|
_stationType = Convert.ToString(Context["station_type"].ToString());
|
|
|
|
_app.InOutputStationCount(_SN, _terminalID);
|
|
|
|
Complate(this, new EventArgs());
|
|
|
|
return base.Do();
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.SuspendLayout();
|
|
//
|
|
// ModifyBindinginFormation
|
|
//
|
|
this.Name = "OutputStationCount";
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
}
|
|
}
|