예제 #1
0
 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);
     }
 }
예제 #2
0
 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);
     }
 }
예제 #3
0
        //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);
        }