전체 글
-
SecsDrv_S2F18 and S2F101 processing exampleIT Story/C# & WPF 2022. 7. 3. 17:34
private void PSecsDrv_S2F18() { try { this.m_Info.Set_ReceiveHostSF("S2F18"); } catch (Exception ex) { this.m_Info.Set_Log(Common.EnuCommon.LogType.CIM, "", ex.ToString()); } } private void S2F18() { string dstrData = string.Empty; try { if (this.m_Info.All.HostConnect == false) return; if (funACTSECSAort_Send(this.PSecsDrv.S2F17.Header) == true) return; dstrData = this.PSecsDrv.S2F18.TIME.Trim(..
-
SECS S1F15 and S1F17 processing example sourceIT Story/C# & WPF 2022. 7. 3. 17:34
/// /// Host로부터 Offline 요청을 받는다. /// /// 2006/11/01 [Ver 00] private void PSecsDrv_S1F15() { try { this.m_Info.Set_ReceiveHostSF("S1F15"); } catch (Exception ex) { this.m_Info.Set_Log(Common.EnuCommon.LogType.CIM, "", ex.ToString()); } } private void S1F15() { int dintACK = 0; try { //subReplyTrue(); //Reply가 들어왔음을 저장 if (this.m_Info.All.HostConnect == false) return; if (this.m_Info.All.ControlS..
-
SECS event sending/receiving exampleIT Story/C# & WPF 2022. 7. 3. 17:33
/// /// Host로부터 S1F1을 수신하였을때(S1F1수신 후 S1F2 송신) /// HOST에서 장비가 살아있는지 확인용임. /// /// 2006/11/01 [Ver 00] private void PSecsDrv_AreYouThere() { try { this.m_Info.Set_ReceiveHostSF("S1F1"); } catch (Exception ex) { this.m_Info.Set_Log(Common.EnuCommon.LogType.CIM, "", ex.ToString()); } } private void S1F1() { string sControlState = string.Empty; try { s_ReplyTrue(); //Reply가 들어왔음을 저장 if (this.m_Info...
-
SECS Error Handling Method ExamplesIT Story/C# & WPF 2022. 7. 3. 17:32
/// /// Occurred when a primary SECS message is aborted by the equipment and there is no corresponding about SECS message defined. /// /// The reference to the object of SEComPlugIn. /// The header object of received SECSMessage. /// The Header object of SECSMessage that has been aborted. /// The DataBlock object of SECSMessage that has been aborted. /// If related SECSMessage has header only, i..
-
Example of handling code when receiving PortStatusChangeIT Story/C# & WPF 2022. 7. 3. 17:32
private void s_PortStatusChange(string sACTVal) { try { switch (sACTVal) { case "LR": //LR this.m_Info.Port(1).StatusBak = this.m_Info.Port(1).Status; this.m_Info.Port(1).Initial(this.m_Info.Port(1).CSTColCount, this.m_Info.Port(1).CSTRowCount); //EQP에서 Load Request 받았을 때 this.m_Info.Port(1).Status = Structure.classStructure.PortStatus.LDRQ; this.m_Info.Set_SendSF(Structure.classStructure.SFName..
-
S6F11Related Send processing example sourceIT Story/C# & WPF 2022. 7. 3. 17:31
private void Send_S6F11RelatedJOBEvent(object objSF) { try { if (this.m_Info.All.ControlState == Structure.classStructure.ControlState.OFFLINE || this.m_Info.All.HostConnect == false) return; //형변환을 명시적으로 한다. SEC_6C.CS6F11RelatedJOBEventClass dclsSF = (SEC_6C.CS6F11RelatedJOBEventClass)objSF; this.PSecsDrv.S6F11RelatedJOBEvent.CopyMessage(dclsSF); this.PSecsDrv.S6F11RelatedJOBEvent.Request(); } ..
-
SecsDrv_S3F101 GLSINFO processing example sourceIT Story/C# & WPF 2022. 7. 3. 17:30
private void PSecsDrv_S3F101GLSINFO() { try { this.m_Info.Set_ReceiveHostSF("S3F101GLSINFO"); } catch (Exception ex) { this.m_Info.Set_Log(Common.EnuCommon.LogType.CIM, "", ex.ToString()); } } private void S3F101LotInformation() { int iGlassCount = 0; string sProcessID = string.Empty; string sPartID = string.Empty; string sStepID = string.Empty; string sGlassID = string.Empty; string sLOTAction ..
-
DB linkage instructor management example source implemented in C#IT Story 2022. 6. 23. 20:59
public void UpdateInfo_User() { if (this.intUserKey == 0) { this.InitMemberInfo(); } else { try { this.Cursor = Cursors.WaitCursor; DataTable tbl = PLAcaDBManager.UsersSelect(intUserKey); if (tbl != null && tbl.Rows.Count > 0) { foreach (DataRow dr in tbl.Rows) { switch (dr["Status"].ToString()) { case "재직": this.ucUserStatus1.VisibleStatusText = PLAcaManage.ucUserStatus.StatusText.Active; break..