Beispiel #1
0
 public MapPage()
 {
     InitializeComponent();
     gps = new GetGps();
     StartPosition();
     gps.PositionChangedEventArgs += PositionChanged;
 }
Beispiel #2
0
 private void ConfForm_Load(object sender, EventArgs e)
 {
     COMM2Set.DataSource    = Enum.GetValues(typeof(SourceDataClass.DeviceAddr));
     COMM3Set.DataSource    = Enum.GetValues(typeof(SourceDataClass.DeviceAddr));
     EmitTypeBox.DataSource = Enum.GetValues(typeof(SourceDataClass.EmitType));
     NetCheck.SelectedIndex = 0;
     GetGps.PerformClick();
 }
Beispiel #3
0
    private void Start()

    {
        Instance = this;

#if UNITY_EDITOR
#else
        StartCoroutine(StartLocationService());
#endif
    }