Exemplo n.º 1
0
		private CheckState GetCheckState( PacketItem pi )
		{
			if ( !m_Checked[pi.Cmd] )
				return CheckState.Unchecked;
			else if ( pi.GetIndeterminate() )
				return CheckState.Indeterminate;
			else
				return CheckState.Checked;
		}
Exemplo n.º 2
0
 private CheckState GetCheckState(PacketItem pi)
 {
     if ((pi.ID == 0xBF && !m_CommandChecked[pi.Cmd]) || (pi.ID != 0xBF && !m_Checked[pi.ID]))
     {
         return(CheckState.Unchecked);
     }
     else if (pi.GetIndeterminate())
     {
         return(CheckState.Indeterminate);
     }
     else
     {
         return(CheckState.Checked);
     }
 }
Exemplo n.º 3
0
 private CheckState GetCheckState(PacketItem pi)
 {
     if (!m_Checked[pi.Cmd])
     {
         return(CheckState.Unchecked);
     }
     else if (pi.GetIndeterminate())
     {
         return(CheckState.Indeterminate);
     }
     else
     {
         return(CheckState.Checked);
     }
 }
Exemplo n.º 4
0
		private CheckState GetCheckState( PacketItem pi )
		{
			if ( !m_Checked[pi.Cmd] )
				return CheckState.Unchecked;
			else if ( pi.GetIndeterminate() )
				return CheckState.Indeterminate;
			else
				return CheckState.Checked;
		}