public void lambaDefualtJobStateReworkWrite(ushort animationID, ushort colorID) { try { cStatus status = new cStatus(); status.StatusUpdate(cGenel.JOB_STATE_REWORK_STATUS_ANIMATION_ID, animationID); status.StatusUpdate(cGenel.JOB_STATE_REWORK_STATUS_COLOR_ID, colorID); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void lambaDefualtJobStateReworkDefaultStateWrite() { try { cStatus status = new cStatus(); status.StatusUpdate(cGenel.JOB_STATE_REWORK_STATUS_ANIMATION_ID, 1); status.StatusUpdate(cGenel.JOB_STATE_REWORK_STATUS_COLOR_ID, 2); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
//job state Rework public ushort[] lambaDefualtJobStateReworkRead() { ushort[] value2 = new ushort[2]; try { cStatus status = new cStatus(); value2[0] = status.StatusQuery(cGenel.JOB_STATE_REWORK_STATUS_ANIMATION_ID); value2[1] = status.StatusQuery(cGenel.JOB_STATE_REWORK_STATUS_COLOR_ID); } catch (Exception ex) { MessageBox.Show(ex.Message); } return(value2); }