Exemplo n.º 1
0
 private void btnInput_Click(object sender, EventArgs e)
 {   // 요입
     if (!GlobalUsage.WorkOrderNo.Equals("설정안됨"))
     {
         if (dgvGVList.SelectedRows.Count > 0)
         {
             GV_Current_StatusService service = new GV_Current_StatusService();
             if (service.UpdateGVIn(GlobalUsage.UserID, dgvGVList.SelectedRows[0].Cells[0].Value.ToString(), GlobalUsage.WorkOrderNo))
             {
                 Program.Log.WriteInfo($"{GlobalUsage.UserID}이(가) 작업지시({GlobalUsage.WorkOrderNo})에서 대차({dgvGVList.SelectedRows[0].Cells[0].Value.ToString()}) 요입에 성공하였음");
                 GetDatas();
             }
             else
             {
                 Program.Log.WriteInfo($"{GlobalUsage.UserID}이(가) 작업지시({GlobalUsage.WorkOrderNo})에서 대차({dgvGVList.SelectedRows[0].Cells[0].Value.ToString()}) 요입에 실패하였음");
                 MessageBox.Show("요입할 수 없는 대차 입니다.");
             }
         }
     }
     else
     {
         Program.Log.WriteInfo($"{GlobalUsage.UserID}이(가) 작업시작을 하지않고 대차 요입을 하려하였음");
         MessageBox.Show("작업을 시작해주세요");
     }
 }
Exemplo n.º 2
0
        private void GetDatas()
        {
            GV_Current_StatusService service = new GV_Current_StatusService();

            // 해당 작업지시에서 생성한 모든 대차
            dgvGVList.DataSource = service.GetGVCurrentStatus(workorderno: GlobalUsage.WorkOrderNo, gvStatus: "적재");
        }
Exemplo n.º 3
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            List <GVStatusVO>        list    = service.GetGVCurrentStatus(gvStatus: "적재", gvGroup: "소성그룹", gvName: txtSearch.TextBoxText);

            dgvBoxing.DataSource = (from gv in list
                                    where gv.Item_Code == GlobalUsage.ItemCode
                                    select gv).ToList();
        }
Exemplo n.º 4
0
        private void GetDatas()
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            List <GVStatusVO>        list    = service.GetGVCurrentStatus(gvStatus: "적재", gvGroup: "소성그룹");

            dgvBoxing.DataSource = (from gv in list
                                    where gv.Item_Code == GlobalUsage.ItemCode
                                    select gv).ToList();
        }
Exemplo n.º 5
0
        private void btnFromSearch_Click(object sender, EventArgs e)
        {   // 적재된 목록 검색
            GV_Current_StatusService service = new GV_Current_StatusService();
            List <GVStatusVO>        list    = service.GetGVCurrentStatus(gvGroup: "건조그룹", gvName: txtFromGVSearch.TextBoxText);

            dgvGVFrom.DataSource =
                (from item in list
                 where (item.GV_Status == "적재" || item.GV_Status == "언로딩") && item.Item_Code == GlobalUsage.ItemCode
                 select item).ToList();
        }
Exemplo n.º 6
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            List <GVStatusVO>        list    = service.GetGVCurrentStatus(gvStatus: "적재", gvGroup: "건조그룹", gvName: txtGVSearch.TextBoxText);

            dgvGVList.DataSource =
                (from gv in list
                 where gv.Unloading_Qty == null && gv.Loading_Qty != 0
                 select gv).ToList();
        }
Exemplo n.º 7
0
        private void GetDatas()
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            List <GVStatusVO>        list    = service.GetGVCurrentStatus(gvStatus: "적재", gvGroup: "건조그룹");

            dgvGVList.DataSource =
                (from gv in list
                 where gv.Unloading_Qty == null && gv.Loading_Qty != 0
                 select gv).ToList();
        }
Exemplo n.º 8
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            List <GVStatusVO>        list    = service.GetGVCurrentStatus(gvGroup: "소성그룹", gvName: txtGVSearch.TextBoxText);

            dgvGVList.DataSource =
                (from item in list
                 where (item.GV_Status == "적재" || item.GV_Status == "언로딩")
                 select item).ToList();
        }
Exemplo n.º 9
0
        private void GetDatas()
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            // TODO - 원래대로 변경하기
            //List<GVStatusVO> list = service.GetGVCurrentStatus(gvGroup: "소성그룹");
            List <GVStatusVO> list = service.GetGVCurrentStatus();

            dgvGVList.DataSource =
                (from item in list
                 where (item.GV_Status == "적재" || item.GV_Status == "언로딩")
                 select item).ToList();
        }
Exemplo n.º 10
0
        private void GetDatas()
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            // 해당 작업지시에서 생성한 모든 대차
            List <GVStatusVO> list = service.GetGVCurrentStatus(gvGroup: "건조그룹");

            dgvGVFrom.DataSource =
                (from item in list
                 where (item.GV_Status == "적재" || item.GV_Status == "언로딩") && item.Item_Code == GlobalUsage.ItemCode
                 select item).ToList();
            // 소성대차의 모든 빈대차를 가져온다.
            GV_MasterService mservice = new GV_MasterService();

            dgvGVTo.DataSource = mservice.GetGVs(gvStatus: "빈대차", gvGroup: "소성그룹");
        }
Exemplo n.º 11
0
        private void GetDatas()
        {
            GV_Current_StatusService service = new GV_Current_StatusService();
            // 해당 작업지시에서 생성한 모든 대차
            List <GVStatusVO> list = service.GetGVCurrentStatus(workorderno: GlobalUsage.WorkOrderNo, gvGroup: "성형그룹");

            dgvGVFrom.DataSource =
                (from gvs in list
                 where (gvs.GV_Status == "적재" || gvs.GV_Status == "언로딩")
                 select gvs).ToList();
            // 해당 작업장의 모든 빈대차를 가져온다.
            GV_MasterService mservice = new GV_MasterService();

            dgvGVTo.DataSource = mservice.GetGVs(gvStatus: "빈대차", gvGroup: "건조그룹");
        }
Exemplo n.º 12
0
        private void btnSearch_Click(object sender, EventArgs e)
        {
            GV_Current_StatusService service = new GV_Current_StatusService();

            dgvGVList.DataSource = service.GetGVCurrentStatus(workorderno: GlobalUsage.WorkOrderNo, gvStatus: "적재", gvName: txtGVSearch.TextBoxText);
        }
Exemplo n.º 13
0
        private void btnFromSearch_Click(object sender, EventArgs e)
        { // 검색
            GV_Current_StatusService service = new GV_Current_StatusService();

            dgvGVFrom.DataSource = service.GetGVCurrentStatus(workorderno: GlobalUsage.WorkOrderNo, gvStatus: "적재", gvName: txtFromGVSearch.TextBoxText, gvGroup: "성형그룹");
        }