Ejemplo n.º 1
0
 public Quality(short code)
 {
     this.m_qualityBits = ((qualityBits)code) & (qualityBits.goodLocalOverride | qualityBits.badWaitingForInitialData | qualityBits.badConfigurationError);
     this.m_limitBits   = ((limitBits)code) & limitBits.constant;
     this.m_vendorBits  = (byte)((code & -253) >> 8);
 }
Ejemplo n.º 2
0
 public OPCQuality() {
     this.qualityFieldField = qualityBits.good;
     this.limitFieldField = limitBits.none;
     this.vendorFieldField = ((byte)(0));
 }
Ejemplo n.º 3
0
 public Quality(qualityBits quality)
 {
     this.m_qualityBits = quality;
     this.m_limitBits   = limitBits.none;
     this.m_vendorBits  = 0;
 }