Inheritance: MonoBehaviour
Esempio n. 1
0
 private void OnFromStartChanged(FromStart value)
 {
     if (this.FromStartChanged == null)
     {
         return;
     }
     this.FromStartChanged((object)this, new FromStartEventArg(value));
 }
Esempio n. 2
0
 public FromStartEventArg(FromStart value)
 {
     this.value = value;
 }
Esempio n. 3
0
 private void OnFromStartChanged(FromStart value)
 {
     if (this.FromStartChanged == null)
         return;
     this.FromStartChanged((object)this, new FromStartEventArg(value));
 }
Esempio n. 4
0
 public FromStartEventArg(FromStart value)
 {
     this.value = value;
 }
Esempio n. 5
0
 public void SetFromStart(FromStart value)
 {
     try
     {
         lock (syncThread)
             registers["RegSeqConfig1"].Value = (uint)(byte)((uint)(byte)((uint)(byte)registers["RegSeqConfig1"].Value & 231U) | (uint)(byte)((uint)(byte)value << 3));
     }
     catch (Exception ex)
     {
         OnError((byte)1, ex.Message);
     }
 }
 public override string ToString()
 {
     return(string.Format("{0} ({1})", FromPrevious.ToString(@"mm\:ss\.ffff"), FromStart.ToString(@"mm\:ss\.ffff")));
 }