ImageVerifierCode 换一换
格式:DOCX , 页数:161 ,大小:45.01KB ,
资源ID:26195243      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/26195243.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(1空调温度控制软件源代码资料.docx)为本站会员(b****7)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

1空调温度控制软件源代码资料.docx

1、1空调温度控制软件源代码资料/*/*软件首页 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Im

2、aging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Software / Moves the specified old index. / The old index. / The new index. public void Move(int oldIndex, int newIndex) this.MoveItem(oldIndex, newIndex); / Adds the range. / The items. public voi

3、d AddRange(params T items) this.BeginUpdate(); for (int i = 0; i items.Length; i+) this.Add(itemsi); this.EndUpdate(); / Begins the update. public void BeginUpdate() this.update+; / Ends the update. public void EndUpdate() this.EndUpdate(true); internal virtual void EndUpdate(bool notify) update-; i

4、f (update 0; protected override void InsertItem(int index, T item) base.InsertItem(index, item); this.OnPropertyChanged(Count); this.OnPropertyChanged(Item); this.OnCollectionChanged(NotifyCollectionChangedAction.Add, item, index); protected override void SetItem(int index, T item) T oldItem = basei

5、ndex; base.SetItem(index, item); this.OnPropertyChanged(Item); this.OnCollectionChanged(NotifyCollectionChangedAction.Replace, oldItem, item, index); protected override void RemoveItem(int index) T item = baseindex; base.RemoveItem(index); this.OnPropertyChanged(Count); this.OnPropertyChanged(Item);

6、 this.OnCollectionChanged(NotifyCollectionChangedAction.Remove, item, index); protected override void ClearItems() base.ClearItems(); this.OnPropertyChanged(Count); this.OnPropertyChanged(Item); this.OnCollectionChanged(NotifyCollectionChangedAction.Reset); protected virtual void MoveItem(int oldInd

7、ex, int newIndex) T item = baseoldIndex; base.RemoveItem(oldIndex); base.InsertItem(newIndex, item); this.OnPropertyChanged(Item); this.OnCollectionChanged(NotifyCollectionChangedAction.Move, item, newIndex, oldIndex); #endregion #region INotifyCollectionChanged Members public event NotifyCollection

8、ChangedEventHandler CollectionChanged; protected virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs args) if (this.CollectionChanged != null & update = 0) this.CollectionChanged(this, args); this.version+; private void OnCollectionChanged(NotifyCollectionChangedAction action) OnCollec

9、tionChanged(new NotifyCollectionChangedEventArgs(action); private void OnCollectionChanged(NotifyCollectionChangedAction action, object item, int index) OnCollectionChanged(new NotifyCollectionChangedEventArgs(action, item, index); private void OnCollectionChanged(NotifyCollectionChangedAction actio

10、n, object oldItem, object item, int index) OnCollectionChanged(new NotifyCollectionChangedEventArgs(action, oldItem, item, index); #endregion #region INotifyPropertyChanged Members public event PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged(PropertyChangedEvent

11、Args e) if (this.PropertyChanged != null) this.PropertyChanged(this, e); protected void OnPropertyChanged(string propertyName) this.OnPropertyChanged(new PropertyChangedEventArgs(propertyName); #endregion /*/*校准设置 类/*/using System;using System.Collections.Generic;using System.Linq;using System.Text;

12、using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Imaging;using System.Windows.Navigation;using System.Windows.Shapes;using System.IO;public partial class Calibr

13、ation settings / Base class for all layers. public abstract class MapLayer : ItemsControl, ILayer / Identifies the BaseZoomLevel dependency property. public static readonly DependencyProperty BaseZoomLevelProperty = DependencyProperty.RegisterAttached( BaseZoomLevel, typeof(double), typeof(MapLayer)

14、, new PropertyMetadata(double.NaN, new PropertyChangedCallback(LocationChangedHandler); / Identifies the HotSpot dependency property. public static readonly DependencyProperty HotSpotProperty = DependencyProperty.RegisterAttached( HotSpot, typeof(HotSpot), typeof(MapLayer), new PropertyMetadata(null

15、, new PropertyChangedCallback(LocationChangedHandler); / Identifies the GeographicalSize dependency property. public static readonly DependencyProperty GeographicalSizeProperty = DependencyProperty.RegisterAttached( GeographicalSize, typeof(Location), typeof(MapLayer), new PropertyMetadata(Location.

16、Empty, new PropertyChangedCallback(GeographicalSizeChangedHandler); / Identifies the Location dependency property. public static readonly DependencyProperty LocationProperty = DependencyProperty.RegisterAttached( Location, typeof(Location), typeof(MapLayer), new PropertyMetadata(Location.Empty, new

17、PropertyChangedCallback(LocationChangedHandler); / Identifies the MaxScale dependency property. public static readonly DependencyProperty MaxScaleProperty = DependencyProperty.RegisterAttached( MaxScale, typeof(double), typeof(MapLayer), new PropertyMetadata(double.NaN, new PropertyChangedCallback(L

18、ocationChangedHandler); / Identifies the MinScale dependency property. public static readonly DependencyProperty MinScaleProperty = DependencyProperty.RegisterAttached( MinScale, typeof(double), typeof(MapLayer), new PropertyMetadata(double.NaN, new PropertyChangedCallback(LocationChangedHandler); /

19、 Identifies the ZoomRange dependency property. public static readonly DependencyProperty ZoomRangeProperty = DependencyProperty.RegisterAttached( ZoomRange, typeof(ZoomRange), typeof(MapLayer), new PropertyMetadata(ZoomRange.Empty, new PropertyChangedCallback(LocationChangedHandler); private WeakRef

20、erence mapControl = null; / Initializes a new instance of the MapLayer class. protected MapLayer() this.Loaded += new RoutedEventHandler(this.BaseLayer_Loaded); / Gets or sets map control this layer belongs to. public RadMap MapControl get if (this.mapControl != null & this.mapControl.IsAlive) retur

21、n this.mapControl.Target as RadMap; else return null; set RadMap oldMap = null; if (this.mapControl != null & this.mapControl.IsAlive) oldMap = this.mapControl.Target as RadMap; this.mapControl = value != null ? new WeakReference(value) : null; this.OnMapChanged(oldMap, value); / Gets value of the a

22、ttachable BaseZoomLevel property. / The BaseZoomLevel affect FrameworkElements (except MapShape based ones.) / It specify zoom level where framework element in the information layer / have ScaleTransform with scale = 1. If this property is set, then / scale transformation will be applied to the fram

23、ework element when / we zoom in/out map control. / Element to get value of the property from. / Value of the BaseZoomLevel property. public static double GetBaseZoomLevel(DependencyObject element) return (double)element.GetValue(BaseZoomLevelProperty); / Gets value of the attachable HotSpot property

24、. / Element to get value of the property from. / Value of the HotSpot property. public static HotSpot GetHotSpot(DependencyObject element) return (HotSpot)element.GetValue(HotSpotProperty); / Gets value of the attachable GeographicalSize property. / Element to get value of the property from. / Value

25、 of the GeographicalSize property. public static Location GetGeographicalSize(DependencyObject element) return (Location)element.GetValue(GeographicalSizeProperty); / Gets value of the attachable Location property. / Element to get value of the property from. / Value of the Location property. public

26、 static Location GetLocation(DependencyObject element) return (Location)element.GetValue(LocationProperty); / Gets value of the attachable MaxScale property. / The MaxScale affect FrameworkElements (except MapShape based ones.) / It specify maximum scale factor which will be applied to the framework element when / it has BaseZoomLevel property set and we zoom in map control. / Element to get value of the property from. / Value of the MaxScale property. pub

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1