You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
53 lines
1.7 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Data;
|
|
using System.Windows.Documents;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
using System.Windows.Media.Imaging;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace SiaSun.LMS.WPFClient.TASK
|
|
{
|
|
/// <summary>
|
|
/// STOCK_MODE.xaml 的交互逻辑
|
|
/// </summary>
|
|
public partial class STOCK_MODE : AvalonDock.DocumentContent
|
|
{
|
|
public STOCK_MODE()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void btnConfirm_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
string sql = string.Format(@"update SHOW_MAIN SET SHOW_STATION='0' WHERE SHOW_ID=7");
|
|
MainApp._I_BaseService.ExecuteNonQuery_ReturnVoid(sql);
|
|
}
|
|
|
|
private void btnRefresh_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
string sql = string.Format(@"update SHOW_MAIN SET SHOW_STATION='1' WHERE SHOW_ID=7");
|
|
MainApp._I_BaseService.ExecuteNonQuery_ReturnVoid(sql);
|
|
}
|
|
private void btnConfirm_Click_1(object sender, RoutedEventArgs e)
|
|
{
|
|
string sql = string.Format(@"update SHOW_MAIN SET SHOW_STATION='0' WHERE SHOW_ID=7");
|
|
text1.Text = "当前模式:空盘入库模式";
|
|
MainApp._I_BaseService.ExecuteNonQuery_ReturnVoid(sql);
|
|
}
|
|
|
|
private void btnRefresh_Click_1(object sender, RoutedEventArgs e)
|
|
{
|
|
string sql = string.Format(@"update SHOW_MAIN SET SHOW_STATION='1' WHERE SHOW_ID=7");
|
|
text1.Text = "当前模式:实料入库模式";
|
|
MainApp._I_BaseService.ExecuteNonQuery_ReturnVoid(sql);
|
|
}
|
|
|
|
|
|
}
|
|
}
|