예제 #1
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);
     }
 }
예제 #2
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);
     }
 }
예제 #3
0
        private void btnWaitStateWrite_Click(object sender, EventArgs e)
        {
            if (cbWaitStateAnimation.SelectedIndex > -1 && cbWaitStateColor.SelectedIndex > -1)
            {
                ushort[] value = new ushort[2];
                value[0] = Convert.ToUInt16(cbWaitStateAnimation.SelectedIndex);
                value[1] = Convert.ToUInt16(cbWaitStateColor.SelectedIndex);

                lamba.lambaDefualtWaitStateWrite(value[0], value[1]);

                status.StatusUpdate(cGenel.WAIT_STATE_ANIMATION_ID, value[0]);
                status.StatusUpdate(cGenel.WAIT_STATE_COLOR_ID, value[1]);

                status.statusColorAta();
            }
        }